wget http://ww.***.com/downloads/... 指定的URL下载文件
tar -xf 文件名 解压 ;
make install 命令 ;
make :make 相当于gcc 批量去编译文件 ,本身没有编译功能,只是一个工具
ll -as 显示所有文件(包括隐藏文件)
ps aux|grep [服务名称:列:php-fpm 、nginx] 查看当前进程版本号
netstat -anp |grep 3306 查看该端口是否被占用 占用的对象
INT, TERM 立刻终止
QUIT 平滑终止
USR1 重新打开日志文件
USR2 平滑重载所有worker进程并重新载入配置和二进制模块
重启php-fpm:
kill -USR2 42891
systemctl start mysql.service 开启MySQL 服务 restart 重启 stop 关闭
systemctl start php.service 开启php 服务 restart 重启 stop 关闭
systemctl start nginx.service 开启nginx 服务 restart 重启 stop 关闭
strace /usr/local/php7/bin/php-fpm -i 2>1.log 监控php(系统用户当前运行) 并输出到1.log 文件 -i 输出系统调用的入口指针. 2加颜色