Cockpit is a web-based app/interface that is used to administer and monitor servers and system resources. Two very fantastic things about cockpit is that: a) it has no locked-in feature, meaning you can use it alongside other similar tools b) when it is idle or not in use, it uses no memory neither does it consume any server resource. And one of my favorite features is the ability to access the Linux terminal from the cockpit console. See the following guide on how to install Cockpit on Ubuntu.
I will be explaining the installation process with the rpm command and right off the bat, I will say you are most likely going to experience some dependency resolution failures (depending on the package you downloaded and the Linux distribution) but do not fret, techdirectarchieve got you to the end.
Download/Installation of the Cockpit package and its dependencies. Four of the most likely dependencies you may run into are cockpit based and they are
- cockpit-system: wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/cockpit-system-195.6-1.el7.centos.noarch.rpm
rpm –Uvh cockpit-system-195.6-1.el7.centos.noarch.rpm
cockpit-bridge: wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/cockpit-bridge-195.6-1.el7.centos.x86_64.rpm
rpm –Uvh cockpit-bridge-195.6-1.el7.centos.x86_64.rpm
cockpit-doc: wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/cockpit-doc-195.6-1.el7.centos.x86_64.rpm
rpm –Uvh cockpit-doc-195.1-1.el7.centos.0.1.x86_64.rpm
cockpit-ws : wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/cockpit-ws-195.6-1.el7.centos.x86_64.rpm
rpm –Uvh cockpit-ws-195.6-1.el7.centos.x86_64.rpm
All these packages can be found at http://mirror.centos.org/centos/7/extras/x86_64/Packages/
Download and install the cockpit package:
rpm –Uvh cockpit-195.6-1.el7.centos.x86_64.rpm
When the installation is done, start the service socket for the cockpit with systemctl start cockpit.socket and then enable it across reboots using systemctl enable cockpit.socket
Finally, configure firewall access using the following commands;
firewall-cmd --add-service=cockpit –permanent
Login to the cockpit console by going to your Linux web interface and typing http:your-i-p-address:9090 . e.g http:xx.xxx.xxx.xx:9090
It will require you to input your Linux login details. When you successfully log in, you will see a plethora of things about your system. Scroll down, you would see %CPU usage, Memory & Swap, Network Traffic, Disk I/O et cetera.
On the left side is a Navigation pane for the different Administration tools you can put to some good administrative use.
One thing you can very conveniently do here is to save public SSH Keys.
As I mentioned earlier, it has a very easy and user friendly interface; just move the cursor around and click on buttons.
I hope you have found this tutorial helpful.