Earlier many system admins were using telnet to check if a port is open on remote machine. But, because of security concerns telnet is now not recommended to be installed on most linux boxes.
But hey we still need to check the remote port. This is part of normal troubleshooting in a linux admin’s life.
So, instead of using telnet you can use
nc. netcat or nc is a simple tool which is generally installed by default in linux distributions or you can install it with instructions below.
Continue reading “Solved : Check without telnet if port is open on remote host – Linux”
Q What is Shell?
Ans: Shell is a command interpreter, which interprets the command which the user gives to the kernel. It can also be defined as an interface between a user and operating system.
Q How to debug the problems encountered in shell script/program?
Continue reading “Real shell scripting interview questions”
Many people have asked us how to become a DevOps engineer so in this post we will show you the skills and technologies which can get you there.
Before we start we should know what is “DevOps”. As you can see the word is combination of “Developer” and “Operations”. So a DevOps engineer is suppose to be a bridge between the development and operations processes.
Let’s see which skills do you need to become a DevOps engineer. In this post we will also discuss how you can acquire these skills for free. We have also mentioned some advanced paid courses which can help you acquire these skills quickly.
Continue reading “Must have skills for DevOps Engineer and Free methods to learn them”
In this post we will see how to start or stop Jenkins on different Linux distributions. Also we will see how to check the status of Jenkins service and identify the port on which it is running or listening.
Continue reading “Solved: How to start or stop Jenkins in Linux and check it’s port number”
In this post we will see how to change the disk label from EFI to SMI in a Solaris server.
Before you decide to change the disk label ensure that the disk doesn’t have any important data. If needed take backup of the disk. As during label change all the data will be removed from the disk.
Continue reading “Solved: How to change from EFI to SMI label and vice-versa”
Once you have installed python 3.6 as described in the
last post you can create virtual environment to work with it.
First let’s install the package of virtual environment for python 3.
Continue reading “Solved: Create virtual environment with python 3 in linux”
In this post we will show you how to install python 3 in a Linux box. We have Centos 7 installed in our server.
Check installed python version
Most of the Linux versions by default have python installed. So let’s check the current version.
[ec2-user@cloudvedas ~]$ python --version
As we can see from the above output, currently we have Python 2 installed and we need Python 3 so let’s install it.
Continue reading “Solved: Install Python 3 in Linux and set it as default”
In this post we will show you how you can manage the spam comments on your website without installing a plugin or tweaking the code.
All of us who manage a website or blog knows what a menace are spam comments. These spam can easily ruin the experience of your visitors and may also degrade your ranking in search engines.
Continue reading “Solved: Block spam in WordPress for free without plugin or coding”
This post is divided in two sections. In the first section you will see how to create an EBS volume and in the next section we will show you how to configure the EBS volume in windows instance.
Create EBS Volume
Continue reading “Solve: How to add an EBS volume to a Windows EC2 instance and configure it”
In this post we will see how to grow a Linux filesystem without reboot.
Let’s check our current filesystem. We want to extend this filesystem by 200MB.
[root@cloudvedas CVFS1]# df -h /CVFS1
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/cvsvg-cldvdsvol1 47M 12M 32M 26% /CVFS1
First check if we have free space in VG
Continue reading “Solved: How to extend or grow a linux filesystem under LVM”