mount /dev/xvdd1 /home echo "/dev/xvdd1 /home ext3 defaults 1 2" >> /etc/fstab vim /etc/ssh/sshd_config yum install -y screen screen -S lnmp wget http://my-lnmp-down.googlecode.com/files/cnmp.sh;sh cnmp.sh vim /etc/nginx/conf.d/301.conf server { listen 80 default; rewrite ^/(.*)$ http://www.redthunder.com.cn/$1 permanent; access_log off; }
redthunder
Categories:
Related Post
wordpress nginx 伪静态配置wordpress nginx 伪静态配置
location / { try_files $uri $uri/ /index.php?$args; } r […]
NGINX1.4.2+PHP5.5.3+MYSQL5.5.33NGINX1.4.2+PHP5.5.3+MYSQL5.5.33
LNMP 环境一键安装,使用方法: 执行此命令 wget http://my-lnmp-down.google […]