默默的一块石头
发布时间:2022-05-18 16:53:49
安装软件包:apt-get install git-core fcgiwrap nginx配置nginx.conf: location ~ /chro(/.*) { # fastcgi 参数 fastcgi_pass unix:/var/run/fcgiwrap.socket; fastcgi_param script_filename /usr/lib/git-core/git-http-backend; fastcgi_param git_http_export_all ""; # git 库在服务器上的跟目录 fas.........
发布时间:2022-05-17 16:19:11
ssh provides a secure way to access and manage linux servers. sometimes while connecting to ssh servers, users often encounter “connection refused” error by port 22. it happens because of several reasons like ssh service is not running, the port is blocked by the firewall, or the server is using a.........
发布时间:2021-12-22 15:31:55
测试环境:1.ubuntu 18.042.nginx-1.15.6实验:1.基于nginx-1.15.6添加debug code static int lucount = 0;ngx_http_upstream_round_robin.cstatic ngx_http_upstream_rr_peer_t *ngx_http_upstream_get_peer(ngx_peer_connection_t *pc,ngx_http_upstream_rr_peer_data_t *rrp){ time_t .........
发布时间:2021-12-08 11:26:05
# 查看物理cpu个数cat /proc/cpuinfo|grep "physical id"|sort -u|wc -l# 查看每个物理cpu中core的个数(即核数) cat /proc/cpuinfo|grep "cpu cores"|uniq# 查看逻辑cpu的个数cat /proc/cpuinfo|grep "processor"|wc -l# 查看cpu的名称型号cat /proc/cpuinfo|grep "name"|cut -f2 -d:|uniqlinux查看某个进程.........
发布时间:2021-11-11 11:41:18
手动编译安装nginx0.前期准备1.下载nginx源码包并解压2.编译3. 其他命令4. 官方启动脚本内容,用于开机自启(以下内容未测试)0.前期准备sudo apt-get update#安装依赖:gcc、g 依赖库sudo apt-get install build-essential libtool#安装 pcre依赖库(http://www.pcre.org/)sudo apt-get install libpcre3 libpc.........