1. Installing the System
Virtual machine memory typically 1 hours.
The resolution can be adjusted.
NIC has two settings simple and practical bridging, once and for all NAT
Important partition: The actual situation according to customer demand, the default/boot with 200M, swap 2000M/surplus and so on.
2.ifconfig-a
Dhclient (will generate DHCP service, work is not available)
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Device=eth0
Hwaddr=00:0c:29:cb:9f:f9
Type=ethernet
Uuid=e46d71e2-c89b-4949-9056-81610600e3bb
Onboot=yes
Nm_controlled=yes
Bootproto=static
ipaddr=192.168.75.3
netmask=255.255.255.0
gateway=192.168.75.2
Peerdns=no-----
dns1=8.8.8.8
Dns2= .....
Route-n
DNS configuration file/etc/resolv.conf
3. Remote connection
Use Putty, Xshell, (as far as possible in English, Chinese may have back door)
1) Direct Password login
2) secret key login
(1) Double-click Puttygen production key Pair
(2) The private key is stored on its own computer, and the public key is copied and pasted.
(3) Create on Linux server
Open Puttygen, generate the private key, save the settings password.
Enter server mkdir. SSH
VI. Ssh/authorized_keys Copy the public key in.
chmod. SSH
chmod Authorized_keys
Temporarily close SELinux Setenforce 0
Permanently close Vi/etc/selinux/config
Selinux=disabled
Clear Firewall Rule iptables-f
Save Firewall Rule/etc/init.d/iptables Save
----have repeated please forgive ...
Daily study of Linux--Review day