Home » CentOS

CentOS install and configure NTP to synchronize the system clock

Type the following command to install ntp:

Turn on the service

Synchronize the system clock with pool.ntp.org server:

Start the ntp:

Check the time:

Check if the bios clock matches the system clock:…

Read More »

CentOS Firewall

Activating the IPTables Service The firewall rules are only active if the iptables service is running. To manually start the service, use the following command:

To ensure that iptables starts when the system is booted, use the…

Read More »

Linux: Setup as DNS Client / Name Server IP Address

Many new Linux user finds it difficult to setup / modify new name server address (NS1 / NS2). Local name resolution is done via /etc/hosts file. If you have small network, use /etc/hosts file. DNS (domain name service…

Read More »

CentOS Configuring Proxy Server Access for Yum

To enable all yum operations to use a proxy server, specify the proxy server details in /etc/yum.conf. The proxy setting must specify the proxy server as a complete URL, including the TCP port number. If your proxy server…

Read More »

Adding a physical disk to LVM in Redhat/CentOS

Source Problem: My computer only has 20GB of disk space. I just have 1 partition. I want to add another disk (40GB). I don’t want to add another partition (and I really don’t want to reinstall the whole…

Read More »