alxpanel

Install alxpanel

From a clean AlmaLinux 10 server to the panel's sign-in page.

Before you start

alxpanel takes over the web, database, FTP and firewall setup of the server, so it wants a server that hosts nothing yet:

The install checks all of this before it changes anything. If something is in the way, nothing of alxpanel is installed, and the output says what to fix:

alxpanel: alxpanel was NOT installed: this server is not ready for alxpanel:
alxpanel:   - port 80 is in use by nginx (pid 912, nginx.service): alxpanel's nginx serves the hosted sites on ports 80 and 443; stop and disable it ('systemctl disable --now nginx.service') or move it to another port.

dnf will already have installed the dependencies (web, database and FTP servers, PHP, firewalld) by then. dnf history undo last removes them again; or fix the reasons and run dnf install alxpanel once more.

Installing anyway

touch /etc/alxpanel-preflight-skip

With this file present, each reason becomes a warning and the install goes on. Use it only when you know why the check is wrong for your server: the install will reconfigure whatever it found.

Install

As root:

dnf install -y https://repo.balcon.od.ua/alxpanel-release.rpm
dnf install -y alxpanel

The first command adds the alxpanel repository and its signing key, plus the EPEL and Remi repositories. The second installs everything and sets the server up. Keep them as two commands: the sign-in details are printed last only when the first one has finished before the second starts.

What the install does

First sign-in

The last thing dnf prints, below Complete!:

==========================================================================
 alxpanel is ready
   URL:      https://203.0.113.10:8443/admin
   Login:    admin
   Password: k7RwTq3mVx9NpL2cHd8Z   (one-time: you choose a new one at first sign-in)
 The certificate is self-signed; your browser will warn once.
 Lost this? Run 'alxpanel-setup' as root for a new password.
 Login protection: fail2ban is starting with the sshd, proftpd and alxpanel-auth jails.
   Never banned: 198.51.100.7 (the address you installed from)
==========================================================================

Open the URL, accept the browser's warning about the self-signed certificate, and sign in. The panel then asks for your email address and a password of your own before anything else.

Two more blocks can appear in that output:

If the output says alxpanel is installed, but with problems, it names each problem and the command that shows more. Fix them and run alxpanel-setup.

Lost the password?

alxpanel-setup

As root, at any time. It prints the address and a new one-time password for admin.

Next

First steps in the panel: a plan, an account, and three settings worth switching on.