随笔分类 -  web

摘要:/home/logs/jdk1.8.0_91/bin/jmap -dump:format=b,file=m.hprof 6 /home/logs/jdk1.8.0_91/bin/jmap -dump:live,format=b,file=m.hprof 6 阅读全文
posted @ 2021-10-14 17:49 caonw 阅读(878) 评论(0) 推荐(0)
摘要:npm 为了安全禁止使用root用户或者sudo来安装node-sass,切换到普通用户就可以了,或者添加 --unsafe-perm 参数。-g 全局 npm install --unsafe-perm -g node-sass 修改npm源 npm config set registry htt 阅读全文
posted @ 2020-06-28 16:41 caonw 阅读(6280) 评论(0) 推荐(0)
摘要:nginx+keepalived 高可用 阅读全文
posted @ 2019-12-19 10:29 caonw 阅读(368) 评论(0) 推荐(0)
摘要:cat <<EOF > /usr/lib/systemd/system/nginx.service [Unit] Description=nginx - web server After=network.target remote-fs.target nss-lookup.target [Servi 阅读全文
posted @ 2019-11-08 16:24 caonw 阅读(1174) 评论(0) 推荐(0)
摘要:nginx 更新都更新了什么 阅读全文
posted @ 2019-10-23 16:13 caonw 阅读(3675) 评论(0) 推荐(0)
摘要:nginx 怎么选择 阅读全文
posted @ 2019-10-23 16:10 caonw 阅读(5247) 评论(0) 推荐(0)
摘要:upstream bolate{ server 192.168.122.20:80; } server{ listen 80; server_name www.baidu.com.cn; location / { proxy_set_header X-Real-IP $remote_addr; pr 阅读全文
posted @ 2019-10-18 10:03 caonw 阅读(212) 评论(0) 推荐(0)