摘要:
修改/etc/ssh/sshd_config文件,把PermitRootLogin Prohibit-password 添加#注释掉 新添加:PermitRootLogin yes 2. 重启ssh服务/etc/init.d/ssh restart; 3.重新使用root连接,ok! https:/ 阅读全文
摘要:
修改 /etc/sysconfig/network-scripts/ifcfg-eth0 改为yes 阅读全文
摘要:
删除文件: /etc/udev/rules.d/70-persistent-net.rules 将/etc/sysconfig/network-scripts/ifcfg-eth0 中的HWADDR删掉 重启 阅读全文
摘要:
输入 sudo passwd 命令,输入一般用户密码并设定root用户密码。 设定root密码成功后,输入 su 命令,并输入刚才设定的root密码,就可以切换成root了。 提示符$代表一般用户,提示符#代表root用户。 阅读全文
摘要:
vi /home/lx/.bash_profile中添加 PATH=$PATH:$HOME/bin:/sbin:/bin export PATH linux查看服务自启动 chkconfig --list linux修改服务自启动 ntsysv 带*为自启动 关闭防火墙 service iptabl 阅读全文