05 2013 档案
摘要:环境是在阿里云ubuntu 12.04 64位1.apt -get update2.apt-get install nginx修改配置文件:在/etc/nginx/sites-available/default 目录下,修改成如下的# You may add here your# server {# ...# }# statements for each of your virtual hosts to this file### You should look at the following URL's in order to grasp a solid understanding#
阅读全文
摘要:为了能使mysql能够外部被访问,根据网上的方法用遍了,还是有如下错误:Lost connection to MySQL server at 'reading initial communication packet', system error: 0只好自己独立安装个mysql ,果然能连上了mysql安装方法:sudo apt-get install mysql-serversudo apt-get install mysql-clientsudo netstat -tap | grep mysql当您运行该命令时,您可以看到类似下面的行:tcp 0 0 localhost
阅读全文
摘要:使用的系统是ubuntu 12.04 64位首先安装php运行环境,使用lnmp,按照下面http://lnmp.org/install.html安装成功之后,安装redis一条命令就行了:apt-get install redis-server安装redis的php扩展1.sudo wget http://open.imop.us/pr.tar.gz2.tar zxvf pr.tar.gz //解压3. cd owlient-phpredis-5a07edc4./usr/local/php/bin/phpize5./configure --with-php-config=/usr/lo...
阅读全文

浙公网安备 33010602011771号