How to install Cockpit in Ubuntu
How to install Cockpit in Ubuntu
Cockpit is a free and open source web-based system management tool through which users can easily monitor and manage multiple remote Linux servers. It is very thin and light weight utility. The user can easily monitor the terminal errors through the cockpit journal interface. This tutorial covers the cockpit on Ubuntu.
Installation procedure
To start with the installation procedure, add the repository to the system by executing the following command.
root@linuxhelp:/home/user1/Desktop# add-apt-repository ppa:cockpit-project/cockpit
Cockpit makes it easy to administer your GNU/Linux servers via a web browser.
More info: https://launchpad.net/~cockpit-project/+archive/ubuntu/cockpit
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp_9hqvtz1/secring.gpg' created
gpg: keyring `/tmp/tmp_9hqvtz1/pubring.gpg' created
gpg: requesting key C99782CC from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp_9hqvtz1/trustdb.gpg: trustdb created
gpg: key C99782CC: public key " Launchpad PPA for Cockpit" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
The repository is added to the target system. Run the apt-get update command to update the local repository index.
root@linuxhelp:/home/user1/Desktop# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:2 http://ppa.launchpad.net/cockpit-project/cockpit/ubuntu xenial InRelease [18.1 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:6 http://ppa.launchpad.net/cockpit-project/cockpit/ubuntu xenial/main amd64 Packages [2,708 B]
Get:7 http://ppa.launchpad.net/cockpit-project/cockpit/ubuntu xenial/main i386 Packages [2,700 B]
Get:8 http://ppa.launchpad.net/cockpit-project/cockpit/ubuntu xenial/main Translation-en [1,116 B]
Fetched 24.6 kB in 1s (18.9 kB/s)
Reading package lists... Done
The target system is updated with the required repository. Install the cockpit package by executing the following command.
root@linuxhelp:/home/user1/Desktop# apt-get install cockpit
Reading package lists... Done
Building dependency tree
Reading state information... Done
&hellip
&hellip
&hellip
Setting up cockpit (140-0) ...
Setting up cockpit-networkmanager (140-0) ...
Setting up cockpit-storaged (140-0) ...
Open the web browser and navigate to the following URL http://192.168.7.248:9090 and it leads to the cockpit login page.
After entering the cockpit credentials, the cockpit dashboard appears and the user can view the CPU, memory, disk and network traffic information.
The user can also view the system logs of the target servers.
The storage used by the target machine can be viewed in the application.
The networking details of the target servers can also be viewed in the application.
There are two default user accounts namely root and user1 which the user can configure accordingly.
There is a list of services in the application dashboard from which the user can choose from.
The terminal can also be accessed via this cockpit application.
Wasn' t that an easy installation procedure? The cockpit management tool is easy to user and has no interference and also supports multi-server.
Comments ( 0 )
No comments available