Sunday 29 April 2018

How to Set the Time zone in Centos 7/ RHEL 7



By default, In the Centos 7 the time zone will be set to UTC time, so need to change to the time zone according to our setup / site NTP server.

How to configure the Static IP Address on Centos7/RHEL7 Server



To configure the static IP address, Route and DNS to the Linux box Centos 7, edit the interface configuration file under /etc/sysconfig/network-scripts/ directory and append the below line in the end the file:

How to rename a network interface on Centos/RHEL 7



In Centos / RHEL 7, a new NIC naming scheme is the predictable naming rule is adopted by default like ens192, enp3s0 and eth0 so on. To disable the predictable naming rule we can pass "net.ifnames=0" kernel parameter during boot.

Thursday 26 April 2018

How to restore Database Backup in MySQL



If we have a saved MySQL database taken using mysqldump script, use the following command to restore the backup in MySQL database.

How to install Gnome GUI on CentOS 7/RHEL 7



By default, CentOS 7/ RHEL 7 installed as the minimal and also system administrators like to work in a terminal. However if we have installed CentOS7/RHEL7 without the GUI we can always install on the minimal server installation.

Monday 23 April 2018

How to Take Backup of a specific Table in MySQL



Sometimes, there is a requirement to make a backup of a specific table in MySQL. The complete database backup could take more time to complete. Instead of backing up the entire database, we can make the backup of a single table using mysqldump.

Wednesday 18 April 2018

How to disable Network Manager on Centos7/RHEL7



The Network Manager Service is enabled by default on Centos7/RHEL7 installations. Network Manager is not suitable for advanced networking setup, such as configuring network bridge, aliases, Open Stack networking, forwarding network traffic, etc.

Tuesday 17 April 2018

How to Setup Network Bridge with NIC bonding in RHEL7/Centos7



Network Bridge: A software bridge can be used within a Linux host in order to emulate a hardware bridge. This network bridge allows virtual machines to have access to the external network and vice-versa and allow communicating between different Network VLANs [Trunk VLANs].

Saturday 7 April 2018

How to reset MySQL root password in Linux



If you encounter problems when you try to connect to the MySQL server and you don’t have root password to login in MySQL.

How to configure SFTP Server on Centos7/RHEL7 - One user



SSH File Transfer Protocol (SFTP) is application protocol designed to allow easily transfer files between computers. Many users prefer to use SFTP. SFTP provides file access, transfer, and management tools that resemble FTP through a secure SSH connection. However, SFTP is not merely FTP over SSH. Instead, it is an entirely separate protocol. 

How to find out version of Amazon Linux AMI



How to get the version/distribution/ release information of Linux that is running on the EC2 instance running Linux via command line?

How to find out OS version in Centos7/RHEL7



How to get the version/distribution/ release information of Linux that is running Centos7/RHEL7 via command line?