搭建xray和各类脚本常用的环境

常用环境安装

  • 安装Docker
  1. -fsSL https://get.docker.com | bash -s docker

安装PHP
sudo apt update
sudo apt install php libapache2-mod-php
sudo systemctl restart apache2

安装Python3
apt update && apt upgrade
apt install wget build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
wget https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tgz
tar xzf Python-3.9.1.tgz
cd Python-3.9.1
./configure --enable-optimizations
make altinstall

我来吐槽

*

*

*