Installing Ajenti Linux Server Management Software on Ubuntu

Enter this command in Terminal to install the Agenti Linux server management software:

wget -O- | sudo sh

The above command may appear to be wrapped from one line to the next, but it should be pasted in as one complete command.

More comprehensive instructions can be found on the Ajenti installation instructions page.

After installing, go to this address in your browser https://localhost:8000/ and then when warned about the connection not being private (if using Google Chrome), then click the Advanced link. Then click Proceed to local host (unsafe). The reason for the alert is that you don’t have an SSL certificate on your local computer.

Installation Process

Below is an example of what you’ll see during installation. The text in bold is what you type.

username@computername:~$ wget -O- | sudo sh
–2014-11-30 19:22:38–
Resolving (… [sudo] password for username:
Connecting to (||:443… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: [following]
–2014-11-30 19:22:39–
Resolving (…
Connecting to (||:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 472 [text/plain]
Saving to: ‘STDOUT’

100%[======================================>] 472 –.-K/s in 0s

2014-11-30 19:22:39 (78.9 MB/s) – written to stdout [472/472]

(If the installation gets stuck at this point, you may need to press Enter).

Sorry, try again.
[sudo] password for username:
:: Installing repo key
–2014-11-30 19:23:23–
Resolving (…
Connecting to (||:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1716 (1.7K) [application/octet-stream]
Saving to: ‘STDOUT’

100%[======================================>] 1,716 –.-K/s in 0s

2014-11-30 19:23:23 (3.48 MB/s) – written to stdout [1716/1716]

:: Adding repo entry
:: Updating lists
Get:1 main InRelease [11.7 kB]
Get:2 main/main amd64 Packages [6,494 B]
Get:3 main/ubuntu amd64 Packages [3,534 B]
Ign stable InRelease
Ign trusty-security InRelease
Get:4 main/main i386 Packages [6,493 B]
Ign trusty InRelease
Get:5 main/ubuntu i386 Packages [3,534 B]
Hit stable Release.gpg
Hit trusty-security Release.gpg
Ign trusty-updates InRelease
Hit stable Release
Hit trusty-security Release
Ign trusty-backports InRelease
Hit stable/main amd64 Packages
Ign trusty InRelease
Hit trusty-security/main Sources
Hit trusty Release.gpg
Hit stable/main i386 Packages
Hit trusty-security/restricted Sources
Get:6 trusty-updates Release.gpg [933 B]
Hit trusty-security/universe Sources
Hit trusty Release.gpg
Hit trusty-backports Release.gpg
Hit trusty-security/multiverse Sources
Hit trusty Release
Hit trusty-security/main amd64 Packages
Hit trusty Release
Get:7 trusty-updates Release [62.0 kB]
Hit trusty-security/restricted amd64 Packages
Hit trusty-security/universe amd64 Packages
Hit trusty/main Sources
Hit trusty-security/multiverse amd64 Packages
Hit trusty-security/main i386 Packages
Hit trusty-backports Release
Ign stable/main Translation-en_US
Hit trusty-security/restricted i386 Packages
Hit trusty/main Sources
Hit trusty/main amd64 Packages
Ign stable/main Translation-en
Hit trusty-security/universe i386 Packages
Hit trusty/restricted Sources
Hit trusty-security/multiverse i386 Packages
Hit trusty/universe Sources
Hit trusty/main i386 Packages
Hit trusty-security/main Translation-en
Hit trusty/multiverse Sources
Hit trusty-security/multiverse Translation-en
Hit trusty/main amd64 Packages
Hit trusty-security/restricted Translation-en
Hit trusty/restricted amd64 Packages
Hit trusty/universe amd64 Packages
Hit trusty/multiverse amd64 Packages
Hit trusty-security/universe Translation-en
Hit trusty/main i386 Packages
Hit trusty/restricted i386 Packages
Hit trusty/universe i386 Packages
Hit trusty/multiverse i386 Packages
Hit trusty/main Translation-en
Hit trusty/multiverse Translation-en
Hit trusty/restricted Translation-en
Hit trusty/universe Translation-en
Get:8 trusty-updates/main Sources [143 kB]
Ign trusty/main Translation-en_US
Get:9 trusty-updates/restricted Sources [1,408 B]
Get:10 trusty-updates/universe Sources [92.0 kB]
Ign trusty/main Translation-en
Get:11 trusty-updates/multiverse Sources [3,534 B]
Get:12 trusty-updates/main amd64 Packages [369 kB]
Get:13 trusty-updates/restricted amd64 Packages [5,820 B]
Get:14 trusty-updates/universe amd64 Packages [221 kB]
Get:15 trusty-updates/multiverse amd64 Packages [9,359 B]
Get:16 trusty-updates/main i386 Packages [361 kB]
Get:17 trusty-updates/restricted i386 Packages [5,820 B]
Get:18 trusty-updates/universe i386 Packages [221 kB]
Get:19 trusty-updates/multiverse i386 Packages [9,567 B]
Hit trusty-updates/main Translation-en
Hit trusty-updates/multiverse Translation-en
Hit trusty-updates/restricted Translation-en
Hit trusty-updates/universe Translation-en
Hit trusty-backports/main Sources
Hit trusty-backports/restricted Sources
Hit trusty-backports/universe Sources
Hit trusty-backports/multiverse Sources
Hit trusty-backports/main amd64 Packages
Hit trusty-backports/restricted amd64 Packages
Hit trusty-backports/universe amd64 Packages
Hit trusty-backports/multiverse amd64 Packages
Hit trusty-backports/main i386 Packages
Hit trusty-backports/restricted i386 Packages
Hit trusty-backports/universe i386 Packages
Hit trusty-backports/multiverse i386 Packages
Hit trusty-backports/main Translation-en
Hit trusty-backports/multiverse Translation-en
Hit trusty-backports/restricted Translation-en
Hit trusty-backports/universe Translation-en
Ign trusty/main Translation-en_US
Ign trusty/multiverse Translation-en_US
Ign trusty/restricted Translation-en_US
Ign trusty/universe Translation-en_US
Ign main/main Translation-en_US
Ign main/main Translation-en
Ign main/ubuntu Translation-en_US
Ign main/ubuntu Translation-en
Fetched 1,537 kB in 5s (284 kB/s)
Reading package lists… Done
:: Installing package
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libatk-bridge2.0-0:i386 libatspi2.0-0:i386 libcairo-gobject2:i386
libcolord1:i386 libdbusmenu-gtk3-4:i386 libgtk-3-0:i386 liblcms2-2:i386
libwayland-client0:i386 libwayland-cursor0:i386 libxkbcommon0:i386
linux-image-3.13.0-32-generic linux-image-extra-3.13.0-32-generic
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
apt-show-versions python-catcher python-daemon python-exconsole
python-gevent python-gevent-socketio python-gevent-websocket python-greenlet
python-ldap python-mako python-markupsafe python-passlib python-psutil
python-reconfigure python-requests python-support python-urllib3
Suggested packages:
python-gevent-doc python-gevent-dbg python-greenlet-doc python-greenlet-dev
python-greenlet-dbg python-ldap-doc python-pyasn1 python-beaker
The following NEW packages will be installed:
ajenti apt-show-versions python-catcher python-daemon python-exconsole
python-gevent python-gevent-socketio python-gevent-websocket python-greenlet
python-ldap python-mako python-markupsafe python-passlib python-psutil
python-reconfigure python-requests python-support python-urllib3
0 upgraded, 18 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,873 kB of archives.
After this operation, 8,717 kB of additional disk space will be used.
Get:1 main/main python-gevent-socketio all 0.3.6-1 [27.4 kB]
Get:2 main/main python-reconfigure all 0.1.64 [29.8 kB]
Get:3 trusty/universe python-support all 1.0.15 [26.7 kB]
Get:4 main/ubuntu python-passlib all 1.5.3-2 [156 kB]
Get:5 main/main python-catcher all 0.1.7 [5,338 B]
Get:6 main/main python-exconsole all 0.1.5 [3,638 B]
Get:7 trusty/main python-greenlet amd64 0.4.2-1build1 [16.7 kB]
Get:8 main/main ajenti all [1,056 kB]
Get:9 trusty/main python-gevent amd64 1.0-1ubuntu1 [215 kB]
Get:10 trusty/universe python-gevent-websocket all 0.9.3-1 [15.3 kB]
Get:11 trusty/main python-psutil amd64 1.2.1-1ubuntu2 [50.2 kB]
Get:12 trusty/universe python-daemon all 1.5.5-1ubuntu1 [17.5 kB]
Get:13 trusty/main python-urllib3 all 1.7.1-1build1 [38.9 kB]
Get:14 trusty-updates/main python-requests all 2.2.1-1ubuntu0.1 [42.9 kB]
Get:15 trusty/universe apt-show-versions all 0.22.3 [33.9 kB]
Get:16 trusty/main python-markupsafe amd64 0.18-1build2 [14.3 kB]
Get:17 trusty/main python-mako all 0.9.1-1 [59.6 kB]
Get:18 trusty/main python-ldap amd64 2.4.10-1build1 [63.9 kB]
Fetched 1,873 kB in 0s (2,320 kB/s)
Selecting previously unselected package python-support.
(Reading database … 226577 files and directories currently installed.)
Preparing to unpack …/python-support_1.0.15_all.deb …
Unpacking python-support (1.0.15) …
Selecting previously unselected package python-greenlet.
Preparing to unpack …/python-greenlet_0.4.2-1build1_amd64.deb …
Unpacking python-greenlet (0.4.2-1build1) …
Selecting previously unselected package python-gevent.
Preparing to unpack …/python-gevent_1.0-1ubuntu1_amd64.deb …
Unpacking python-gevent (1.0-1ubuntu1) …
Selecting previously unselected package python-gevent-websocket.
Preparing to unpack …/python-gevent-websocket_0.9.3-1_all.deb …
Unpacking python-gevent-websocket (0.9.3-1) …
Selecting previously unselected package python-gevent-socketio.
Preparing to unpack …/python-gevent-socketio_0.3.6-1_all.deb …
Unpacking python-gevent-socketio (0.3.6-1) …
Selecting previously unselected package python-psutil.
Preparing to unpack …/python-psutil_1.2.1-1ubuntu2_amd64.deb …
Unpacking python-psutil (1.2.1-1ubuntu2) …
Selecting previously unselected package python-reconfigure.
Preparing to unpack …/python-reconfigure_0.1.64_all.deb …
Unpacking python-reconfigure (0.1.64) …
Selecting previously unselected package python-daemon.
Preparing to unpack …/python-daemon_1.5.5-1ubuntu1_all.deb …
Unpacking python-daemon (1.5.5-1ubuntu1) …
Selecting previously unselected package python-passlib.
Preparing to unpack …/python-passlib_1.5.3-2_all.deb …
Unpacking python-passlib (1.5.3-2) …
Selecting previously unselected package python-urllib3.
Preparing to unpack …/python-urllib3_1.7.1-1build1_all.deb …
Unpacking python-urllib3 (1.7.1-1build1) …
Selecting previously unselected package python-requests.
Preparing to unpack …/python-requests_2.2.1-1ubuntu0.1_all.deb …
Unpacking python-requests (2.2.1-1ubuntu0.1) …
Selecting previously unselected package apt-show-versions.
Preparing to unpack …/apt-show-versions_0.22.3_all.deb …
Unpacking apt-show-versions (0.22.3) …
Selecting previously unselected package python-markupsafe.
Preparing to unpack …/python-markupsafe_0.18-1build2_amd64.deb …
Unpacking python-markupsafe (0.18-1build2) …
Selecting previously unselected package python-mako.
Preparing to unpack …/python-mako_0.9.1-1_all.deb …
Unpacking python-mako (0.9.1-1) …
Selecting previously unselected package python-catcher.
Preparing to unpack …/python-catcher_0.1.7_all.deb …
Unpacking python-catcher (0.1.7) …
Selecting previously unselected package python-exconsole.
Preparing to unpack …/python-exconsole_0.1.5_all.deb …
Unpacking python-exconsole (0.1.5) …
Selecting previously unselected package python-ldap.
Preparing to unpack …/python-ldap_2.4.10-1build1_amd64.deb …
Unpacking python-ldap (2.4.10-1build1) …
Selecting previously unselected package ajenti.
Preparing to unpack …/ajenti_1.2.22.16_all.deb …
Unpacking ajenti ( …
Processing triggers for man-db ( …
Processing triggers for ureadahead (0.100.0-16) …
ureadahead will be reprofiled on next reboot
Setting up python-support (1.0.15) …
Setting up python-greenlet (0.4.2-1build1) …
Setting up python-gevent (1.0-1ubuntu1) …
Setting up python-gevent-websocket (0.9.3-1) …
Setting up python-gevent-socketio (0.3.6-1) …
Setting up python-psutil (1.2.1-1ubuntu2) …
Setting up python-reconfigure (0.1.64) …
Setting up python-daemon (1.5.5-1ubuntu1) …
Setting up python-passlib (1.5.3-2) …
Setting up python-urllib3 (1.7.1-1build1) …
Setting up python-requests (2.2.1-1ubuntu0.1) …
Setting up apt-show-versions (0.22.3) …
** initializing cache. This may take a while **
Setting up python-markupsafe (0.18-1build2) …
Setting up python-mako (0.9.1-1) …
Setting up python-catcher (0.1.7) …
Setting up python-exconsole (0.1.5) …
Setting up python-ldap (2.4.10-1build1) …
Setting up ajenti ( …

:: Generating key

Generating RSA private key, 2048 bit long modulus
e is 65537 (0x10001)

:: Generating certificate request
:: Removing passphrase

writing RSA key

:: Generating certificate

Signature ok
subject=/C=US/ST=NA/L=Nowhere/O=Acme Inc/OU=IT/CN=GregLinux
Getting Private key
:: SSL configured!
Now start Ajenti with ‘service ajenti restart’
Ajenti will listen on HTTPS port 8000 by default

Default username : root
Default password : admin
Processing triggers for python-support (1.0.15) …
Processing triggers for ureadahead (0.100.0-16) …
:: Done! Open https://<address&gt;:8000 in browser

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s