arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Install Ajenti Control Panel
#1
Introduction

Ajenti is an open source, web-based control panel that can be used for a large variety of server management tasks. It can install packages and run commands, and you can view basic server information such as RAM in use, free disk space, etc. All this can be accessed from a web browser. Optionally, an add-on package called Ajenti V allows you to manage multiple websites from the same control panel.

[Image: ajenti-control-panel.png]


Prerequisites

Before you can install Ajenti, you need:
  • Registered domain name or you can use your server IP Address
  • Clean Ubuntu 14.04 Droplet configured with the host name panel.example.org
  • A non-root user with sudo privileges.
All the commands in this tutorial should be run as a non-root user. If root access is required for the command, it will be preceded by sudo


Installing Ajenti

In this step, we will install the Ajenti core panel.
On your server, as a user with sudo access, first add the repository key. This is used to validate the sources of the Ajenti packages you will be installing.
wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add -

Then add the actual repository to your sources list:
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" | sudo tee -a /etc/apt/sources.list

Now you can update your packages and begin the install process by running:
sudo apt-get update && sudo apt-get install ajenti

When it prompts you to continue, type

and press
ENTER

The install process may take a few minutes. After the process is over, start the Ajenti server:
sudo service ajenti restart

If all goes well, the last line in your console should say
* started

You can continue to the next step.


Configuring Ajenti

Here we will make a few important starting modifications to your control panel. Open a web browser and browse to
https://panel.your_domain_name:8000/

If you did not configure a registered domain name to point to your Droplet as panel.yourdomainname, you will need to go to
https://your_server_ip:8000/

Note: You will get a privacy error (a red lock in Chrome). This is completely normal because Ajenti uses a self-signed certificate by default. There is no reason to change this, and your connection is still secure.

In Google Chrome, click the Advanced link on the Privacy error page, and then click
Proceed to panel.example.com.

Once again, this is not unsafe.

Log in with these default credentials:

Username
: root (if not work try admin)
Password: admin

You will now be inside your new Ajenti control panel.
[Image: ajenti-control-panel-2.png]

Before we do anything else, click the Password option in the sidebar. Under old password type admin and then set a new password. From this moment on, to log into your control panel you will use:

Username: root
Password: your_new_password

Now click the Configure option in the left sidebar, it will be right above Password. Scroll down to the bottom, and click the Restart button. When it prompts you to restart Ajenti, click OK. This is restarting the Ajenti service. While it is doing so, your browser will display
Reconnecting...

If this goes on for more than a minute, refresh your browser page.

After it restarts, log in with your new credentials and proceed to the next step.


Customizing Ajenti

The main page in Ajenti is the dashboard, and it can be customized to serve lots of useful and relevant information in an easy to read manner. By default a few widgets are already shown such as CPU Usage and Uptime. More widgets can easily be added by clicking the Add Widget button in the top right corner of the screen.
[Image: ajenti-add-widgets.png]


Plugins

Ajenti already has a lot of functionality built in by default, but if you want even more settings and configurable items in your panel, you can check out the Plugins section. Some plugins are enabled by default, while others aren't, usually due to unsatisfied dependencies.

You can install disabled plugins by clicking on them in the Plugins menu and pressing the button next to the dependency it requires. Otherwise, if you later install an application manually and Ajenti has a plugin for, you can restart Ajenti and the corresponding menu should appear next time you log in.


System Management

Under the System section in the sidebar, there's a plethora of configurable items to choose from. You can manage hard drives with the Filesystems menu, change the nameservers of your Droplet in Nameservers, add any packages and applications you'd need in the Packages section, and much more.

Filesystems menu:

[Image: ajenti-filesystems.png]


Nameservers menu:

[Image: ajenti-nameservers.png]


Users menu:

[Image: ajenti-users.png]


Packages menu:

[Image: ajenti-packages.png]


Installing Ajenti V to Setup a Website


Optionally, you can now install Ajenti V, which will allow you to make a website. In your Ajenti control panel on the left sidebar, click the Terminal option. It's located under the Tools section. This terminal functions as a terminal emulator in your browser for direct access to your server. Click + New at the top of the screen, and click the middle of the empty black box that appears. This will open up the terminal. It may take a moment to load.

Note: Commands run in the Ajenti terminal will be run as the root user.

Towards the bottom of the screen there is a box labeled Paste here. Click inside that and paste the following command into that box:
apt-get install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm ajenti-v-mail ajenti-v-nodejs php5-mysql

Then press ENTER. When prompted whether or not to install the packages, type Y, and then press ENTER again. Some popups may appear on the screen such as this:
[Image: ajenti-v-installation.png]

For prompts such as these, just press ENTER for the options that are preselected. No configuration is required. MySQL may ask you multiple times to enter a root password. Press ENTER when it asks to keep the current password, which is fine for the purposes of this tutorial.

When it finishes, click the X next to Terminal 0 at the top of the screen to return to the home. Go back to the Configure menu from the sidebar, and restart Ajenti with the button at the bottom of the screen. You will need to log in again.


When Ajenti restarts, you should see a Web section in the sidebar and a Websites option immediately below that. From the Websites view you can add and manage websites as well as monitor your configuration to make sure everything is working properly.
[Image: ajenti-websites.png]



Conclusion

Ajenti and Ajenti V are now installed on your server.
#2
Thread should be moved to Tutorials Section and the Title need a little modification,
@alaa92, may i change the title to? "Installation of Ajenti-CP" or "How to install Ajenti-CP"

and also tell me if you have something better in you mind for title
#3
quick automatic install
wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-ubuntu.sh | sudo sh


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
1,255
05-09-2021, 04:39 PM
Last Post: deanhills

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting