2024 向好而生

💻

redthunder

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;
     }

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据