/etc/resolv.confecho'secure@1W'|passwdroot--stdi"> /etc/resolv.confecho'secure@1W'|passwdroot--stdi" />
欢迎来到天天文库
浏览记录
ID:34536038
大小:26.60 KB
页数:14页
时间:2019-03-07
《linux系统优化安全系统升级》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、标准实用文案电信RHEL6.6-4.Hostnamesed-i"2cHOSTNAME=abm25"/etc/sysconfig/network>/etc/resolv.confecho'secure@1W'
2、passwdroot--stdiniptables-Fserviceiptablessave-3.vmtoolslftp-uweihu,pi=3yuaNsftp://136.5.176.162<3、11-1310128.tar.gzcdvmware-tools*./vmware-install.pl--default-2.Yummv/etc/yum.repos.d/rhel-source.repo/tmpvi/etc/yum.repos.d/rhel-source.repo[rhel-source]name=RedHatEnterpriseLinux$releasever-$basearch-Sourcebaseurl=http://136.5.176.162/iso/redhat6.6/enabled=1文档标准实用文案gpg4、check=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releasesed-i"3cbaseurl=http://136.5.176.162/iso/redhat6.4/"/etc/yum.repos.d/rhel-source.repoyumcleanallyummakecacheyuminstall-y ftplftpzlib*openssl*pam*gdmrubytelnet*vsftpd*gccdstatmcelogiotoplsscsilibstdc++*libc5、ap*yumgroupinstall-y basic-desktop x11 development eclipse compat-libraries storage-client-multipath nfs-file-server-1.双网卡cd/etc/sysconfig/network-scripts/mvifcfg-enp1s0f0bakifcfg-enp1s0f0mvifcfg-enp130s0f1bakifcfg-enp130s0f1 echo"ifenslavebond0eth1eth5">>/etc/rc.d/rc6、.localcatifcfg-bond0viifcfg-bond0DEVICE=bond0BOOTPROTO=yesIPADDR=136.5.225.100文档标准实用文案GATEWAY=136.5.225.97NETMASK=255.255.255.224ONBOOT=yesBONDING_OPTS="mode=1miimon=200"--------------catifcfg-enp130s0f1 viifcfg-eth1DEVICE=eth1ONBOOT=yesBOOTPROTO=noneMASTER=bond0SLAVE=y7、esTYPE=Ethernet--------------catifcfg-enp1s0f0 viifcfg-eth1 DEVICE=enp1s0f0ONBOOT=yesBOOTPROTO=noneMASTER=bond0SLAVE=yesTYPE=Ethernet文档标准实用文案0.ueradduseraddibnmsecho"Wfz#2015"8、passwdibnms--stdinmkdir/ibnmschownibnms:ibnms/ibnmsusermod-d/ibnmsibnmsuseraddweihuecho"pi=3yu9、aN"10、passwdweihu--stdinuseradduserecho"user,.123"11、passwduser--stdinuserdelnobodyuserdelftp1.profileecho"TMOUT=300">>/etc/profilesed-i's/HISTSIZE=1000/HISTSIZE=50000/g'/etc/profileecho'sttyerase^H'>>/etc/profileecho"">>/etc/profile#2.sucp/etc/pam.d/su/etc/pam.d/su.baksed-12、i"6cauthrequiredpam_wheel.souse_uid"/etc/pam.d/suusermod-a-Gwheelweihuecho'SU_WHEEL_ONLYyes'>>/etc/login.defs文
3、11-1310128.tar.gzcdvmware-tools*./vmware-install.pl--default-2.Yummv/etc/yum.repos.d/rhel-source.repo/tmpvi/etc/yum.repos.d/rhel-source.repo[rhel-source]name=RedHatEnterpriseLinux$releasever-$basearch-Sourcebaseurl=http://136.5.176.162/iso/redhat6.6/enabled=1文档标准实用文案gpg
4、check=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releasesed-i"3cbaseurl=http://136.5.176.162/iso/redhat6.4/"/etc/yum.repos.d/rhel-source.repoyumcleanallyummakecacheyuminstall-y ftplftpzlib*openssl*pam*gdmrubytelnet*vsftpd*gccdstatmcelogiotoplsscsilibstdc++*libc
5、ap*yumgroupinstall-y basic-desktop x11 development eclipse compat-libraries storage-client-multipath nfs-file-server-1.双网卡cd/etc/sysconfig/network-scripts/mvifcfg-enp1s0f0bakifcfg-enp1s0f0mvifcfg-enp130s0f1bakifcfg-enp130s0f1 echo"ifenslavebond0eth1eth5">>/etc/rc.d/rc
6、.localcatifcfg-bond0viifcfg-bond0DEVICE=bond0BOOTPROTO=yesIPADDR=136.5.225.100文档标准实用文案GATEWAY=136.5.225.97NETMASK=255.255.255.224ONBOOT=yesBONDING_OPTS="mode=1miimon=200"--------------catifcfg-enp130s0f1 viifcfg-eth1DEVICE=eth1ONBOOT=yesBOOTPROTO=noneMASTER=bond0SLAVE=y
7、esTYPE=Ethernet--------------catifcfg-enp1s0f0 viifcfg-eth1 DEVICE=enp1s0f0ONBOOT=yesBOOTPROTO=noneMASTER=bond0SLAVE=yesTYPE=Ethernet文档标准实用文案0.ueradduseraddibnmsecho"Wfz#2015"
8、passwdibnms--stdinmkdir/ibnmschownibnms:ibnms/ibnmsusermod-d/ibnmsibnmsuseraddweihuecho"pi=3yu
9、aN"
10、passwdweihu--stdinuseradduserecho"user,.123"
11、passwduser--stdinuserdelnobodyuserdelftp1.profileecho"TMOUT=300">>/etc/profilesed-i's/HISTSIZE=1000/HISTSIZE=50000/g'/etc/profileecho'sttyerase^H'>>/etc/profileecho"">>/etc/profile#2.sucp/etc/pam.d/su/etc/pam.d/su.baksed-
12、i"6cauthrequiredpam_wheel.souse_uid"/etc/pam.d/suusermod-a-Gwheelweihuecho'SU_WHEEL_ONLYyes'>>/etc/login.defs文
此文档下载收益归作者所有