一、修改主机名:
1、hostname crxy0
2、vi /etc/sysconfig/network
改成:HOSTNAME=crxy0.localdomain
4、vi /etc/hosts
添加192.168.203.132 crxy0
5、reboot,重启系统。
6、查看hostname ,是否修改成功。
二、配置SSH免密码登录
ssh-keygen -t rsa -P ""
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
三、关闭防火墙
关闭防火墙
执行命令 service iptables stop
验证: service iptables status
关闭防火墙的自动运行
执行命令 chkconfig iptables off
验证: chkconfig --list | grep iptables