Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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:

    Code:
    tar xvzf httpd-2.2.11.tar.gz
    cd httpd-2.2.11
    sudo ./configure
    sudo make
    sudo make install
    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?

    thanks in advanced!

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Posts
    10

    Unhappy

    help please

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Location
    USA
    Posts
    21
    Start the apache server if it is not started already...
    Code:
    apache2ctl start
    or
    Code:
    /etc/init.d/apache2 start
    you can configure you apache server at
    Code:
    /etc/apache2/httpd.conf
    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/.

  4. $spacer_open
    $spacer_close
  5. #4
    Just 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.

    Code:
    /etc/apache2/httpd.conf
    error message:
    Code:
    bash: /etc/apache2/httpd.conf: Permission denied
    then I tried sudo and got the error message:
    Code:
    sudo: /etc/apache2/httpd.conf: command not found
    any ideas?

  6. #5
    Just 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>

  7. #6
    Just 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?

  8. #7
    Just Joined!
    Join Date
    Feb 2009
    Posts
    10
    help please

  9. #8
    Just 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •