啥也没写
发布时间:2025-09-11 13:47:13
master:curl -sfL https : //rancher-mirror.rancher.cn/k3s/k3s-install.sh |INSTALL_K3S_MIRROR=cn sh -查看kubectl get nodes输出应显示节点为Ready状态kubeconfig 文件位于 /etc/rancher/k3s/k3s.yaml,kubectl 会自动使用它。查看tokencat /var/lib/rancher/k3s/server/node-tokennode:curl -sfL https : /.........【阅读全文】
发布时间:2025-07-10 10:07:44
安装gcc9.1yum install -y devtoolset-9-gcc-c++ devtoolset-9-make devtoolset-9-build安装ssl luatar -xf openssl-1.1.1w.tar.gzcd openssl-1.1.1w./config --prefix=/usr/local/openssl-1.1.1wmake -j$(nproc)make installcd ..tar -xzf lua-5.4.8.tar.gzcd lua-5.4.8make linux MYCFLAGS="-fPIC" INSTALL_T.........【阅读全文】
发布时间:2025-06-05 17:09:07
下载包:mkdir -p /opt/nginxyum install --downloadonly --downloaddir=/opt/nginx docker-ceyum install --downloadonly --downloaddir=/opt/nginx yum-utils device-mapper-persistent-data lvm2yum reinstall --downloadonly --downloaddir=/opt/nginx docker-ceyum reinstall --downloadonly --downl.........【阅读全文】
发布时间:2025-05-15 09:40:34
#安装依赖yum install centos-release-SCL centos-release-scl scl-utils-build scl-utils -yyum install devtoolset-11-gcc devtoolset-11-make devtoolset-11-gcc-c++ llvm-toolset-7.0 -y 安装rustcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shrustup toolchain listsource /op.........【阅读全文】
发布时间:2025-04-23 17:10:33
服务器yum install git -yuseradd gitcd /opt/git init --bare web.gitchown -R git:git web.git/chsh git #修改shell/usr/bin/git-shellmkdir -p /home/git/.ssh/chmod 700 /home/git/.sshtouch /home/git/.ssh/authorized_keyschmod 600 /home/git/.ssh/authorized_keys客户机yum install git -y.........【阅读全文】