解决Centos系统盘所在分区自动变成只读 分享 2023-04-05 mark 手机阅读 执行touch a 提示只读文件系统 df -h后发现所有分区容量并未被占满,解决方法 mount -o rw,remount /dev/mapper/centos-root / 再次写入后发现可正常使用
centos7.9安装docker-ce 先修改阿里源 rm -rf /etc/yum.repos.d/* curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo yum clean all && yum makecache yum install -y wget wget -O /etc/yum.rep 分享 2025-03-11 mark
Shell 镜像repo站点脚本 #!/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 分享 2021-11-30 mark
Newifi D2 D1一键解锁加刷不死(breed) 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 分享 随笔 2021-06-12 mark
使用centos 进行流量转发 首先 firewall-cmd --query-masquerade # 检查是否允许伪装IP firewall-cmd --add-masquerade # 允许防火墙伪装IP firewall-cmd --remove-masquerade# 禁止防火墙伪装IP firewall-cmd --list-ports #查看已开放端口的列表 firewall-cmd --list-forward- 分享 2024-05-04 mark
锐捷交换机负载均衡 先在全局配置模式下配置多条默认路由 ip route 0.0.0.0 0.0.0.0 下一条网关 然后执行下面负载均衡命令进行负载均衡配置 Ruijie(config)#aggregateport load-balance src-dst-ip //常用推荐的负载均衡方式 负载参数及说明如下: dst-mac:根据输入报文的目的 MAC 地址进行流量分配。 src-ma 分享 2022-09-25 mark