解决Centos系统盘所在分区自动变成只读
执行touch a 提示只读文件系统
df -h后发现所有分区容量并未被占满,解决方法
mount -o rw,remount /dev/mapper/centos-root /
再次写入后发现可正常使用
执行touch a 提示只读文件系统
df -h后发现所有分区容量并未被占满,解决方法
mount -o rw,remount /dev/mapper/centos-root /
再次写入后发现可正常使用
ssh下执行 cd /etc/yum.repos.d/ & sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* & sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* &
#!/bin/bash bashPath="http://mirrors.aliyun.com/aliyunlinux/15.01/os/x86_64/" bashDownPath="/opt/aliyunlinux/15.01/oss/x86_64/" if [ ! -d $bashdownpath ]; then mkdir -p $bashdownpath fi function recur
1、启动防火墙systemctl start firewalld.service2、指定IP与端口firewall-cmd –permanent –add-rich-rule=”rule family=”ipv4″ source address=”192.168.1.1″ port protocol=”tcp” port=”53″ accept”指定ip段可以访问firewall-cmd –per
首先输入命令service iptables stop关闭iptables限制端口并发数很简单,IPTABLES就能搞定了,假设你要限制端口8388的IP最大连接数为5,两句话命令:iptables -I INPUT -p tcp –dport 8388 -m connlimit –connlimit-above 5 -j DROPiptables -I OUTPUT -p tcp –dport
1、首先设置管理密码然后访问 http://192.168.99.1/newifi/ifiwen_hss.html然后 页面显示 success 即表明已开启 SSH2、将路由器连接到网络3、通过ssh连接路由器,账号root,密码为web页面管理密码4、执行如下脚本cd /tmpwget https://aa5.top/newifi-d2-jail-break.koinsmod newifi-d