运维

CentOS 7 优化内核参数

2023-05-19
内核参数优化 Kubernetes 场景 cat >/etc/sysctl.d/kubernetes.conf <<EOF net.bridge.bridge-nf-call-iptables=1 net.bridge.b...
阅读全文

CentOS 7 安装最新版Git

2023-05-19
安装ius,epel仓库 yum install https://repo.ius.io/ius-release-el7.rpm -y yum install https://dl.fedoraproject.org/pub/epel/ep...
阅读全文

CentOS 7 安装 Docker CE

2023-05-19
安装Docker CE 并配置开机启动 curl https://get.docker.com | bash - systemctl enable docker --now 配置Docker-Compose ln -s /usr/libe...
阅读全文

CentOS 7 初始化

2023-05-19
更新软件包 yum update -y 安装基础工具 yum install bash-completion net-tools chrony lrzsz -y bash-completion net-tools chrony lrz...
阅读全文

Rocky Linux 8 系统部署 HAProxy+Keepalived

2022-09-16
一、基础配置 1. 内核配置 cat >> /etc/sysctl.conf <<EOF net.ipv4.ip_nonlocal_bind = 1 EOF sysctl -p 2. 网卡配置 编辑 /etc/...
阅读全文
Rocky Linux 8 系统部署 HAProxy+Keepalived

在CentOS 7 下构建OpenSSH 8.x RPM安装包

2022-09-05
一、 准备条件 openssh 8.x源码包 官方 curl -L https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.8p1.tar.gz -o /root...
阅读全文
在CentOS 7 下构建OpenSSH 8.x RPM安装包

在CentOS 7系统上部署NGINX

2022-09-05
一、添加YUM源文件 /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/7/$basearch/ gpg...
阅读全文
在CentOS 7系统上部署NGINX

在CentOS 7系统上部署谷歌BBR

2022-09-01
BBR(瓶颈带宽和RTT)是一种新的拥堵控制算法,由谷歌贡献给Linux内核TCP协议栈。有了BBR,Linux服务器可以获得显著增加的吞吐量和减少连接的延迟。此外,部署BBR很容易,因为这种算法只需要在发送端进行更新,而不是在网络或接收端...
阅读全文
在CentOS 7系统上部署谷歌BBR

CentOS 替代品之 Rocky Linux

2022-08-26
背景 2020年12月,红帽宣布停止对发布仅一年的CentOS 8的维护,并表示将全力支持接班人CentOS Stream,这让许多 CentOS用户不满。 为了缓解公众的情绪,开发人员启动了两个号称是CentOS的最佳代替品:Rocky ...
阅读全文
CentOS 替代品之 Rocky Linux