#service mysqld start#cd /usr/bin#mysqladmin -u root password '123456'#./mysql -u root -pEnter password:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 4Server version: 5.0.67 Source distribution Type 'help;' or '
1 安装pcre 下载好pcre 上传到服务器 我用的版本是pcre-8.31.tar.gz tar -zxvf pcre-8.31.tar.gz cd pcre-8.31 ./configure --prefix=/usr/local/pcre make make install make clean 2 下载proxy_cache插件 wget http://labs.frickle.com/files/ngx_cache_purge-2.1.tar.gz tar