1 Star 0 Fork 0

李皓天/钰深plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xnode2.repo.sh 366 Bytes
一键复制 编辑 原始数据 按行查看 历史
李皓天 提交于 2021-12-25 05:06 . 钰深6代脚本
#!/bin/bash
cd /etc/yum.repos.d/
rm -rvf *
cat >>centos.repo<<OK
[centos]
name=centos
baseurl=ftp://192.168.200.11/centos
gpgcheck=0
enable=1
OK
cd
yum clean all
sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
systemctl stop firewalld.service
systemctl disable firewalld.service
iptables -F
iptables -X
iptables -Z
service iptables save
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/mashiro2/mys-plus.git
git@gitee.com:mashiro2/mys-plus.git
mashiro2
mys-plus
钰深plus
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385