Installation Guide
📋 Prerequisites
- Ubuntu 20.04 LTS (Recommended)
- Minimum 1GB RAM
- 10GB Disk Space
- Root Access
- Domain Name (for SSL certificates)
1
Download the Installation Script
wget https://ssc.nexajs.com/setup.sh
chmod +x setup.sh
2
Run the Installation Script
./setup.sh
bash setup.sh
3
Follow Interactive Setup
The script will guide you through:
- System updates and dependency installation
- Domain name configuration
- SSL certificate generation
- Service configuration
- Firewall setup
4
Complete Installation
systemctl status xray
systemctl status nginx
systemctl status haproxy
One-Line Installation
wget -O setup.sh https://ssc.nexajs.com/setup.sh && chmod +x setup.sh && ./setup.sh
Post-Installation
📝 Note: After installation, you can access the following:
https://your-domain.com
/etc/xray/config.json
/etc/nginx/nginx.conf
/etc/haproxy/haproxy.cfg
Management Commands
systemctl restart xray nginx haproxy
systemctl status xray
systemctl status nginx
systemctl status haproxy
journalctl -u xray -f
tail -f /var/log/nginx/access.log
⚠️ Important: Make sure to:
- Backup your server before installation
- Use a valid domain name with proper DNS records
- Keep your server updated regularly
- Monitor resource usage after installation