![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
lijie12233
这个作者很懒,什么都没留下…
展开
-
centos6永久修改主机名
vi /etc/sysconfig/networkHOSTNAME=localhost.localdomain #修改localhost.localdomain为mastervi /etc/hosts127.0.0.1 localhost.localdomain #修改localhost.localdomain为masterreboot原创 2017-10-11 22:16:22 · 14578 阅读 · 0 评论 -
非root用户ssh不能登录本机
ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsacat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keyschmod 710 authorized_keys原创 2017-10-12 14:34:47 · 1824 阅读 · 1 评论 -
centos 免密码登录
ssh-keygen -t rsassh-copy-id master原创 2017-10-12 20:02:07 · 368 阅读 · 0 评论 -
centOS 关闭防火墙
service iptables stop chkconfig iptables offservice iptables status原创 2017-10-12 20:55:19 · 223 阅读 · 0 评论