FreeBSD 9.1 下安装 NGiNX + Percona Server + PHP

安装nginx

# cd /usr/ports/www/nginx
# make install clean

/usr/local/etc/rc.d/nginx start

安装Percona Server

# cd /usr/ports/databases/percona55-client/
# make install clean
# cd /usr/ports/databases/percona55-server/
# make install clean

# cp /usr/local/share/mysql/my-medium.cnf /etc/my.cnf

# /usr/local/etc/rc.d/mysql-server start
Read More →