Tuesday, October 27, 2015

Preparing the server for Wordpress Multisite

Install Nginx
  1. sudo apt-get update
  2. sudo apt-get install nginx
Install MySQL DB
  1. sudo apt-get install mysql-server
  2. sudo mysql_install_db
  3. sudo mysql_secure_installation
    • Set password for root if you haven't already. If you have a password, type n for no.
    • Remove Anonymous Users: Press Enter to select default Yes
    • Disallow root login: Press Enter to select default Yes
    • Remove test database and access to it: Press Enter to select default Yes
    • Reload Privilege tables now: Press Enter to select default Yes
Install PHP
  1. sudo apt-get install php5-fpm php5-mysql
  2. sudo nano /etc/php5/fpm/php.ini
    • uncomment ;cgi.fix_pathinfo=0 and set value equal to zero.
  1. sudo service php5-fpm restart


Digital Ocean Prerequisites
Read:


No comments:

Post a Comment