October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Install the Ajenti Admin Panel on a Linux VPS

A complete Ajenti VPS installation guide covering Debian, Ubuntu and RHEL support, the modern virtual-environment installer, manual dependencies, port 8000 access, security and troubleshooting.
Length10 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a current Debian or Ubuntu VPS, install Ajenti with its virtual-environment installer, then restart the service and open https://SERVER_IP:8000. This is the recommended route for Debian 12 and later and Ubuntu 24.04 and later because it avoids Python’s “externally managed environment” protection. Ajenti also documents support for Debian 9+, Ubuntu Bionic (18.04)+ and RHEL 8+.

Choose the installation method before you begin

Ajenti is a modular Linux and BSD server administration panel. On a VPS, it runs as a service and presents its web interface over HTTPS on TCP port 8000 by default. The correct installation path depends mainly on the distribution release and the way that release manages Python packages.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Installation path Best fit Python package handling Plugin scope
Virtual-environment installer Debian 12+ and Ubuntu 24.04+ Installs Ajenti in an isolated environment and avoids the externally managed environment error Uses the installer’s Ajenti package set
Legacy automatic installer Older systems whose Python packaging behavior is known to be compatible Installs at the operating-system level; not suitable for newer Debian and Ubuntu releases Uses the installer’s package set
Manual Debian/Ubuntu installation Systems where you need to select dependencies and plugins yourself Can use a virtual environment; forcing system pip is unsafe on modern releases Minimal plugin set or the all-plugins set listed in Ajenti’s guide
Manual RHEL installation RHEL 8 and later Uses the documented DNF dependencies and pip packages Install the panel and the plugins you require

Ajenti documents support for Debian 9 or later, Ubuntu Bionic or later, and RHEL 8 or later. Other Linux distributions may require a manual installation and additional adaptation. Check the VPS image and release before running any installer; the release determines whether the legacy script can work at all.

Prepare the VPS

Confirm the operating system

Log in with an account that can run commands through sudo. Confirm that the VPS is running one of the documented Debian, Ubuntu or RHEL releases. If you are on a newer Debian or Ubuntu release, plan to use the virtual-environment installer rather than the older OS-level script.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Make sure you can administer the machine

The installation commands need administrator privileges. The official commands invoke the installer through sudo; use an account with permission to do that, or switch to a root shell before starting. Keep an existing SSH session open while you install so that a service or firewall mistake does not remove your only access path.

Plan access to port 8000

Ajenti listens on HTTPS port 8000 by default. Before exposing that port publicly, decide which administrator IP addresses should be allowed to reach it. Apply the restriction in both the VPS provider’s network firewall and the operating system’s host firewall when both are available. A web panel that accepts connections from the entire internet should be treated as a high-value administrative surface.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended method: install Ajenti in a virtual environment

Use this method on Debian 12 and later or Ubuntu 24.04 and later. It is also the safest default when you are unsure whether the system’s Python installation is governed by PEP 668. Ajenti’s documentation specifically recommends this method to avoid pip’s “externally managed environment” error on newer Debian and Ubuntu releases.

1. Run the official installer

From an SSH session, run the command exactly as shown:

curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install-venv.sh | sudo bash -s -

This downloads Ajenti’s virtual-environment installation script from the project repository and executes it with administrator privileges. The environment keeps Ajenti’s Python packages separate from the distribution-managed Python installation, so pip does not have to modify the system environment protected by the distribution.

If you prefer to inspect a script before executing it, download it for review and then run the documented command after you are satisfied with its contents. Do not replace this installer with the legacy script on a current Debian or Ubuntu image simply because the older command appears in older tutorials.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Let the installer finish

Keep the SSH connection open while the script installs the panel and its dependencies. Do not interrupt the process partway through. When it completes, Ajenti’s service unit should be available for systemd management.

3. Restart the service

Restart Ajenti with:

sudo systemctl restart ajenti

The runtime documentation also lists service ajenti restart and /etc/init.d/ajenti restart as alternatives on systems where those service interfaces are used.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

4. Open the panel

In a browser, go to:

https://SERVER_IP:8000

Replace SERVER_IP with the VPS’s public IP address. The panel is served over HTTPS and uses port 8000 by default, so include both the https:// scheme and the port number.

5. Use the bootstrap credentials

The documented default username is root, and the password is the system’s root password. These credentials are a bootstrap detail, not a finished security configuration. Sign in only after restricting access to trusted administrator IPs, use a strong root password, and do not enable autologin on a public system. Ajenti’s runtime documentation explicitly warns that public autologin is a security issue.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why the old automatic installer fails on newer Ubuntu and Debian

Older guides often use this command:

curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s -

Ajenti still documents the script, but describes it as an OS-level installation that does not work with newer Debian and Ubuntu releases. On systems enforcing the externally managed environment rule, pip refuses to install or modify packages in the distribution-owned Python environment. An Ubuntu 24.04 issue shows the legacy path ending with an externally-managed-environment error.

Do not “fix” that error by adding pip’s system-breaking override. On a current Debian or Ubuntu VPS, stop the failed attempt, use the virtual-environment installer above, and then restart the Ajenti service. The isolated installation is the documented solution for this packaging model.

Manual installation on Debian or Ubuntu

A manual route is useful when you need to control native dependencies or choose a particular plugin set. On modern releases, perform the pip portion in an isolated virtual environment rather than forcing a system-wide installation.

1. Enable Ubuntu’s Universe repository

On Ubuntu, enable Universe with:

sudo add-apt-repository universe

The command is not needed on Debian, and repository configuration can differ between distributions. Confirm that the required repository is available before installing the native packages.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Install the documented native dependencies

For Debian or Ubuntu, install the build tools, Python headers, libraries and time-synchronization package listed by Ajenti:

sudo apt-get install build-essential python3-pip python3-dev python3-lxml libssl-dev python3-dbus python3-augeas python3-apt ntpdate

These packages provide the compiler, Python development files and native libraries needed by Ajenti and its plugins. If apt reports a dependency or repository problem, resolve that operating-system issue before attempting the pip commands.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

3. Update Python packaging tools

The documented manual procedure upgrades setuptools, pip and wheel:

sudo pip3 install setuptools pip wheel -U

On a current distribution, run this inside the isolated environment you chose for Ajenti. Avoid using a system-pip override that bypasses the distribution’s externally managed protection.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

4. Install the panel and a minimal plugin set

The minimal set in Ajenti’s guide is:

sudo pip3 install ajenti-panel ajenti.plugin.core ajenti.plugin.dashboard ajenti.plugin.settings ajenti.plugin.plugins

The core, dashboard, settings and plugins packages provide the base panel and the minimal documented plugin group. Ajenti’s manual guide also lists an all-plugins installation for administrators who need a broader feature set. Install only the plugins you intend to use when keeping the panel small is more important than having every module available.

5. Start and test the service

After the manual packages are in place, use the Ajenti service command where the service unit is present:

sudo systemctl restart ajenti

Then browse to https://SERVER_IP:8000. If the manual installation did not create a service unit, use the troubleshooting procedure below to run the panel in verbose or development mode and identify the missing service configuration or dependency.

Manual installation on RHEL

Ajenti documents RHEL 8 and later as supported. The RHEL path uses EPEL and DNF for native dependencies, followed by pip for Ajenti and the plugins you select.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. Enable EPEL

sudo dnf install epel-release

2. Install the native dependencies

sudo dnf install -y gcc python3-devel python3-pip python3-pillow python3-augeas python3-dbus chrony openssl-devel redhat-lsb-core

This installs the compiler, Python development package, pip, image and Augeas bindings, D-Bus support, time synchronization, OpenSSL development files and the RHEL distribution identification package named in Ajenti’s guide.

3. Install Ajenti and the plugins you need

The RHEL instructions then use pip to install ajenti-panel and the desired Ajenti plugins. Keep the plugin list deliberately scoped to your administrative needs. If you use a Python virtual environment, activate it before running pip so the panel’s packages remain separate from system Python.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

4. Restart and connect

Once the package installation is complete, restart the Ajenti service and connect to https://SERVER_IP:8000. Use the documented root bootstrap credentials, then apply the firewall and autologin precautions before leaving the panel reachable from an untrusted network.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Secure the first login

Restrict TCP 8000

Create an allow rule for the administrator IP addresses that need the panel and deny broad public access. Apply the rule in the cloud firewall and on the VPS host firewall when both layers are enabled. The exact interface and syntax depend on your VPS platform and distribution, so do not copy a firewall command intended for a different system.

Protect the root credential

The initial Ajenti login uses the system root password. Use a long, unique password and protect the SSH and VPS account that controls it. Do not paste the password into shell history, support tickets or browser autofill on a shared machine.

Leave autologin disabled

Ajenti warns that autologin on a public system is a security issue. Require authentication each time the panel is opened, particularly when port 8000 can be reached outside a private administration network.

Keep the HTTPS URL intact

Use the HTTPS address, including port 8000. If the browser warns that the certificate is missing or invalid, fix Ajenti’s certificate generation rather than switching to an unencrypted HTTP URL.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common installation and first-run failures

“externally managed environment” from pip

This indicates that the legacy OS-level installation is colliding with the distribution’s protected Python environment. It is especially common on Ubuntu 24.04 and Debian 12 or later. Do not force pip to modify system Python. Re-run the virtual-environment installer:

curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install-venv.sh | sudo bash -s -

After it finishes, restart Ajenti with sudo systemctl restart ajenti and try the HTTPS URL again.

The browser receives an empty response after login

Ajenti’s installation guide gives this upgrade command for the bundled Python environment:

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
/opt/ajenti/bin/python3 -m pip install gipc gevent -U

Run it with the privileges required to write to /opt/ajenti. Restart the service after the packages are upgraded, then retry the login.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The HTTPS certificate is missing

Generate Ajenti’s certificate with:

/opt/ajenti/bin/python3 /opt/ajenti/bin/ajenti-ssl-gen $(hostname)

The command uses the VPS hostname as the certificate-generation argument. Restart the service after generation and reconnect to the HTTPS endpoint.

The service will not start

Start by reading Ajenti’s main log and any crash log:

/var/log/ajenti/ajenti.log
/var/log/ajenti/crash-DATE.log

The crash filename contains the date, so list the directory and open the newest matching file. Look for the first dependency, permission or certificate error rather than treating later traceback lines as separate failures.

For foreground diagnostics, stop the service and run the panel in verbose mode:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
/usr/local/bin/ajenti-panel -v

Ajenti also documents development mode:

/usr/local/bin/ajenti-panel --dev

Use one diagnostic mode at a time. The terminal output can reveal a Python import failure or another startup problem that is not obvious from the browser’s connection error. Return to the service unit after diagnosing the cause instead of leaving a development process running as the permanent panel.

The panel opens, but the login does not work

Verify that you are using username root and the current system root password. A password for an SSH user without root access is not the documented default Ajenti credential. If the root password was changed after installation, use the current value, not the one that existed when the installer ran.

The browser cannot reach port 8000

Check the URL first: it must be https://SERVER_IP:8000. Then check both firewall layers for a rule that allows your administrator IP. If the service still does not respond, return to /var/log/ajenti/ajenti.log and the verbose panel command; a service startup failure and a blocked network port produce similar browser symptoms but require different fixes.

Operational checklist

  • Confirm the VPS runs Debian 9+, Ubuntu 18.04 (Bionic)+ or RHEL 8+.
  • Use the virtual-environment installer on Debian 12+ and Ubuntu 24.04+.
  • Restart the service with sudo systemctl restart ajenti.
  • Connect through https://SERVER_IP:8000.
  • Use root and the system root password only as the initial login.
  • Restrict TCP 8000 in the cloud and host firewalls.
  • Keep autologin disabled on public systems.
  • For an empty response, upgrade gipc and gevent in /opt/ajenti/bin/python3.
  • For a missing certificate, run Ajenti’s ajenti-ssl-gen command.
  • When startup fails, inspect the Ajenti logs and run ajenti-panel -v or --dev.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.