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/\ permanent; access_log off; }
redthunder
Categories: