Server Admin / Webhosting Panel for Raspberry Pi (Ajenti)

Introduction: Server Admin / Webhosting Panel for Raspberry Pi (Ajenti)

Hello and welcome to my first Instructable.

This guide is about installing Ajenti on a Raspberry pi.

But this guide can also be used to install ajenti on any debian based operating system.

What is Ajenti?
Ajenti is an opensource Server Admin panel that can be extended with a Webhosting panel.

For more information about Ajenti take a look on the Ajenti website and the documentation:

Website. http://www.ajenti.org/

Docs: http://docs.ajenti.org/en/latest/index.html

Step 1: Prerequesites

  • A Raspberry pi (or any other device with a debian based operating system).
  • Raspbian, Ubuntu, armbian, etc.
  • An internet Connection to download Ajenti.
  • RAM: 30MB + 5MB for each connected session.
  • Free memory for installing Ajenti

I wouldn't recommend installing Ajenti on the Raspberry Pi 1 & zero because of its low performance.

Ajenti runs does run great on the Raspberry Pi 2 & 3.

Step 2: Installing Ajenti

For installing Ajenti on Raspbian:

  1. Open up the terminal
  2. Type in:
    wget -O-   https://raw.github.com/ajenti/ajenti/1.x/scripts/... | sh<br>
  3. Press enter
  4. Wait for installation to complete. This can take a while.

For installing Ajenti on ubuntu

  1. Open up the terminal
  2. Type in:
    wget -O-    https://raw.github.com/ajenti/ajenti/1.x/scripts/... | sudo sh
  3. Press enter
  4. Enter the password.
  5. Wait for installation to complete. This can take a while.

For installing Ajenti on Armbian:

  1. Open up the terminal
  2. Type in:
    wget -O-  https://raw.github.com/ajenti/ajenti/1.x/scripts/... | sh
  3. Press enter.

  4. Enter the password.

  5. Wait for installation to complete. This can take a while.

Step 3: Installing Ajenti V - the Webhosting Panel

This step if for installing the web hosting panel.
If you don't want to make websites, this step can be skipped!

To install the webhosting add-on:

If you have Apache installed, but don't use it, remove it first:

To remove Apache on Raspbian:

Type in terminal if you have apache but don't use it:

apt-get remove apache2 

After Apache is removed you can start installing Ajenti V

To remove Apache on Ubuntu/Armbian

Type in terminal if you have apache but don't use it:

sudo apt-get remove apache2

After Apache is removed you can start installing Ajenti V

Installing Ajenti V on Rasbian:

Type in terminal if you have apache but don't use it:

apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysql<br>service ajenti restart

Installing Ajenti V on Ubuntu/Armbian

sudo apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm php5-mysql<br>service ajenti restart

Extra packages:

The standard ajenti V package comes with PHP5, MYSQL, NGINX

Extra packages can be installed for node.js, rails and python.

List with Packages additional packages.

Step 4: Connecting to Ajenti Web Panel

Connecting to Ajenti on the Raspberry Pi itself:

  1. Open up a browser
  2. Go to: https://127.0.0.1:8000 - It must be HTTPS. HTTP doesn't work.
  3. Login with:
    Username: root
    Password: admin

    It could also be:
    Username: root
    Password: Your own root password


Connecting to Ajenti from an other computer:

First it is important to get the ip-adres of the Raspberry Pi

  1. Open up the terminal on the Raspberry Pi
  2. Type in Hostname -I and press enter
  3. Write down the IP-adress
  4. Open up a browser on an other computer that is on the same network.
  5. Go to https://(THE IP ADRES):8000 - It must be HTTPS. HTTP doesn't work.
  6. You will likely get a security error, just continue
  7. Login with:
    Username: root
    Password: admin
    It could also be:
    Username: root
    Password: Your own root password

Step 5: Ajenti Is Installed

Now you ajenti should be fully installed and working

Share

    Recommendations

    • Water Contest

      Water Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Metalworking Contest

      Metalworking Contest

    Discussions

    Thanks for sharing :)