Many people get confused between run levels in Linux and Solaris. One major difference among these can be disastrous also. In this post we will show you the different Run levels in both these OS and what precautions you should take while working on these.
Let’s first take a look at Run levels.
Continue reading “Solved : Comparing Run Levels in Linux and Solaris and precautions with them”
To add new disk in Virtual box VM it should be in powered off state.
- Select the Virtual box VM in which you want to add the disk and power off the VM.
- Right click on the VM and go to “Settings” .
Continue reading “Solved: How to add disk in a virtual box VM”
In this post we will see how to create a docker container of ubuntu on your windows laptop.
I am using “Docker for Windows” software to run dockers on my Windows 10 laptop. You can get “Docker for Windows” by clicking on this link .
If you have Windows 7 download Docker Toolbox for Windows with Virtualbox.
Ubuntu docker creation
Continue reading “Steps to create a docker container in your laptop”
In this post we will discuss how to reset the root password of a Redhat linux server if you forgot it.
- Reboot the server
- While you are at boot menu press “Up or Down” arrow key to prevent system from booting.
- Select the boot device and press “e” to edit it.(refer Image 1)
Continue reading “Solved: How to reset root password in Redhat Linux or CentOS”
In this post we will discuss how to mount ISO in Linux VM running inside Virtualbox or VMware.
Continue reading “Solved: How to mount ISO in a linux VM”
rsync is a very useful utility which can be used to take backup or copy data from one filesystem to other. The best part with rysnc is that it considers incremental data while copying and syntax is easy.
rsync is popular with Linux and included in most versions by default. If you don’t have rsync in machine you can simply install it by following commands:-
Ubuntu / Debian
sudo ap-get update
sudo apt-get install rsync
RHEL / CentOS
yum install rsync
Continue reading “Solved: Install and use rsync in Linux and Solaris – Tips and Tricks”
In our last post we have seen how to use nmtui for network management. In this post we will see how to use nmcli for doing the same activity.
“nmcli” is a command line interface. Benefit with both nmtui and nmcli is that you don’t have to update the network configuration files manually. All the required changes are done by nmtui and nmcli themselves.
Good thing with nmcli is that you don’t have to install any extra package like nmtui. nmcli is generally included with NetworkManager.
Continue reading “Solved: How to use nmcli for adding new IP and managing network in Redhat Linux”
In this post we will see how to use nmtui for network management. This can be a very useful tool for starters in Redhat Linux 7.
Continue reading “Solved: How to use nmtui and nmcli tool to configure network in Redhat Linux”
We can use RC (Run Control) scripts present in /etc/rc* directories to start or stop a service during bootup and shutdown.
Each rc directory is associated with a run level. For example the scripts in rc3.d will be executed when the system is going in Run Level 3.
Continue reading “In what sequence startup and shutdown RC scripts are executed in Solaris”