supervisor 环境变量

environment=GOENV=online,GOPATH=/usr/local/gowork

Linux软件运行异常,查看系统日志

grep "Out of memory" /var/log/messages

./configure、make、make install 命令

./configure、make、make install 命令详解
1. ./configure 是用来检测你的安装平台的目标特征的,用来生成 Makefile。比如它会检测你是不是有CC或GCC,并不是需要CC或GCC,它是个shell脚本。
2. make 是用来编译的,它从Makefile中读取指令,然后编译。
3. make install 是用来安装的,它也从Makefile中读取指令,安装到指定的位置。

PHP 源码安装

实操 php 源码安装,php-fpm启动
php-fpm -D -c /usr/local/php73/etc/php-fpm.conf

iftop 、 nload

iftop的使用iftop -PBnN

服务器频繁断开TCP链接,导致chrome浏览器中定时刷新卡顿

服务器频繁断开TCP链接,导致chrome浏览器中定时刷新卡顿

openssl 自签名ssl证书 部署nginx

参考文章

linux 符号

Linux Shell中的特殊符号和含义简明总结

linux tar

tar 压缩,解压
压缩:tar -zcvf deploy.tar.gz deploy
解压:tar -zxvf deploy.tar.gz -C 目标路径
zip 压缩,解压
压缩:zip -r filename.zip filesdir
解压:unzip -o myfile.zip -d /home/anna

在shell脚本中添加crontab任务

在shell脚本中添加crontab任务