linux常见问题汇总

一. 远程不了:

  1. ssh服务未开启,
  2. 线路不通, ping IP 是否能ping通
  3. 防火墙iptanles, /etc/init.d/iptables stop

yum源出现问题:
https://blog.csdn.net/suleil1/article/details/78249824

ping 其他主机的主机名不通:
https://zhidao.baidu.com/question/1669564017845280547.html

主机修改名称后直接 hostname,可看到修改后的主机名。
重启后将主机名更换。在/etc/hosts 里将ip地址和主机名添加上,即可直接ping

ceph 国内原:
http://bbs.ceph.org.cn/article/62

推送秘钥到其他服务器可以用
ssh-copy-id -i /root/.ssh/id_rsa.pub [email protected]

确保多台机器之间可以免密登录,修改hostname,配置/etc/hosts,在node-deploy上安装ceph-deploy,https://blog.csdn.net/liukuan73/article/details/79220230

你可能感兴趣的:(linux常见问题汇总)