How to install Apache on VPS [Newbie]

Discussion in 'Apache' started by Mackos, Mar 2, 2010.

  1. #1
    Hi!
    I just bought a VPS and I want to install Apache on it.
    Can you tell me how to do it ?
    I moved unpacked apache httdp folder to /usr/local/etc/
     
    Mackos, Mar 2, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Depends on the operating system that you have picked. Can you let us know what you are running?
     
    RHS-Chris, Mar 2, 2010 IP
  3. Mackos

    Mackos Well-Known Member

    Messages:
    364
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Yep, it's debian.
    Well I google a bit more and found some info on apache website :p
    I just stuck here:
     
    Last edited: Mar 2, 2010
    Mackos, Mar 2, 2010 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    It's asking you to edit (vi is an editor) the main httpd configuration file. Do you know where Apache was installed to?
     
    RHS-Chris, Mar 2, 2010 IP
  5. FavouritesBlog

    FavouritesBlog Peon

    Messages:
    846
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    install it via apt-get.....
     
    FavouritesBlog, Mar 2, 2010 IP
  6. Mackos

    Mackos Well-Known Member

    Messages:
    364
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    #6
    Yes I know. For now the biggest problem is what I have to change in httpd.conf ?
     
    Mackos, Mar 3, 2010 IP
  7. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #7
    Have you got it installed yet though? From your first post, you said you have unpacked it. Did you go through and install it though? If not, takes FavouritesBlog's advise, and install using apt-get.
     
    RHS-Chris, Mar 3, 2010 IP
  8. Mackos

    Mackos Well-Known Member

    Messages:
    364
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    #8
    yes I installed it, and now I don't know how to configure it

    When I'm trying to use command

    Then I see error:
     
    Last edited: Mar 3, 2010
    Mackos, Mar 3, 2010 IP
  9. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #9
    Configuration depends on what you are trying to have it do. Do you just want to server html pages from a folder? Does it start up right now without errors?
     
    RHS-Chris, Mar 3, 2010 IP
  10. Mackos

    Mackos Well-Known Member

    Messages:
    364
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    #10
    Yes , I want to host my sites there. Well now I see only "It works!" Info when I type http{my server ip} into browser.

    BTW later I want install cURL and IonCube Loader there ...
     
    Mackos, Mar 3, 2010 IP
  11. rootpanama

    rootpanama Guest

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    You can install curl using apt-get too and the ioncube installation is not hard to do just make sure that you already have PHP in your server.

    Check this quick guide and good luck :)

    hxxp://www.debianadmin.com/install-and-configure-apache2-with-php5-and-ssl-support-in-debian-etch.html
     
    rootpanama, Mar 4, 2010 IP
  12. Mackos

    Mackos Well-Known Member

    Messages:
    364
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    #12
    Thanks , that apt-get is nice , but ehen I'm installing apache2 I receive an error's
    What's wrong ?
     
    Mackos, Mar 5, 2010 IP