# 这里存放一些自己写的vps的一键脚本 ```bash apt remove apache2 apache2-bin apache2-data apache2-doc apache2-utils apt update apt upgrade -y apt install -y autoconf automake libtool cmake screen zsh p7zip lrzsz gcc vim g++ golang-go python3-pip cmake build-essential curl unzip axel zip net-tools sysstat xfonts-wqy screen git snapd libssl-dev libsecret-1-dev curl gdb nload htop sudo apt autoremove ``` ## install warp+ ### Debian The supported releases are: Bookworm (12) Bullseye (11) Buster (10) Stretch (9) Add cloudflare gpg key ```sh curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg ``` Add this repo to your apt repositories ```sh echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list ``` Install ```sh sudo apt-get update && sudo apt-get install cloudflare-warp warp-cli register warp-cli set-license 80Mura16-W95z81LO-6sl9Z3V1 warp-cli set-license 37o09TBP-42l0BKk1-817Vg4oS 1905rpwR-Mh64n0Y2-oKeA7536/ warp-cli set-mode proxy warp-cli set-proxy-port 1080 warp-cli connect ``` ## Install oh-my-zsh now Oh My Zsh is installed by running one of the following commands in your terminal. You can install this via the command-line with either curl or wget. ```sh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ``` ## install xrayr-core Install & Upgrade Xrayr-core and geodata with User=nobody, but will NOT overwrite User in existing service files ```sh wget -N https://raw.githubusercontent.com/XrayR-project/XrayR-release/master/install.sh && bash install.sh ``` ``` certbot certonly --dns-cloudflare --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare.ini --dns-cloudflare-propagation-seconds 30 -d \*.murasame2024.sbs -d murasame2024.sbs ```