摘要: systemctl start / stop nginx 阅读全文
posted @ 2019-09-02 18:17 lishidefengchen 阅读(11340) 评论(0) 推荐(0)
摘要: 参考:https://www.jianshu.com/p/b1f573ca50c7 跟着做到,配置nginx访问dotnet core网站时,报错了。 错误如下所示—— 查看nginx的错误日志: cat /var/log/nginx/error.log | more 再查看系统的nginx相关的审 阅读全文
posted @ 2019-09-02 16:35 lishidefengchen 阅读(299) 评论(0) 推荐(0)
摘要: CentOS升级到7之后用firewall代替了iptables来设置Linux端口, 下面是具体的设置方法: []:选填 <>:必填 [<zone>]:作用域(block、dmz、drop、external、home、internal、public、trusted、work) <port>:端口号 阅读全文
posted @ 2019-09-02 14:40 lishidefengchen 阅读(2195) 评论(0) 推荐(0)
摘要: type nul> 123.txt 阅读全文
posted @ 2019-09-02 10:33 lishidefengchen 阅读(336) 评论(0) 推荐(0)
摘要: $lsb_release -a #Ubuntu下执行 Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial $cat /etc/redhat-release #CentOS下执行 阅读全文
posted @ 2019-09-02 09:59 lishidefengchen 阅读(104) 评论(0) 推荐(0)