Activity Stream
48,167 MEMBERS
61021 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Respected Developer

    Default How to setup a vps without a control panel for dummies

    I see often people ask me to setup vps for them so here I am going to include steps which can help you to install neccessary component to run a website or use any php based script with minimal server resources usage.

    Required Software:
    Putty ( Download from http://www.chiark.greenend.org.uk/~s.../download.html )

    What will be installed
    • nginx
    • php-fpm
    • mysql



    *[For newbies - skip if u know how to login in putty]
    When you purchase a vps hosting you will be given an IP and password from service provider and your username will always be root.

    Open putty and give ur server IP like below:
    root@YOUR_SERVER_IP
    http://screensnapr.com/v/zXBvJx.png

    When it connect you will be asked for password. Now in putty you can not copy paste using CTRL+V, you can either type by hand or copy your password to clipboard using CTRL+C keys and click on putty screen where it is asking you to add password and then RIGHT CLICK , it will work as CTRL+V ( note it will not show you your password pasted) and hit enter, Now hopefully you are logged in.


    Now run these commands one by one:
    Code: 
    yum update
    wget http://freevps.us/downloads/nginx-centos.sh -O - |bash
    (Those freevps guys did a very good job by creating above script)

    Now wait for it to finish, it usually takes few seconds and your server is ready to use. if you like to use php command line run this later
    Code: 
    yum install php-cli --enablerepo=webtatic
    After installation is complete your server should be ready to host sites or your scripts. to make sure all is working visit your server IP via browser like
    Code: 
    http://YOUR_SERVER_IP/
    and it will show you nginx forbidden page.


    To host sites just use this command:
    Code: 
    setup-vhost yoursite.com
    and it will create a folder where you can upload all your site content inside /var/www/yoursite.com and its configuration file is located in /etc/nginx/conf.d/yoursite.com.conf

    you can add multiple sites using above method. ( setup-vhost youOtherrSite.com )

    you can use same login password to login via sFTP and upload site content in there respective folders.

    Hope it will help someone, let me know if you have any question.
    Best Regards
    mRAza Reviewed by mRAza on . How to setup a vps without a control panel for dummies I see often people ask me to setup vps for them so here I am going to include steps which can help you to install neccessary component to run a website or use any php based script with minimal server resources usage. Required Software: Putty ( Download from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html ) What will be installed nginx php-fpm mysql Rating: 5
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    DragonHost.org
    well you could have posted this a few days back before I bought a cPanel

  4.     
    #3
    Member
    Website's:
    MP3SearchEngines.net LatestMovieTrailers.org Talking.so
    Wow. Is it really so simple? At least it looks simple. I will buy a cheap VPS to try it out.
    One thing man, if I buy a VPS that gives like 128 or 256 MB RAM, will it be enough to host a website? I won't install cPanel. Just the script. Sorry if that's a nooby question, I'm not much knowledgeable about Linux VPS's.

  5.     
    #4
    Respected Developer
    Quote Originally Posted by nYXem View Post
    Wow. Is it really so simple? At least it looks simple. I will buy a cheap VPS to try it out.
    One thing man, if I buy a VPS that gives like 128 or 256 MB RAM, will it be enough to host a website? I won't install cPanel. Just the script. Sorry if that's a nooby question, I'm not much knowledgeable about Linux VPS's.
    yes its that simple, and about RAM i used to host a site using IPB Forum with 10k u/v a day on 256MB Ram.
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  6.     
    #5
    Member
    Website's:
    AnimeXMafia.com
    Quote Originally Posted by mRAza View Post
    yes its that simple, and about RAM i used to host a site using IPB Forum with 10k u/v a day on 256MB Ram.
    awesome.... can you tell about that host?

  7.     
    #6
    Super Member
    I use ctrl + insert to paste

    So kiss me and smile for me, say that you'll wait for me <'3

  8.     
    #7
    Member
    Website's:
    WarezHackerZ.com WarezHackerz.in ForumScripts.org
    Nice one raza thanks for this cheers

  9.     
    #8
    Member
    thanks mRaza... i was desperately in need for this but nobody helps me that time... i learn my own by search, search & trying trying trying trying...

  10.     
    #9
    Member
    thanks a lot dude i was looking for this..

    a question: can install this on centos 5 or any recommended OS ?

  11.     
    #10
    Respected Developer
    Quote Originally Posted by tut2tut View Post
    thanks a lot dude i was looking for this..

    a question: can install this on centos 5 or any recommended OS ?
    I tested it on centos 5.
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. help: which control panel it is
    By Garfield2 in forum Hosting Discussion
    Replies: 8
    Last Post: 10th Jul 2011, 08:14 PM
  2. New Control Panel
    By Angeix in forum General Discussion
    Replies: 14
    Last Post: 12th Dec 2009, 04:05 PM
  3. Control Panel..
    By Sl!M in forum Server Management
    Replies: 8
    Last Post: 28th Jun 2009, 10:18 AM

Tags for this Thread

BE SOCIAL