Method 1 Edit file /etc/sysctl.conf, vi /etc/sysctl.conf Add the following lines: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 If you want to disable IPV6 for particular network card, for example enp0s3, add the following entry. net.ipv6.conf.enp0s3.disable_ipv6 = 1 Save and exit the file. Execute the following command to reflect the changes. sysctl -p Method 2: To IPv6 disable… Continue reading How To Disable IPv6 In CentOS 7
Tag: linux
Linux Install and Configure NTP to Synchronize The System Clock
How do I install and configure NTP under CentOS Linux version 5.x or 6.x server to synchronize the system clock? You can easily install NTP (Network Time Protocol, a means of transmitting time signals over a computer network) using the yum command under Red Hat or CentOS/Fedora Linux server or workstation based systems. You need to install… Continue reading Linux Install and Configure NTP to Synchronize The System Clock
CentOS Remove Old Kernels
Tonight when upgrading a CentOS Linux server it was noted by YUM that 15MB more disk space was needed to upgrade grub and the kernel itself. Below are four quick steps to verify what kernels are installed, install yum-utils if it is not installed already, delete previous kernels and set YUM to remove old kernels… Continue reading CentOS Remove Old Kernels