Results 1 to 8 of 8
I tried to install apache today on my Ubuntu server, the source came in a tar.gz package. To install it I did this:
Code:
tar xvzf httpd-2.2.11.tar.gz
cd httpd-2.2.11
sudo ...
- 02-20-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 10
Apache Problem
I tried to install apache today on my Ubuntu server, the source came in a tar.gz package. To install it I did this:
Everything went ok but not really sure its installed. No sign of it. How can I tell if its installed and how can i locate/use it? or did I not enter the right information?Code:tar xvzf httpd-2.2.11.tar.gz cd httpd-2.2.11 sudo ./configure sudo make sudo make install
thanks in advanced!
- 02-20-2009 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 10
help please
- 02-20-2009 #3Just Joined!
- Join Date
- Feb 2009
- Location
- USA
- Posts
- 21
Start the apache server if it is not started already...
orCode:apache2ctl start
you can configure you apache server atCode:/etc/init.d/apache2 start
Once you have started the server successfully you can check and see if it is working by navigating to your ip address in a browser. Please note that you server root by default in ubuntu is /var/www/.Code:/etc/apache2/httpd.conf
- 02-20-2009 #4Just Joined!
- Join Date
- Feb 2009
- Posts
- 10
i'm having another problem. I tried to edit the .conf. I opened its directory and clicked the file and it was blank. Then I tried to edit through the terminal.
error message:Code:/etc/apache2/httpd.conf
then I tried sudo and got the error message:Code:bash: /etc/apache2/httpd.conf: Permission denied
any ideas?Code:sudo: /etc/apache2/httpd.conf: command not found
- 02-20-2009 #5Just Joined!
- Join Date
- Feb 2009
- Location
- USA
- Posts
- 21
use the following commands inline...
Code:sudo -s <enter your password, if access is denied you are not a sudoer else continue with the commands> gedit /etc/apache2/httpd.conf <Edit the file as needed and save>
- 02-20-2009 #6Just Joined!
- Join Date
- Feb 2009
- Posts
- 10
Ok that worked thanks! but the file is blank. Do I need to manually add info or should there be text already there?
- 02-20-2009 #7Just Joined!
- Join Date
- Feb 2009
- Posts
- 10
help please
- 02-21-2009 #8Just Joined!
- Join Date
- Feb 2009
- Location
- USA
- Posts
- 21
which distribution of linux are you using...
if its not there it should probably be in etc itself...
Code:sudo -s gedit /etc/httpd.conf


Reply With Quote