摘要:
1 mkdir -p /mnt/cdrom2 mount /dev/cdrom /mnt/cdrom 阅读全文
摘要:
1 vim /etc/yum.repos.d/mycdrom.repo2 3 [Server]4 name=rhel6server5 baseurl=file:///mnt/cdrom/Server6 enable=17 gpcheck=18 gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-redhat-release 阅读全文
摘要:
1 service iptables stop2 3 4 vim /etc/sysconfig/selinux5 SELINUX=disabled6 7 8 setenforce 0 阅读全文
摘要:
1 vim /etc/sysconfig/network-scripts/ifcfg-eth0 2 // 添加下面语句 3 4 ONBOOT="yes" 5 IPADDR=ip地址 6 BOOTPROTO=none 7 NETMASK=子网掩码 8 TYPE=Ethernet 9 GATEWAY=网关地址10 //查看网卡是否挂起11 service network restart12 ifconfig 阅读全文