iptables 一般系统自带,如果没有安装方法如下: ubuntu/debian 系统: apt-get update -y && apt-get install iptables -y centos 系统: yum update -y && yum install iptables -y 开启内核ip转发 vi /etc/sysctl.conf 将下面两项注释去掉,保存 #net.ipv4.ip_forward=1 #net.ipv6.conf.all.forwarding=1 …
iptables 一般系统自带,如果没有安装方法如下: ubuntu/debian 系统: apt-get update -y && apt-get install iptables -y centos 系统: yum update -y && yum install iptables -y 开启内核ip转发 vi /etc/sysctl.conf 将下面两项注释去掉,保存 #net.ipv4.ip_forward=1 #net.ipv6.conf.all.forwarding=1 …
本脚本最大的特点是测试全面,运行迅速,不会因为硬盘i/o低下或者网络状况不好,造成测试时间较长的问题,无论是什么机器,不带UnixBench都能保持在15分钟以内执行完。 测试项目 获取系统基本信息 测试硬盘存取延迟、iops、存取速度 测试本机带宽 测试本机到25个国外节点下载速度 测试本机到8个国内节点下载速度 测试本机到国内9个节点的路由 测试本机到国内9个节点的延迟与丢包 使用说明 下载脚本 wget https://raw.githubusercontent.com/chiakge/Linux-Serve…
脚本 提示:脚本不支持OpenVZ架构,安装会自动退出。 运行命令: wget https://yun.94ish.me/sh/swap.sh && bash swap.sh 然后根据选项进行操作,记得添加swap的时候填写纯数字,默认单位为M。 转载自:https://www.94ish.me/1820.html
为大家介绍一个由@就是爱生活博主制作的“Linux网络优化加速一键脚本”,可以一键为自己的VPS或服务器安装 BBR/BBR魔改版所需内核、安装Lotserver(锐速)所需内核,并且使用一个脚本可以自由选择安装BBR、BBR魔改版、暴力BBR魔改版、Lotserver(锐速)多个版本的网络优化加速软件。 一、使用命令 目前此脚本支持系统有Centos 6+ / Debian 7+ / Ubuntu 14+,其中BBR魔改版不支持Debian 8,BBRplus不支持Centos6.X。OpenVZ架构由于不支持修…
一、安装宝塔5.9.1免费版 Centos安装脚本: yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh Ubuntu安装脚本: wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh Debian…
仅支持Linux VPS或在支持SSH的虚拟主机。 1、系统信息、带宽、I/O测试 a、这个测试国内、国际速度: wget -qO- --no-check-certificate https://zhujiwiki.com/wp-content/uploads/2018/07/superbench.sh | bash b、这个内容全面 wget https://zhujiwiki.com/wp-content/uploads/2018/05//linuxtest.sh -N --no-check-certifica…
法国 OVH 旗下有 3 大品牌, 分别是高端和云品牌 OVH, 中端独立服务器品牌 SoYouStart, 和超特价低端独立服务器品牌 Kimsufi, 现在来说说如何注册中国账号,并且验证账号/免税教程。 高端品牌 OVH : https://www.ovh.ie/ 中端品牌 SoYouStart : https://www.soyoustart.com/ie/ 低端品牌 Kimsufi,: https://www.kimsufi.com/en/ 首先有几点需要说明: 1、 Kimsufi/OVH/SoYouS…
当安装好vestacp好以后,为了安全和更好的使用,需要对vestacp进行一些优化,具体内容如下: 修改默认端口8083 VestaCP默认的端口是8083[Https],可以将其修改为其他端口,以防止帐号密码被爆破 需要修改配置文件 /usr/local/vesta/nginx/conf/nginx.conf ,将8083修改为想要的端口 没完,接下来必须在ip:8083这里面把防火墙端口也修改了,不然不能访问 替换面板的SSL证书 只需要替换以下两个文件 /usr/local/vesta/ssl/certif…