原文: https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack 需要两条命令来执行: /ip firewall filter add chain=forward action=fasttrack-connection connection-state=e ...
分类:
其他好文 时间:
2020-07-10 13:42:19
阅读次数:
173
开启 ip 代理转发 临时开启 ip 代理转发 # 执行该命令后立即生效,但是重启后会失效 echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward 永久开启 ip 代理转发 # 为适配不同系统,先删除后添加 sudo sed -i '/net.ipv4.ip_ ...
分类:
系统相关 时间:
2020-07-10 13:02:43
阅读次数:
102
输入nmtui命令 敲空格开启. 之后一直退出 重启 reboot 确认开启虚拟机的NAT、DHCP服务 win+r->输入services.msc 这两个服务确定开启 进入虚拟机输入ip addr 将该信息输入xshell 成功 ...
分类:
系统相关 时间:
2020-07-10 12:59:21
阅读次数:
129
以放行redis默认端口6379为例 查看防火墙端口列表 firewall-cmd --list-ports 开启6379端口 firewall-cmd --zone=public --add-port=6379/tcp --permanent 关闭6379端口 firewall-cmd --zon ...
分类:
系统相关 时间:
2020-07-10 10:08:11
阅读次数:
104
前提:安装好了docker-ce。systemctlstartdockersystemctlenabledockeriptables-Xiptables-Fserviceiptablessave1、部署nginx:dockerrun-it-d-p80:80-v/usr/share/nginx/html/:/usr/share/nginx/html/-v/etc/nginx/conf.d/:/etc
分类:
其他好文 时间:
2020-07-10 09:36:54
阅读次数:
64
CentOS 6中安装R语言支持,安装R语言包需要的依赖非常多,而且依赖包的默认版本普遍不符合R对版本的要求。自行下载、编译安装依赖库
分类:
编程语言 时间:
2020-07-10 09:33:07
阅读次数:
96
安装环境Redis编译安装环境L:Linux(centos7.6)http://download.redis.io/releases/R:Redis(5.0.7)主机信息:部署规划:172.24.77.241(sr1.dj.com):运行Redis-Master&Slave172.24.77.242(sr2.dj.com):运行Redis--Master&Slave172.24.7
分类:
其他好文 时间:
2020-07-10 09:18:21
阅读次数:
66
# 1. 拉取centos7镜像 docker pull centos:7 # 2. 启动镜像centos7,如果不指定 /bin/bash,容器运行后会自动停止 docker run -d -i -t <IMAGE ID> /bin/bash # 3. 进入容器 docker exec -it < ...
分类:
其他好文 时间:
2020-07-10 00:35:10
阅读次数:
81
K3S https://k3s.io/ https://docs.rancher.cn/k3s/ https://rancher.com/docs/k3s/latest/en/ https://github.com/rancher/k3s https://github.com/rancher/k3s ...
分类:
其他好文 时间:
2020-07-10 00:18:17
阅读次数:
106
Zabbix5.0安装指南 Contents 1. 优化SSH连接速度慢 2. 设置VIM显行数 3. 优化命令行显示 4. 常用小软件安装 5. 精简网卡配置及改网卡名 5.1网卡1 5.2网卡2 5.3唯一属性生效 6. 关闭SELINUX和创建FIREWALLD策略并生效 7. 时间同步 8. ...
分类:
其他好文 时间:
2020-07-10 00:16:02
阅读次数:
71