0℃
2022年06月16日
⁄ CentOS
⁄ 被围观 3,298次+
一、防火墙配置
CentOS 7.x 8.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。
1、关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
systemctl mask firewalld
systemctl stop firewalld
yum remove firewalld
2、安装iptables防火墙
yum install iptables-services #安装
vi /etc/sysconfig/iptables #编辑防火墙配置文件,开放ftp服务端口
# sample configuration for iptables service
# you can edit this manually o...
CentOS, yum源阅读全文
1℃
2014年08月26日
⁄ CentOS
⁄ 被围观 56,148次+
说明:
操作系统:CentOS 6.x
IP地址:192.168.21.188
实现目的:同步CentOS镜像站点的内容到此服务器,并且通过配置http服务器,能够向外提供yum服务
准备篇:
一、安装http服务器
这里使用Nginx服务器提供http服务
关于Nginx服务器搭建,参考:CentOS安装配置LNMP服务器(Nginx+PHP+MySQL)
http://www.osyunwei.com/archives/5910.html
二、系统约定
Nginx站点根目录:/usr/local/nginx/html
服务器执行脚本文件存放目录:/home/crontab
三、开始Nginx目录浏览功能
vi /usr/local/nginx/conf/nginx.conf #编辑配...
CentOS, yum源阅读全文
2℃
2012年01月29日
⁄ CentOS
⁄ 被围观 35,183次+
引言:
CentOS自带的yum源中rpm包数量有限,很多时候找不到我们需的软件包,(例如:要安装网络连接查看软件iftop,默认设置下无法使用yum命令安装),下面教大家在CentOS 6.2中(以32位系统为例,64位系统安装方法一样),使用第三方yum源来安装更多软件包。
一、安装CentOS yum源优先级插件yum-priorities
yum install yum-priorities #输入y安装
二、设置CentOS默认yum源的优先级为最高
系统运维 www.osyunwei.com 温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接
cd ...
CentOS 6.2, rpm, yum源阅读全文