linux 报 read-only file system
- 解决办法:#mount -o remount rw / #重新挂载/分区并,并增加读写权限即为 -rw
临时配置ip地址
- # ifconfig eth0 192.168.0.1 netmask 255.255.255.0
- #####需要重启网络服务后才能生效
重启网络服务
- #service network restart #重启网络服务
crt、pshell无法远程
- # /etc/init.d/sshd restart #重启ssh (:22)服务
- # netstat -nlp | grep :22 #查看22端口是否开启
关闭防火墙
- # service iptables status ---------------查看防火墙状态
- # service iptables stop ---------------关闭防火墙