Chinaunix首页 | 论坛 | 博客
  • 博客访问: 402313
  • 博文数量: 124
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 872
  • 用 户 组: 普通用户
  • 注册时间: 2018-03-29 14:38
个人简介

默默的一块石头

文章分类

全部博文(124)

文章存档

2022年(26)

2021年(10)

2020年(28)

2019年(60)

我的朋友

发布时间: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.........【阅读全文】

阅读(1013) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1125) | 评论(0) | 转发(0)

发布时间: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 .........【阅读全文】

阅读(575) | 评论(0) | 转发(0)

发布时间: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查看某个进程.........【阅读全文】

阅读(1634) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1485) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册