Install cockpit on Ubuntu 16.04
Cockpit. A remote manager for GNU/Linux servers. Cockpit is a server manager that makes it easy to administer your GNU/Linux servers via a web browser.
Cockpit helps make linux system administrator, system maintainers and DevOps easy to manage their server and to perform simple tasks, such as administering storage, inspecting journals, starting and stopping services and more.
You can monitor and administer several servers at the same time. Just add them with a single click and your machines will look after its buddies.
IP Address – 172.17.56.101/24 also i am using my aws live domain name
sudo add-apt-repository ppa:cockpit-project/cockpit
After adding the repository execute the bellow command from your terminal
sudo apt-get update
After completed the update process run the bellow command for install the cockpit
sudo apt-get install cockpit
After complete installation just start and enable the service through bellow commands
systemctl start cockpit.socket systemctl enable cockpit.socket
Cockpit by default runs on port 9090,therefore if firewall is enabled,allow the port by executing the following command:
ufw allow 9090/tcpNow go to your browser and log on using your hostname or IP address in the format similar to one below:
https://<ip address>:9090 or https://<hostname>:9090
Now, we'll be asked to enter the login details in order to enter into the dashboard. Here, the username and password is the same as that of the login details we use to login to our linux server. After we enter the login details and click on Log In button, we will be welcomed into the Cockpit Dashboard.