ntp – installation and configuration

ntp server

You need to install the following packages: ntp : ntpd server which continuously adjusts system time and utilities used to query and configure the ntpd daemon. ntpdate : Utility to set the date and time via NTP. ntp-doc : NTP documentation Open the terminal or login over the ssh session. You must login as as … Read more

Changing a file’s Date Created and Last Modified attributes in linux

Linux yum

Easiest way – accessed modified will be the same: # touch -a -m -t 201512180130.09 fileName.txt Where: -a = accessed -m = modified -t = timestamp – use [[CC]YY]MMDDhhmm[.ss] time format If you wish to use NOW just drop the t and the timestamp You can add *.txt file to change the attributes of all … Read more

Changing centos/redhat run level init 3

chane run level centos

What is a runlevel ? Runlevel is the preset state in which a Linux system operates. Below mentioned are the different runlevels of a Linux system in which a linux system can be operated 0-  halt or shutdown 1- single user mode 2- multi user mode without NFS 3- full multi-user mode 4- not used … Read more

Change the default port number for Apache HTTP Server

We know that as default the Apache HTTP Server will ping to port number 80 . What we have to do when a situation of changing this post number comes? Lets see some simple steps for this… 1. Assume that your new port number is 8087 2. cp /etc/httpd/ports.conf /etc/httpd/ports.conf_backupgedit /etc/httpd/ports.conf 3. Find this line- … Read more