Changes

Jump to navigation Jump to search
857 bytes removed ,  16:08, 17 March 2016
Line 578: Line 578:  
== Bare install test ==
 
== Bare install test ==
 
install a minimal Centos7
 
install a minimal Centos7
configure network access
+
configure network access during installation with option to restore.
* Setup network:
+
  yum update -y
To start the networking if you can not ping ie not up
+
  yum install nano net-tools mc man htop top iftop iptraf screen openssh-clients mlocate wget vim
[root@buildcos9 ~]# /etc/sysconfig/network-scripts/ifup-eth eth0
  −
* Set DHCP to install basic utilities
  −
  [root@buildcos9 ~]#  dhclient eth0
  −
* Install utilities
  −
[root@buildcos9 ~]# yum install nano system-config-network-tui mc man htop top iftop iptraf screen openssh-clients mlocate
  −
* Finalise network setup
  −
[root@buildcos9 ~]# nano /etc/sysconfig/network-scripts/ifcfg-eth0
  −
and set manually if necessary:
  −
DEVICE="eth0"
  −
BOOTPROTO="none"
  −
HWADDR="00:E0:4C:68:21:6D"
  −
IPADDR=192.168.xxx.12
  −
NETMASK=255.255.255.0
  −
GATEWAY=192.168.xxx.3
  −
DNS1=192.168.xxx.3
  −
IPV6INIT=no
  −
NM_CONTROLLED="yes"
  −
ONBOOT="YES"
  −
TYPE="Ethernet"
  −
UUID="fe6ebc0d-dbee-4bf6-a3cf-5e84c5453549"
  −
 
  −
Check and restart:
  −
[root@buildcos9 ~]# chkconfig network on
  −
[root@buildcos9 ~]# service network restart
      
*  Enable SSH
 
*  Enable SSH
Line 611: Line 587:     
You may have a slow login to ssh, if needed :
 
You may have a slow login to ssh, if needed :
  nano /etc/ssh/sshd_config
+
  vi /etc/ssh/sshd_config
 
  −
And change the “UseDNS yes” field to “UseDNS no”.
  −
Now change the “GSSAPIAuthentication yes” line to “GSSAPIAuthentication no”.
      
You have to restart the ssh service or the server
 
You have to restart the ssh service or the server
    
* Reboot system to ensure all new config are permanent
 
* Reboot system to ensure all new config are permanent
  [root@buildcos9 ~]# reboot
+
reboot
    
update packages
 
update packages
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu