1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help newbie setup vps

Discussion in 'General Programming Chat' started by uuhoever, Dec 5, 2012.

  1. uuhoever

    uuhoever Registered Member

    Joined:
    Sep 26, 2012
    Messages:
    88
    Likes Received:
    14
    I got a cheap vps for learning and hosting non-critical sites. I got lamp installed. My question is how do I go about setting new domains to host, FTP and mail?

    Everything is so easy on cpanel :) is there a easy SSH guide or something comparable to cpanel that it's free?
     
  2. mrjamez

    mrjamez Junior Member

    Joined:
    Oct 10, 2012
    Messages:
    151
    Likes Received:
    44
    Occupation:
    Nothing auto pilot is the key
    Location:
    10 downing street, London
    well yeah theres plenty ,raven core, direct admin, nothing is simpler than cpanel be prepared for problems.
     
    • Thanks Thanks x 1
  3. xtr3m

    xtr3m Newbie

    Joined:
    Jan 7, 2011
    Messages:
    18
    Likes Received:
    6
    Occupation:
    Web developer
    Home Page:
    I'd suggest to learn doing it the SSH way. It's a great skill and will come handy. Google "linode lamp guides" for a good place to start.
     
    • Thanks Thanks x 1
  4. chocoholic

    chocoholic Newbie

    Joined:
    Dec 6, 2012
    Messages:
    15
    Likes Received:
    1
    i'd recommend using nginx rather than apache... i think it's simpler and easier to setup... faster performance too
     
  5. uuhoever

    uuhoever Registered Member

    Joined:
    Sep 26, 2012
    Messages:
    88
    Likes Received:
    14
    Are you guys using centos or Ubuntu?

    Any good books you recommend?
     
  6. olystyle

    olystyle Regular Member

    Joined:
    Jan 6, 2012
    Messages:
    238
    Likes Received:
    103
    Hi uuhoever

    The question of the Distribution is a hard one - if not a religious :D I'd suggest you'd start with ubuntu because of the huge community and the load of of tutorials...

    Not sure what you mean by: Guide for SSH... If its about how to etablish a SSH connection then its easy:
    If you use mac or a linux - open a terminal and type:

    ssh [email protected] your server ---> ssh [email protected]

    or even simpler:

    ssh ip-of-your-server ---> ssh 10.127.87.34

    If you use Windows: get Putty


    To setup a ftp server on your VPS simply execute the commands below one after the other:
    They will:
    -install proftpd
    -open an editor to edit the config file of proftpd
    -restart proftpd

    Code:
    sudo apt-get install proftpd
    sudo nano /etc/proftpd/proftpd.conf
    sudo /etc/init.d/proftpd restart
    
    Assuming that you want to run several sites on that VPS and you intend to stick to apache: check the apache documentation for <VirtualHost>

    If you really miss your cpanel - Here are a few open source alternatives:
    http://www.ispconfig.org/ - Supports nginx
    http://www.zpanelcp.com/
    http://www.virtualmin.com/
    http://openlsm.sourceforge.net/

    cheers
     
    • Thanks Thanks x 1
  7. uuhoever

    uuhoever Registered Member

    Joined:
    Sep 26, 2012
    Messages:
    88
    Likes Received:
    14
    Right now I figured out and got going a LEMP. By guide of SSH I meant what commands there are and stuff but now I realize what really matters is the distribution :)

    I saw a bunch of Ubuntu guides but as of now I'm going for the old stable and enterprise ready centos 6.

    I'm trying to keep costs low so no cpanel. I tried directadmin but somehow it messes up MySQL when I use it. I will try the free alternatives.

    Thanks for the FTP pointers. What else do I need?

    A mail handler? Recommendations?

    Another question, some hosts advertise "fair use CPU" while others give you a set mhz like 2.5mhz. Which one would you pick and why?
     
  8. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,530
    Likes Received:
    10,673
    Occupation:
    Full-time Knitter
    Location:
    Buenos Aires
    Fair use means they 're overselling like hell and will disable your account at the first sign of trouble.
     
    • Thanks Thanks x 1