CentOS7编译安装Python3.7

安装依赖环境:

1
yum install -y openssl-devel openssl-static zlib-devel lzma tk-devel xz-devel bzip2-devel ncurses-devel gdbm-devel readline-devel sqlite-devel gcc libffi-devel

下载Python3.7.0

1
wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz

将解压后文件夹迁移至/usr/local

1
mv Python-3.7.0 /usr/local

进入Python目录

1
cd /usr/local/Python-3.7.0/

Centos 7下搭建SSR服务器+BBR

下载一键安装脚本

脚本1(推荐)

1
2
3
yum -y install git
git clone https://github.com/flyzy2005/ss-fly
ss-fly/ss-fly.sh -ssr

脚本2

1
2
3
4
yum -y install wget
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh
chmod +x shadowsocksR.sh
bash shadowsocksR.sh
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×