Apache Install
Hello,
First time using this forum. Im trying to install apache on my linux redhat 7.2 machine. Now i cant seem to get it to work at all. They say in the book to type in apacheconf & and you can configue it. but i keeps telling me bad command or no such directory. Now whats the easiest way to install apache on my machine? Any thoughts tips??? Thanks in advanced pete |
First of all, ditch Redhat 7.2. You can download (or purchase) any of the current distros, and trust me--will be MUCH happier with them than you would with Redhat 7.2. That distro is about 4-5 years old right now, and will give you tons of hardware issues considering it won't have drivers, etc, for lots of current hardware. Also, there have been a bunch of security updates in the past 4-5 years that you would need to fix as well. So you'd be better served to just go with one of the current distros. I used Mandriva myself, but if you prefer to stick with "Redhat", then Fedora is your distro.
Choose Apache during the install (Fedora and Mandriva both have much better installers than what you saw on RH 7.2). But if you want to do it manually, then I recommend doing it from pkg (RPM) the first time or two to get the hang of it. In Mandriva I use URPMI to automatically download the package I want to install, plus all it's dependencies. URPMI then installs them for me. But you could just as easily head to rpmfind.net and download the package you want yourself, then install it. But you'd need to study the dependices carefully to make sure you download anything else the package needs. There can be quite a bit for Apache. I know this didn't specifically answer your question, but I see you having a lot of frustrating problems going down the path you're on. Better to get off now while the gettins good. |
You can run
Code:
find / -name apacheconf Code:
./apacheconf Using distribution scripts to configure software like Apache can get messy and sometimes screw up your installation. I would recommend editing the httpd.conf file directly. My first time around, it took me a day but I was able to get my website up by the end of it. There are some very good step-by-step tutorials on the Internet as well to get Apache working in a few simple steps. I would google phrases like "apache walkthrough" or "apache install." Here is a direct link showing you how to setup httpd.conf. Good luck! ;) http://www.mayukhbose.com/new-apache...acheconfig.php |
thanks
thanks for the help very good awnsers going to try today
|
problem
i ran everything you told me and i go to start the web server and i get this error:
error loading sharded libaries : libsasl2.so.2 ????/ have no idea what this is or how to obtain it did a search on machine not on machine> thanks |
The one agitating thing that you will first encounter when learning Linux is that dependencies can be a bitch. Sometimes to get one package to install, you need 6 other packages first. The file that you encountered is a library file for a package. In these situations, I usually strip the so.2 to get the package name (libsasl2.) I then google the package name to find out a place where I can download it. Since you are using RedHat, I would recommend sticking to RPM for the install of the package. Once you download the package, you can then run
Code:
rpm -i libsasl2*.rpm |
All times are GMT -5. The time now is 02:43 AM. |