Подготовка CentOS6 к работе.
--------------------------------- настройки сетей
nano /etc/sysconfig/network-scripts/ifcfg-eth0
yum install dnsmasq
nano /etc/sysctl.conf
net.ipv4.ip_forward=1
--------------------------------
nano /etc/sysconfig/network-scripts/ifcfg-isolated_lan1
WADDR=00:0C:29:F8:B6:82
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.1.1
PREFIX=24
DEFROUTE=no
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=isolated_lan1
UUID=5a7e9cda-1c5a-4a24-9f07-00c578c63baa
ONBOOT=yes
LAST_CONNECT=1394710966
-----------------------------------------------------------
nano /etc/sysconfig/network-scripts/ifcfg-vlan1
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.11.101
PREFIX=24
DEFROUTE=no
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=vlan1
UUID=69387d0a-1919-496d-98fb-755991e6ee51
ONBOOT=yes
HWADDR=00:0C:29:F8:B6:8C
LAST_CONNECT=1394717051
--------------------------------------------------------
nano /etc/sysconfig/network-scripts/ifcfg-internet
HWADDR=00:0C:29:F8:B6:96
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.111.66
PREFIX=24
GATEWAY=192.168.111.1
DNS1=192.168.111.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=internet
UUID=caa750c9-9382-46bf-851c-642884a0e90c
ONBOOT=yes
LAST_CONNECT=1394718756
--------------------------------------------------------
ifconfig
ifconfig eth0 up
ifconfig eth0 down
service network restart
--------------------------------- настройки ssh
nano /etc/ssh/sshd_config
поставить 3333 порт
service sshd restart
service iptables stop
----
yum -y install httpd
nano /etc/selinux/config
SELINUX=disabled
----
--------------------------------- настройки ntp
yum install ntp -y
nano /etc/sysconfig/ntpd
SYNC_HWCLOCK=yes
----------
chkconfig ntpd on
service ntpd start
ntpstat
--------------------------------------------
yum makecache && yum -y update
yum -y install mc
service iptables stop
chkconfig iptables off
shutdown -r now
----------------------------------------------vnc
yum -y install tigervnc tigervnc-server
nano /etc/sysconfig/vncservers
VNCSERVERS="1:administrator 2:root"
VNCSERVERARGS[1]="-geometry 1280x1024 -nolisten tcp"
VNCSERVERARGS[2]="-geometry 1280x1024 -nolisten tcp"
--------
su root
vncpasswd
su administrator
vncpasswd
chkconfig vncserver on
service vncserver start
service vncserver restart