标签:http os ar sp on art bs amp ad
开启mysql mysql.server start
开启nginx sudo nginx
重启nginx sudo nginx -s reload
开启php sudo php-fpm(初始先将php-fpm.conf.default 备份成php-fpm.conf)
开始ssh pkill ssh(杀掉)
/usr/sbin/sshd (开启)
vim /etc/sshd-config 修改该开启写配置
apache
vi private/etc/apache2/extra/httpd-vhosts.conf 增加域名信息
vi /etc/hosts 增加ip域名记录
线上apache干扰
ps aux | grep httpd 查看apache
/etc/init.d/apache2 stop
/etc/init.d/nginx restart
开启redis redis-server &
生成公钥私钥ssh
ssh-keygen
标签:http os ar sp on art bs amp ad
原文地址:http://www.cnblogs.com/xiaoyueer/p/4066557.html