Linux
Linux
敲风奏雨
希望往后不再做令自己后悔的事。
展开
-
nginx配置https
参考https://www.cnblogs.com/zhoudawei/p/9257276.html转载 2021-07-06 21:59:57 · 136 阅读 · 0 评论 -
scp命令使用
scp -P 2223 [email protected]:/root/test.tar.gz /home/test.tar.gz获取远程服务器上的文件命令中的大写P 为端口参数,2223 表示ssh的端口,如果是 22 的话,可以不需要该参数,如果是其他端口,必须填写scp -P 2223 -r [email protected]:/root/dirname/ /home/dirname/获取远程服务器上的目录scp -P 2223 /home/test.tar.gz [email protected]..原创 2021-07-06 21:50:02 · 487 阅读 · 0 评论 -
Nginx配置文件解析
语法:结尾需要;分号标明 用大括号包含多条指令 include引入 #注释 $变量nginx.confuser nginx 用户worker_processes 线程数error_log 错误日志文件路径events:worker_connections 连接数http:log_format 日志格式access_log 访问日志sendfile 高效传输模式keepalive_timeout 长连接超时时间gzip 传输是否压缩include 引入..原创 2021-07-06 21:45:32 · 90 阅读 · 0 评论 -
Nginx常用命令
nginx -v 查看版本nginx -V查看详细版本/usr/sbin/nginx 启动ps -aux |grep nginx 查看进程状态nginx -h 帮助nginx -c confg 读取配置文件nginx -t 测试配置文件,可用于查询当前生效的配置文件nginx -s stop 强制停止nginx -s quit 优雅停止whereis nginx 查询nginx路径...原创 2021-07-06 21:25:31 · 70 阅读 · 0 评论 -
CentOS7.4安装mySQL5.7加远程访问(搞了一天的心血)
直接上步骤(按顺序执行就好):1、卸载mariadbyum -y remove mariadb*2、下载并安装mysql的YUM源wget -P /home/lisonglin http://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpmcd /home/lisonglinrpm -ivh mysql57-co...原创 2018-12-02 23:02:40 · 585 阅读 · 0 评论