Linux最常用的命名
一.环境配置
vim /etc/sysconfig/network-scripts/ifcfg-eth0
vim /etc/sysconfig/network
vim /etc/hostname
vim /etc/hosts
二.ssh 免密码互相登陆
1. ssh-keygen -t rsa
2. cd /root/.ssh
3.cat id_rsa.pub >> authorized_keys
ssh 各个节点
4. scp ~/.ssh/authorized_keys cdh1:/root/.ssh