- sudo apt-get update
- sudo apt-get install nginx
- sudo apt-get install mysql-server
- sudo mysql_install_db
- 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
- sudo apt-get install php5-fpm php5-mysql
- sudo nano /etc/php5/fpm/php.ini
- uncomment ;cgi.fix_pathinfo=0 and set value equal to zero.
- sudo service php5-fpm restart
Digital Ocean Prerequisites
Read:
No comments:
Post a Comment