制作微信名片


初始环境,配置网络,能 PING 通外网

配置 YUM 源

1
2
3
4
5
6
7
8
9
10
[root@localhost ~]# mkdir /dvd
[root@localhost ~]# mount /dev/sr0 /dvd/
[root@localhost ~]# vim /etc/yum.repos.d/local.repo
[local]
name = This is local repo
baseurl = file:///dvd
enabled = 1
gpgcheck = 0
[root@localhost ~]# yum clean all
[root@localhost ~]# yum repolist
Read more »

初始快照

准备工作

①部署 IP,能联通外网

②清除防火墙规则

1
2
3
4
5
6
7
8
9
10
11
[root@localhost ~]# iptables -F
[root@localhost ~]# iptables -X
[root@localhost ~]# iptables -Z
[root@localhost ~]# /usr/sbin/iptables-save

[root@localhost ~]# vim /etc/selinux/config
...
SELINUX=disabled 将enforcing改成disabled
...

[root@localhost ~]# reboot
Read more »
0%