Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux 安装记录 #17

Open
fisker opened this issue Dec 8, 2018 · 0 comments
Open

linux 安装记录 #17

fisker opened this issue Dec 8, 2018 · 0 comments

Comments

@fisker
Copy link
Owner

fisker commented Dec 8, 2018

修改SSH端口

vi /etc/ssh/sshd_config

重装系统

# 更新
yum update -y
# 依赖
yum install -y xz openssl gawk file wget
# 下载脚本
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/installNET/master/Install.sh"
chmod +x Install.sh
./Install.sh

更新源

https://www.oldking.net/697.html

wget --no-check-certificate https://git.io/superupdate.sh
chmod +x superupdate.sh
./superupdate.sh

开启bbr

https://teddysun.com/489.html

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
uname -r
sysctl net.ipv4.tcp_available_congestion_control # 返回值有 bbr
sysctl net.ipv4.tcp_congestion_control # 返回值有 bbr
sysctl net.core.default_qdisc #返回值为 fq
lsmod | grep bbr # 返回值有 tcp_bbr
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh

修改dns

vi /etc/sysconfig/network-scripts/ifcfg-eth0

# DNS1=1.1.1.1
# DNS2=8.8.8.8

关闭防火墙

systemctl disable firewalld
systemctl stop firewalld

ipv6

https://www.bandwagonhost.net/2144.html
https://www.thegeekdiary.com/how-to-enable-ipv6-on-centos-rhel-7/

性能测试

unixbench.sh

https://teddysun.com/245.html

wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh
chmod +x unixbench.sh
./unixbench.sh

bench.sh

https://teddysun.com/444.html

wget --no-check-certificate -qO bench.sh https://bench.sh/
chmod +x bench.sh
./bench.sh

superbench.sh

https://www.oldking.net/599.html

wget --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh
chmod +x superbench.sh
./superbench.sh

SuperSpeed.sh (网速)

https://www.oldking.net/305.html

wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh
chmod +x superspeed.sh
./superspeed.sh

Zench

https://github.com/FunctionClub/ZBench

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh
chmod +x ZBench-CN.sh
./ZBench-CN.sh

Trojan

准备

yum install wget unzip -y

BBR

wget -N --no-check-certificate https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh
chmod +x tcp.sh
./tcp.sh

安装

wget -N --no-check-certificate https://raw.githubusercontent.com/atrandys/trojan/master/trojan_mult.sh
chmod +x trojan_mult.sh 
./trojan_mult.sh

https://www.atrandys.com/2019/1963.html

  • 配置文件 /usr/src/trojan/server.conf
  • 重启 systemctl restart trojan
  • Web /usr/share/nginx/html/

酸酸乳

ssr.sh
https://github.com/ToyoDAdoubi/doubi#ssrsh
https://doub.io/ss-jc42/

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssr.sh
chmod +x ssr.sh
./ssr.sh

ssrmu.sh
https://github.com/ToyoDAdoubi/doubi#ssrmush
https://doub.io/ss-jc60/

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssrmu.sh 
chmod +x ssrmu.sh
./ssrmu.sh

brook

https://github.com/ToyoDAdoubi/doubi#brooksh

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/brook.sh
chmod +x brook.sh
./brook.sh

v2ray

https://github.com/Jrohy/multi-v2ray

wget -qO multi-v2ray.sh https://multi.netlify.com/v2ray.sh
chmod +x multi-v2ray.sh
./multi-v2ray.sh

https://github.com/FunctionClub/V2ray.Fun

wget --no-check-certificate -qO v2ray.fun.sh https://raw.githubusercontent.com/FunctionClub/V2ray.Fun/master/install.sh
chmod +x v2ray.fun.sh
./v2ray.fun.sh 

WireGuard

https://www.atrandys.com/2018/886.html
https://github.com/hongwenjun/vps_setup

wget https://git.io/wireguard.sh
chmod +x wireguard.sh
./wireguard.sh

NaïveProxy

https://gitlab.com/misakablog/naiveproxy-script

wget https://gitlab.com/misakablog/naiveproxy-script/-/raw/main/naiveproxy.sh
chmod +x naiveproxy.sh
./naiveproxy.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant