摘要: [1] 首先备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup[2] 进入yum源配置文件所在文件夹 [root@localhost yum.repos.d]# cd /etc/yum.repos.d/[3] 下载... 阅读全文
posted @ 2012-10-03 17:16 lightnear 阅读(146781) 评论(4) 推荐(7) 编辑
摘要: 1. 使用setup命令 [1] 打开一个终端窗口,输入setup命令 [root@localhost ~]# setup[2] 选择Firewall configuration, 选择Run Tool,进入防火墙配置界面[3] 勾选Enabled开启防火墙,不勾选则不开启,此处开启,并选择Customize进行自定义配置[4] 选择要开放的服务端口,此例选择FTP,WWW(HTTP)。... 阅读全文
posted @ 2012-10-03 16:59 lightnear 阅读(2747) 评论(0) 推荐(0) 编辑
摘要: [1] 以root用户登陆到CentOS系统 [2] 打开一个终端 [3] 终端中输入setup命令,弹出配置窗口,选择“Network configuration”进行配置 [root@localhost ~]# setup [4] 取消 User DHCP, 并输入要配置的IP信息,点击OK后,Save保存配置。 [5]命令行方式进... 阅读全文
posted @ 2012-10-03 16:38 lightnear 阅读(2778) 评论(0) 推荐(1) 编辑