Skip to content

a complete Bash script to install Xray-core on server with user management

Notifications You must be signed in to change notification settings

thehxdev/xray-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xray-install

Xray installation and configuraion script for Ubuntu and Debian servers.

Features

  • Automaticly install and configure Xray-core
  • Check exit code of every command that executed (No more nonsense errors).
  • User Management with unique UUID/Password for each user
  • VLess, VMess and Trojan Support
  • XTLS for VLess and Trojan Support
  • VPS Basic settings for better experience
  • Enable TCP BBR with teddysun script
  • Saving backups and bundle them in .tar.gz files for easy download.

Usage

Install Dependencies

apt update && apt install curl

Run Script

bash -c "$(curl -L https://github.com/thehxdev/xray-install/raw/main/xray.sh)"

Supported protocols

  1. VLESS + WS + TLS
  2. VLESS + TCP + TLS
  3. VMESS + WS
  4. VMESS + WS + TLS
  5. VMESS + WS + Nginx
  6. VMESS + WS + Nginx + TLS
  7. VMESS + TCP
  8. VMESS + TCP + TLS
  9. Trojan + TCP + TLS
  10. Trojan + WS + TLS

About

a complete Bash script to install Xray-core on server with user management

Topics

Resources

Stars

Watchers

Forks

Languages