1.打开host
sudo gedit /etc/hosts
2.创建文件夹
mkdir xxx
3.打印日志
tail -f *.log
4.重启Nginx
/usr/local/nginx/sbin/nginx -s reload
5.查看运行状态
ps -ef|grep nginx
6.建立软链接
ln -s /export/manager/z7z8/nginx_configs/sites ./
7.移动
mv fastcgi_params fastcgi_params_
8.执行网站
/usr/bin/php5.6 /export/manager/misc-common/www/index.php -cCmdLine_XiaochaoToken
-
svn检出
svn co svn://10.15.200.100:8888/chat.xxxxx.com ./
10.安装redis
sudo apt install redis-server
11.启动redis
sudo systemctl start redis
12.svn命令
svn co svn://10.15.200.181:8888
13编辑命令
sudo gedit /etc/hosts
14php启动命令
sudo /etc/init.d/php5.6-fpm restart
15进入redis命令
redis-cli-p 6379
16重启nginx
sudo /usr/local/nginx/sbin/nginx -s reload
sudo systemctl restart redis
17安装php-redis扩展
sudo apt-get install php5.6-redis
18修改文件夹权限
sudo chmod -R 777 ./
redis-cli
19查看历史命令记录
history |grep php
20链接mysql
mysql -uroot -p -P3306
21查看日志
tail /var/log/php_errors.log
22.打包压缩
cd /www/111 && zip -r ./111.zip ./
23.查看目录下所有文件列表
cd /www/111 && find ./ -type f