#ifconfig
#ifconfig eth0 192.168.10.156
#ifconfig
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
#/etc/init.d/network restart
#ping www.baidu.com
#ping 192.168.10.1
#systemctl disable firewalld.service
#systemctl stop firewalld.service
#vi /etc/selinux/config
#/usr/sbin/ntpdate time.windows.com
#date
#/usr/sbin/ntpdate time.windows.com
#mkdir /mnt/cdrom -p
#mkdir /iso app tools -p
#mkdir /tools -p
#ll /
#sestatus
#systemctl status firewalld.service 或 firewall-cmd --state
#firewall-cmd --state
#not running=关闭
#mount /iso/RHEL-7.1-20150219.1-Server-ppc64-dvd1.iso /mnt/cdrom/
#df -h
#vim /etc/rc.local
# /etc/yum.repos.d;
#touch localyum.repo;
#cat>>localyum.repo<<EOF
[localyum]
name=localyum
baseurl=file:///mnt/cdrom
gpgcheck=0
EOF
#yum clean all
#yum -y install vim
#yum -y install sysstat
#yum -y install ntpdate vim sudo gcc cron gdb wget openssh parted nmap tree
#yum -y install gcc-c++ make cmake ncurses-devel libtool
#ll /mnt/cdrom/
#mount -t iso9660 -o loop /iso/RHEL-7.1-20150219.1-Server-ppc64-dvd1.iso /mnt/cdrom
#df -h
#vi /etc/rc.local
#df -h
#ll /mnt/cdrom/
#yum -y install setuptool ntsysv iptables system-config-securitylevel-tui system-config-network-tui
#vi /etc/hosts
#vi /etc/sysconfig/network
#hostname oracle_156
#cat>>/etc//etc/hostname<<EOF
主机名
EOF
#shutdown -r 0