• 初装配置红帽大端7.1


    #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

  • 相关阅读:
    IP保留地址
    HTML5读取本地文件
    angularjs中动态为audio绑定src
    canvas移动端常用技巧图片loading
    angularjs三级联动
    angular实现select的ng-options
    ng-bind-html在ng-repeat中问题的解决办法
    JS判断是否在微信浏览器打开
    angular实现select的ng-options
    创建 AngularJS 自定义过滤器,带自定义参数
  • 原文地址:https://www.cnblogs.com/lilin-77/p/6404192.html
Copyright © 2020-2023  润新知