- Posted
- Filed under 01010101
sudo apt-get install nginx
MariaDB
$ sudo apt-get install software-properties-common
$ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
$ sudo add-apt-repository 'deb http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main'
$ sudo apt-get update
$ sudo apt-get install mariadb-server
$ sudo mysql_secure_installation
PHP
$ sudo apt-get install php5 php5-cli php5-cgi php5-common php5-mysql php5-dev php5-mcrypt php5-curl php-pear php5-imagick php5-gd php5-fpm
XDebug
$ sudo apt-get install php5-xdebug
$ vi /etc/php5/fpm/conf.d/20-xdebug.ini
zend_extension=xdebug.so
xdebug.remote_enable=1
;xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1
xdebug.remote_port=9001
xdebug.remote_handler=dbgp
xdebug.remote_autostart=0
Xdebug 설정하기: http://dont.pe.kr/tc/292
nginx + php-fpm 에서 xdebug 동작 안하는 문제: http://dont.pe.kr/tc/404
node.js
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs
git
$ sudo apt-get install git
ImageMagick
$ sudo apt-get install imagemagick