Setting up a new CentOS VPS (with nginx, php and mysql)

We quite regularly setup new VPS instances for our clients and there is always a long check list of stuff that has to be done. All these items can very often be a pain to remember but thankfully Digital Ocean have two REALLY helpful tutorials on their blog that make the process a lot less of a hassle.

First we have to configure the server's permissions which is covered in detail in Initial server setup with CentOS 7 but the summary is:

  1. Login as root.
  2. Create a non root user account and add to the "wheel" group.
  3. Add your public key to the new user account.
  4. Disable root login.
  5. Restart SSH.

Once this is done, we can setup the web and db server, which is covered in some detail in How to install CentOS, Nginx, PHP and Mysql, again the summary is:

  1. Install Nginx
  2. Install Mysql.
  3. Install PHP
  4. Setup Nginx to process PHP

go back

call 01594 860082, email or  get a quote