This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
第一步sudo -i | |
第二步.ubuntu/debian 系统安装 Curl 方法: apt-get update -y && apt-get install curl -y | |
第二步.(1).centos 系统安装 Curl 方法: yum update -y && yum install curl -y (2).yum install wget 下载wget工具 | |
第三步.wget -N --no-check-certificate https://raw.githubusercontent.com/ComeBey/more-user-ssr/master/hasan.sh && chmod +x hasan.sh && bash hasan.sh | |
第四步:bash hasan.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、yum系统更新 yum update | |
--------------------- | |
2、查看系统版本 | |
cat /etc/redhat-release | |
输出如下则表示已升级到7.5或者更高版本 | |
CentOS Linux release 7.5.1804 (Core) | |
--------------------- | |
3、安装elrepo并升级内核 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. sudo -i | |
2. yum update 升级系统 | |
4. curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" 下载pip | |
5. python get-pip.py 安装pip | |
6. pip install shadowsocks 安装ss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
一>校准时间同步本地时间 | |
1.date -s "2019-09-21 19:00:38" | |
2.cp空格 /usr/share/zoneinfo/Asia/Shanghai 空格/etc/localtime | |
3.(一) yum -y install ntp ntpdate 安装ntpdate工具 | |
(二) ntpdate cn.pool.ntp.org 设置系统时间与网络时间同步 | |
(三) hwclock --systohc 将系统时间写入硬件时间 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
以下同步时间选择其中一种,如果无法同步本地时间请google下(关键字centos7或者centos6或者debian时间同步本地时间等关键字) | |
方法一.校准时间同步本地时间 date -R 查看vps时间 | |
sudo -i root权限进入 | |
(一) yum -y install ntp ntpdate 安装ntpdate工具 | |
(二) ntpdate cn.pool.ntp.org 设置系统时间与本地网络时间同步 | |
(三) hwclock --systohc 将系统时间写入硬件时间 | |
方法二.校准时间同步本地时间 date -R 查看vps时间 | |
(1)yum install ntp //安装ntp服务 | |
(2)systemctl enable ntpd //开机启动服务 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian9 复制这条代码安装bbr加速如下: | |
方法一wget -N --no-check-certificate https://bit.ly/2VWUksq && chmod + hasan.sh && bash hasan.sh | |
备用代码:wget -N --no-check-certificate https://raw.githubusercontent.com/ComeBey/bbr/master/hasan.sh && chmod + hasan.sh && bash hasan.sh |