Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redhat 7.3, Apache, Mysql, php

Status
Not open for further replies.

G60corrado

Technical User
Jul 17, 2002
10
CA
O.K. I'm a little new to this but I hope someone can help. I'm trying to get a server running Apache, mysql and php. Redhat 7.3 comes with Apache and mysql installed. I can get them working. All the tutorials I find seem to assume I have none of these installed. Is there a way to get rid of them so I can follow a tutorial (ie devshed) from the start.
 
Can't you just pretend they are there until you get to the part where you start doing stuff with them? Red Hat installs its software from RPMs. These are precompiled binaries that have been tweaked for the RH distro. If you installed a GUI like KDE or Gnome, you can use GnoRPM and delete the packages. If not, you will need to use the command line and use "rpm -e package-name.rpm". What is it that you are trying to learn in the tutorials that you feel the need to delete everything to lean about it?
 
The main problem I'm finding is that a particular tutorial will say install something to a particular directory. But Redhat will have put it somewhere else, or the tutorial will say start program X by typing ... but there will be another way to do it with the pre installed version. I tried rpm -e packagename but I get errors about other programs having dependancies.
 
Are you trying to learn these 3 things or linux in general? Although most distros of linux use the same programs, they set them up in different directories. Most programs share libraries and other files so you will get a lot of dependancy errors when you try to delete anything. You can force the deletion using the --force option with rpm but if you are new to linux, you may end up with a real mess on your hands. If I were you, I would learn how to install programs using a program you don't plan on using much like a game or something. Then once you have that down, you can continue with the tutorial on how to use and configure apache, mysql and php. Most distros come with most of the options you will want already compiled in so you shouldn't have to do anything like that until you are more familiar with linux and the programs you need to tweak. Well I didn't mean to get preachy, sorry. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top