注意一键安装LNMP时需要设置MYSQL密码为root
[root@localhost wwwroot]# cd /usr/local/src
[root@localhost src]# wget http://soft.vpser.net/lnmp/lnmp1.5.tar.gz -cO lnmp1.5.tar.gz && tar zxf lnmp1.5.tar.gz && cd lnmp1.5 && ./install.sh lnmp
[root@localhost default]# cd /home/wwwroot/default
[root@localhost default]# rz
[root@localhost default]# unzip aitecms.zip
[root@localhost default]# cp -rf aitecms/* ./
[root@localhost default]# ls
aitecms html list.php phpinfo.php so.php
aitecms.zip images lnmp.gif phpmyadmin templets
AiteCms╩╣╙├░я╓·.url include login p.php tongji.php
datum index.html.bak logo.psd robots.txt uploads
diy.php index.php m skin view.php
favicon.ico install ocp.php so_m.php web.config
[root@localhost default]# mv -rf index.html index.html.bak
[root@localhost default]# cd ../
[root@localhost wwwroot]# chmod 777 default default/m default/m/* default/login default/login/* default/datum default/datum/* default/html default/html/* default/install default/uploads default/uploads/*
chmod: cannot access ‘default/html/*’: No such file or directory