centos
hm0406120201
www.huangm.club
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
shell脚本:新建vsftp,并询问是否设置用户或者匿名
#/bin/bash #2020年7月24日 #自动安装vsftp,并且询问是否开启相应功能 ####################################### function Set_service(){ systemctl stop firewalld systemctl disable firewalld setenforce 0 sed -i "s/^SELINUX=enforcing/SELINUX=disabled/g" /etc/sysconfig/selinux }原创 2020-07-27 10:32:05 · 332 阅读 · 0 评论 -
Cobbler自动部署安装CentOS
安装之前需要关闭防火墙、Selinux和更新安装epel源。 一、安装Cobbler以及其相关服务软件包 yum -y install cobbler cobbler-web dhcp tftp-server pykickstart httpd rsync xinetd 二、启动相关服务 systemctl start httpd systemctl enable httpd systemctl start cobblerd systemctl enable cobblerd systemctl star原创 2020-07-13 14:00:47 · 434 阅读 · 0 评论 -
CentOS报错:There are no enabled repos
在使用yum安装软件的时候报了下面的错误: Loading mirror speeds from cached hostfile There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo>原创 2020-07-09 14:24:56 · 4459 阅读 · 0 评论
分享