01 2021 档案

摘要:提示 远程证书无效The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure. /e 阅读全文
posted @ 2021-01-27 15:36 风儿飘 阅读(4891) 评论(0) 推荐(0) 编辑
摘要:###nginx #!/bin/bash echo "update yum" yum update echo "安装依赖包" yum install -y vim lrzsz tree screen psmisc lsof tcpdump wget ntpdate gcc gcc-c++ glibc 阅读全文
posted @ 2021-01-25 16:45 风儿飘 阅读(202) 评论(0) 推荐(0) 编辑
摘要:yum install gcc gcc-c++ ncurses ncurses-devel cmake bison -y#安装boost依赖curl -o boost_1_59_0.tar.gz https://jaist.dl.sourceforge.net/project/boost/boost 阅读全文
posted @ 2021-01-25 15:10 风儿飘 阅读(128) 评论(0) 推荐(0) 编辑
摘要:dd if=/dev/zero of=/swapfile bs=1k count=2048000 2048000+0 records in 2048000+0 records out 2097152000 bytes (2.1 GB) copied, 34.6782 s, 60.5 MB/s mks 阅读全文
posted @ 2021-01-25 13:28 风儿飘 阅读(126) 评论(0) 推荐(0) 编辑
摘要:1,查看自启动服务?systemctl list-unit-files --type service |grep enabled 2,查看某服务的开机启动状态?systemctl list-unit-files --type service |grep service_name 3,启动(关闭,重启 阅读全文
posted @ 2021-01-21 10:50 风儿飘 阅读(357) 评论(0) 推荐(0) 编辑
摘要:nginx_静态缓存 ##缓存cache参数配置proxy_connect_timeout 5;proxy_read_timeout 60;proxy_send_timeout 5;proxy_buffer_size 16k;proxy_buffers 4 64k;proxy_busy_fuffer 阅读全文
posted @ 2021-01-15 17:39 风儿飘 阅读(861) 评论(0) 推荐(0) 编辑
摘要:其他配置keepalive_disable none | browser ...;对某种浏览器禁用长连接limit_except method ... {...},只用于location限制客户端使用除了制定的请求方法之外的其他方法;method:GET, HEAD, POST, PUT, DELE 阅读全文
posted @ 2021-01-15 17:37 风儿飘 阅读(709) 评论(0) 推荐(0) 编辑
摘要:nginx反向代理功能:反向代理: reverse proxy,指的是代理外网用户的请求到内部的指定web服务器,并将数据返回给用户的一种方式。不同的场景使用不同的模块功能 ngx_http_proxy_module: 将客户端的请求以http协议转发至服务器进行处理 ngx_stream_prox 阅读全文
posted @ 2021-01-15 17:36 风儿飘 阅读(214) 评论(0) 推荐(0) 编辑
摘要:haproxy 配置 global:全局配置 chroot #锁定运行目录 deamon #以守护进程运行 #stats socket /var/lib/haproxy/haproxy.sock mode 600 level admin #socket文件 user, group, uid, gid 阅读全文
posted @ 2021-01-15 17:03 风儿飘 阅读(548) 评论(0) 推荐(0) 编辑
摘要:官方文档: https://docs.influxdata.com/influxdb/v1.7/administration/config 全局配置reporting-disabled = false该选项用于上报influxdb的使用信息给InfluxData公司,默认值为false,将此选项设置 阅读全文
posted @ 2021-01-15 16:53 风儿飘 阅读(3587) 评论(0) 推荐(0) 编辑
摘要:登录后显示的用户名和主机名显示不正常,原因是登录用户的家目录下丢失 .bash_profile 和 .bashrc文件从默认文件目录 /etc/skel 下拷贝放到家目录下cp /etc/skel/.bashrc /home/user/cp /etc/skel/.bash_profile /home 阅读全文
posted @ 2021-01-13 13:53 风儿飘 阅读(257) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示