Sunday, July 26, 2015

Install nginx php5 php5-fpm php-apc maridb on Wheezy

apt-get install -y nginx php5 php5-fpm php-apc

apt-get install python-software-properties
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
add-apt-repository 'deb http://kartolo.sby.datautama.net.id/mariadb/repo/10.0/debian wheezy main'

apt-get update
apt-get install mariadb-server

--matikan inno db
--stop dulu MySQL nya = service mysql stop

# cat > /etc/mysql/conf.d/lowendbox.cnf
[mysqld]
skip-innodb
default_storage-engine=MyISAM
(tekan ^D)

===update nginx 1.2 ke 1.6 ===
#add wheezy-backports to your /etc/apt/sources.list:
deb http://ftp.de.debian.org/debian/ wheezy-backports main contrib non-free

and then on a console:

apt-get update
apt-get -t wheezy-backports install nginx

==utk hidef = gak perlu
apt-get install -y php-pear php5-dev libcurl3-openssl-dev libpcre3-dev make
#lalu
pecl install hidef


No comments:

Post a Comment