Home » CentOS

CentOS install and configure NTP to synchronize the system clock

Type the following command to install ntp: [root@myServer ~] # yum install ntp Turn on the service [root@myServer ~] # chkconfig ntpd on Synchronize the system clock with pool.ntp.org server: [root@myServer ~] # ntpdate pool.ntp.org Start the ntp:…

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: [root@myServer ~] # service iptables restart To ensure that iptables starts when 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 »