Administration

How to get Linux Docker IP address

Docker is a high level framework for Linux containers which could be next level for virtualising applications and VM's. Some times it is require to get ip address of a docker so that you can try to check a service running on it or try to ssh at 22 port on the IP address assigned(…)

How to install and enable EPEL repo in RHEL/CentOS/Oracle Linux?

What is EPEL repo? EPEL(Extra Packages for Enterprise Linux) is a repo developed by Fedora project to ensure that there is a quality 3rd party packages available for enterprise users such as people who are using RHEL, Cent OS, Oracle Linux and Scientific Linux. These are highly used enterprise Linux OS which are shipped with(…)

Puppet: How to remove node from master

Q) How can I remove a register a puppet agent from puppet master? Some times it is required to remove a host(puppet node) from the register master. To achive this we have to run puppet cert command and have to manually remove entries from site.pp or other *.pp files where that host is register. This(…)

Puppet: List all the nodes in Puppet master

Q)Recently I installed couple of nodes and attached to Puppet master, How can I list all the nodes which are register with Puppet server?  Answer) There are couple of ways to list all the nodes register with master.  1)Through grepping node entries in /etc/puppet/manifests/site.pp(Though not a good way)  2)Through puppet cert command Listing entries though(…)

7 Linux/Unix gzip and gunzip command examples

This is our second post on compression and archiving series. Today we will see how to use gzip and gunzip commands with examples. Gzip(GNU zip) is a compress tool which is available in most of the Linux/Unix based operating systems. Until recent years gzip and bzip2 are most commonly used data compression tools in Linux/Unix. Though(…)

13 Zip and Unzip command examples in Linux/Unix

Zip is a compress tool which is available in most of the operating systems such as Linux/Unix, Apple OS, Microsoft OS etc. In this post we will see how to install, use and tips about zip command. How to install zip and unzip command in Linux? On Redhat, Centos and Fedora based machines yum install(…)

List installed packages and their details in Redhat/Centos/Fedore

This is a small how to on listing installed softwares in Redhat/Centos/Fedora Linux OS. We already written a post on how to get installed package details for ubuntu machines. Some times we require to list softwares which are already installed so that we will not redo the same work by installing it once again. Example1: To list installed(…)

List installed packages and their details in Ubuntu

This is a small how to on listing installed softwares in Linux Ubuntu OS. Some times we require to list softwares which are already installed so that we will not redo the same work by installing it once again. Example1: To list installed softwares execute below command dpkg –get-selections Output(clipped): xul-ext-ubufox                    install(…)

Linux alias command explained with examples

Today we will see how to set alias in Linux/Unix and save the time while typing. Hope this alias will save you number of hours. This will greatly help you to concentrate on your learning rather than just entering commands. We have to spend as less time as possible in typing and use that time(…)

How to install pip(Python Indexing Project) command in Linux?

How can I install pip(Python Indexing Project) command in Linux? The pip command is useful in installing python modules in your machine. A python module is a block of code to do a specific work. But this pip command is not available by default in CentOS/Redhat/Fedora repos we have to install Extra Packages for Enterprise(…)