https://github.com/sh4dowbyte/xray-server
https://github.com/sh4dowbyte/xray-server
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sh4dowbyte/xray-server
- Owner: sh4dowByte
- Created: 2025-03-12T05:04:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-27T04:01:00.000Z (about 1 year ago)
- Last Synced: 2025-03-27T05:19:29.399Z (about 1 year ago)
- Language: Shell
- Size: 47.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Xray Installer for Linux
This script allows you to install and configure Xray on your Linux server easily.
## Features
* Automatic installation of Xray
* Configures essential dependencies
* Supports various protocols such as VLESS, VMess, and Trojan
## Installation
To install Xray, run the following command:
```bash
curl -O https://raw.githubusercontent.com/sh4dowByte/xray-server/refs/heads/main/install.sh
chmod +x install.sh
sudo ./install.sh
```
## Requirements
* A Linux-based server (Ubuntu, Debian, CentOS, etc.)
* Root or sudo access
* Internet connection
## Configuration
After installation, you can configure Xray by modifying the configuration file located at:
```bash
/etc/xray/config.json
```
To apply changes, restart the Xray service:
```bash
sudo systemctl restart xray
```
## Uninstallation
If you want to remove Xray, use:
```bash
sudo systemctl stop xray
sudo systemctl disable xray
sudo rm -rf /etc/xray /usr/local/bin/xray /var/log/xray
```
## Troubleshooting
* Check the service status:
```bash
sudo systemctl status xray
```
* View logs:
```bash
journalctl -u xray --no-pager -n 50
```
## License
This script is provided under the MIT License.
---
**Note:** Use this script at your own risk. Ensure you review the script before execution.
## Disclaimer
This script has been modified from the original script available at: [https://github.com/bmayu1/scriptvpn](https://github.com/bmayu1/scriptvpn).