Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PERSIAPAN
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install python-software-properties
- 1 >> INSTALL NGINX VERSI TERBARU DARI PPA: https://launchpad.net/~nginx/+archive/stable
- sudo add-apt-repository ppa:nginx/stable
- sudo apt-get update
- sudo apt-get install nginx
- 2 >> INSTALL PHP5 DARI PPA: https://launchpad.net/~ondrej/+archive/php5
- sudo add-apt-repository ppa:ondrej/php5
- sudo apt-get update
- sudo apt-get install php5-common php5-mysqlnd php5-xmlrpc php5-curl php5-gd php5-cli php5-fpm php-pear php5-dev php5-imap php5-mcrypt
- CEK VERSI PHP
- php -v
- hasilnya -+
- PHP 5.5.3-1+debphp.org~precise+2 (cli) (built: Aug 27 2013 09:15:48)
- Copyright (c) 1997-2013 The PHP Group
- Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
- with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
- 3 >> INSTALL MYSQL DARI PPA: https://launchpad.net/~ondrej/+archive/mysql-5.5
- sudo add-apt-repository ppa:ondrej/mysql-5.5
- sudo apt-get update
- sudo apt-get install mysql-server mysql-client -y
- KEMANAN MYSQL INSTALL
- sudo mysql_secure_installation
- 4 >> INSTALL PHPMYADMIN TERBARU DARI PPA: https://launchpad.net/~nijel/+archive/phpmyadmin
- sudo add-apt-repository ppa:nijel/phpmyadmin
- sudo apt-get update
- sudo apt-get install phpmyadmin
- cd /usr/share/nginx/html
- sudo ln -s /usr/share/phpmyadmin
- >> SELESAI
- update:8/24/2014
- bila phpmyadmin error "The mcrypt extension is missing. Please check your PHP configuration"
- # sudo php5enmod mcrypt
- BY: @niammuddin
- referensi:
- https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04
- http://www.lonelycoder.be/nginx-php-fpm-mysql-phpmyadmin-on-ubuntu-12-04/
- https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement