Skip to content

Installation

Make sure the server meets the system requirements, then log in to the server as root.

Download the installer:

Terminal window
wget https://rayxopanel.com/setup.sh

Run it with the admin email:

Terminal window
sudo bash setup.sh --admin-email you@yourdomain.com

rayxopanel.com/setup.sh always points to the setup.sh from the latest release on GitHub. The installer downloads the package of that same release, then verifies its SHA-256 checksum before installing it.

At the end of the installation you see a summary like this:

✔ RAYXO 0.3.0 terpasang
Panel : https://server1.yourdomain.com:2222
Username : admin
Password : •••••••••••• (catat sekarang; hanya ditampilkan sekali)

The installer prints its messages in Indonesian.

Option What it does
--admin-email EMAIL Email of the first admin. You are asked for it if you leave it out.
--admin-user NAME Username of the first admin. Default admin.
--hostname NAME Server hostname. Defaults to the output of hostname -f.
--public-ip IP Public IP, for servers behind NAT. Detected automatically by default.
--php-versions "LIST" PHP versions for websites, for example "8.2 8.3 8.4". Default 7.4 8.0 8.1 8.2 8.3 8.4 8.5.
--version X Install a specific version, for example 0.2.0.
--package FILE Install from a .tar.gz release file that is already on the server.
--release-url URL Download the release file from another HTTPS URL. The checksum is taken from URL.sha256.
--skip-dns-check Skip the A record and PTR checks. For testing only; the panel’s SSL certificate is self-signed.
--yes Don’t ask for confirmation.
--force Skip the “server must be clean” check. Not recommended.
-h, --help Show the help.

PHP 8.4 is always installed because the panel uses it. PHP versions that are already installed are never removed.

Component Notes
Nginx Receives website traffic on ports 80 and 443, and serves the panel on port 2222
Apache Only on 127.0.0.1:8080, so .htaccess keeps working
PHP-FPM PHP 7.4 to 8.5 from the ondrej/php PPA, with common extensions
MariaDB Database for the panel and websites
phpMyAdmin Bundled in the release package, opened from the Databases page
Pure-FTPd FTP with mandatory TLS
Postfix + OpenDKIM Only for sending panel email (verification, password reset)
certbot Let’s Encrypt certificates, renewed automatically
quota Per-account disk and inode quotas
rayxod The RAYXO agent, runs as root

A DNS server, IMAP/POP, webmail, and a firewall are not installed.

  • Read the last message in the terminal. The full log is in /var/log/rayxo-install.log.
  • Fix the cause, for example DNS that doesn’t point to the server yet, then run setup.sh again. The installer is safe to rerun and only does the parts that aren’t finished.
  • Still stuck? Ask in GitHub Discussions and include the relevant part of the log.

Log in to the panel for the first time.