Installing Ajenti Linux Server Management Software on Ubuntu

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

wget -O- https://raw.github.com/Eugeny/ajenti/master/scripts/install-ubuntu.sh | 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- https://raw.github.com/Eugeny/ajenti/master/scripts/install-ubuntu.sh | sudo sh
–2014-11-30 19:22:38– https://raw.github.com/Eugeny/ajenti/master/scripts/install-ubuntu.sh
Resolving raw.github.com (raw.github.com)… [sudo] password for username: 199.27.76.133
Connecting to raw.github.com (raw.github.com)|199.27.76.133|:443… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-ubuntu.sh [following]
–2014-11-30 19:22:39– https://raw.githubusercontent.com/Eugeny/ajenti/master/scripts/install-ubuntu.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 23.235.40.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.40.133|: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– http://repo.ajenti.org/debian/key
Resolving repo.ajenti.org (repo.ajenti.org)… 198.232.124.224
Connecting to repo.ajenti.org (repo.ajenti.org)|198.232.124.224|: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]

OK
:: Adding repo entry
:: Updating lists
Get:1 http://repo.ajenti.org main InRelease [11.7 kB]
Get:2 http://repo.ajenti.org main/main amd64 Packages [6,494 B]
Get:3 http://repo.ajenti.org main/ubuntu amd64 Packages [3,534 B]
Ign http://dl.google.com stable InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Get:4 http://repo.ajenti.org main/main i386 Packages [6,493 B]
Ign http://us.archive.ubuntu.com trusty InRelease
Get:5 http://repo.ajenti.org main/ubuntu i386 Packages [3,534 B]
Hit http://dl.google.com stable Release.gpg
Hit http://security.ubuntu.com trusty-security Release.gpg
Ign http://us.archive.ubuntu.com trusty-updates InRelease
Hit http://dl.google.com stable Release
Hit http://security.ubuntu.com trusty-security Release
Ign http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://dl.google.com stable/main amd64 Packages
Ign http://extras.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://us.archive.ubuntu.com trusty Release.gpg
Hit http://dl.google.com stable/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Sources
Get:6 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty-backports Release.gpg
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://us.archive.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://extras.ubuntu.com trusty Release
Get:7 http://us.archive.ubuntu.com trusty-updates Release [62.0 kB]
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports Release
Ign http://dl.google.com stable/main Translation-en_US
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://dl.google.com stable/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Get:8 http://us.archive.ubuntu.com trusty-updates/main Sources [143 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Get:9 http://us.archive.ubuntu.com trusty-updates/restricted Sources [1,408 B]
Get:10 http://us.archive.ubuntu.com trusty-updates/universe Sources [92.0 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:11 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [3,534 B]
Get:12 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [369 kB]
Get:13 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:14 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [221 kB]
Get:15 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [9,359 B]
Get:16 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [361 kB]
Get:17 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:18 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [221 kB]
Get:19 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [9,567 B]
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Ign http://repo.ajenti.org main/main Translation-en_US
Ign http://repo.ajenti.org main/main Translation-en
Ign http://repo.ajenti.org main/ubuntu Translation-en_US
Ign http://repo.ajenti.org 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
python-mako-doc
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 http://repo.ajenti.org/debian/ main/main python-gevent-socketio all 0.3.6-1 [27.4 kB]
Get:2 http://repo.ajenti.org/debian/ main/main python-reconfigure all 0.1.64 [29.8 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-support all 1.0.15 [26.7 kB]
Get:4 http://repo.ajenti.org/debian/ main/ubuntu python-passlib all 1.5.3-2 [156 kB]
Get:5 http://repo.ajenti.org/debian/ main/main python-catcher all 0.1.7 [5,338 B]
Get:6 http://repo.ajenti.org/debian/ main/main python-exconsole all 0.1.5 [3,638 B]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-greenlet amd64 0.4.2-1build1 [16.7 kB]
Get:8 http://repo.ajenti.org/debian/ main/main ajenti all 1.2.22.16 [1,056 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-gevent amd64 1.0-1ubuntu1 [215 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-gevent-websocket all 0.9.3-1 [15.3 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-psutil amd64 1.2.1-1ubuntu2 [50.2 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-daemon all 1.5.5-1ubuntu1 [17.5 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-urllib3 all 1.7.1-1build1 [38.9 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main python-requests all 2.2.1-1ubuntu0.1 [42.9 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu/ trusty/universe apt-show-versions all 0.22.3 [33.9 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-markupsafe amd64 0.18-1build2 [14.3 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-mako all 0.9.1-1 [59.6 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu/ 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 (1.2.22.16) …
Processing triggers for man-db (2.6.7.1-1ubuntu1) …
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 (1.2.22.16) …

:: 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
username@computername:~$

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.