Monday, November 3, 2014

Cockpit A remote manager for GNU/Linux servers Atomic Host & Containers

Cockpit is a server manager that makes it easy to administer your GNU/Linux servers via a web browser.

Easy to use
Cockpit is perfect for new sysadmins, allowing them to easily perform simple tasks such as storage administration, inspecting journals and starting and stopping services.

No interference
Jumping between the terminal and the web tool is no problem. A service started via Cockpit can be stopped via the terminal. Likewise, if an error occurs in the terminal, it can be seen in the Cockpit journal interface.

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.

Step 1
This post will provide instructions on installing Cockpit on the newly-released Fedora 20

#yum -y install git rpm-build yum-utils make firewalld openssl && git clone && yum install trickle nbd-server npm python-libguestfs qemu mock qemu-kvm python curl libvirt-client libvirtd qemu-nbd krb5-workstation krb5-server docker-io -y && $ npm install 
phantomjs && yum update -y && reboot

Step 2

#cd cockpit
#cd ./test
# srpm=$(./make-srpm)
# yum-builddep $srpm

# mkdir build
# cd build
# ../ --prefix=/usr --enable-maintainer-mode --enable-debug
# make && make install
# cp ../src/bridge/cockpit.pam.insecure /etc/pam.d/cockpit
# sh -c "cat ../src/bridge/sshd-reauthorize.pam >> /etc/pam.d/sshd"
# systemctl start cockpit.socket
# firewall-cmd --reload
# firewall-cmd --add-service=cockpit
# firewall-cmd --add-service=cockpit --permanent
# docker pull fedora

Point your browser to https://IP-OR-NAME-OF-YOUR-VM:9090

Our Dear Friend Mircosoft fall in Love with Linux