CentOS系统运行时/var/log/cron频繁输出FAILED to authorize user with PAM (Module is unknown)错误
重启下定时任务 /etc/init.d/crond restart
重启下系统日志服务/etc/init.d/rsyslog restart
再次查看日志tail -f /...
参数说明net.core.rmem_default默认的socket数据接收窗口大小(字节)。net.core.rmem_max最大的socket数据接收窗口(字节)。net.core.wmem_default默认的socket数据发送窗口大小(字节)。net.core.wmem_max最大的socket数据发送窗口(字节)。net.core.netdev_max_backlog当内核处理速度比网卡接收速度慢时,这部分多出来的包就会被保存在网卡的接收队列上。该参数说明了这个队...
项目地址https://github.com/jlyo/tcping安装git clone https://github.com/jlyo/tcping.gitcd tcpingmake install使用tcping -p 端口 服务器地址tcping -p 端口 服务器地址 -c ping次数tcping -p 端口 服务器地址 -i 间隔(秒)加时间脚本cat tcping.sh
#!/bin/bash
while true;&n...
1、查看当前#最大值
[shnne@localhost ~]$ cat /proc/sys/net/core/rmem_max
212992
[shnne@localhost ~]$ cat /proc/sys/net/core/wmem_max
212992
#初始值
[shnne@localhost ~]$ cat /proc/sys/net/core/rmem_de...
nginx的error日志出现2024/11/01 06:28:03 [error] 17113#0: *823738 upstream sent too big header while reading response header from upstream, client:解决办法,在nginx.conf里对应...
CentOS 6
cd /etc/cron.daily
grep '10d' tmpwatch
sed -i 's#10d#30d#g' tmpwatch
cat tmpwatch
CentOS 7
grep '10d' /usr/lib/tmpfiles.d/tmp.conf ...
在 Python 开发中,pip 是用于安装和管理 Python 包的工具。有时候,我们可能需要从文件中批量安装 Python 包,或者安装特定版本的包。这种情况下,我们可以使用 pip 的相关命令来完成。使用 requirements.txt 文件安装模块requirements.txt 是一个文本文件,其中列出了要安装的 Python 包的名称和版本号。我们可以使用 pip 的 -r 参数和 requirements.txt 文件来...
# 安装编译工具和依赖
yum install gcc make zlib-devel
# 下载 OpenSSL 源代码
cd /usr/local/src
wget https://www.openssl.org/source/openssl-1.0.2k.tar.gz
tar -zxvf openssl-1.0.2k.tar.g...
strings /lib64/libc.so.6 |grep GLIBC
mkdir -p /soft/glibc-2.15/build
cd /soft/glibc-2.15/
wget http://ftp.gnu.org/gnu/glibc/glibc-2.15.tar.gz
tar xzvf glibc-2.15.tar.gz
cd /soft/glibc-2...
1、配置环境安装一些基础环境yum install -y curl policycoreutils-python openssh-server cronie添加源curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash安装 GitLab CE 版本,运行命令就可以开始自动部署 yum install -y gitlab-ce(主线...