Posts

Showing posts from January, 2021

How to Create Local Yum Repository Server on CentOS 7

Image
Create Local Yum Repository Server on CentOS 7 Here you will understand that how to create a local YUM repository server on CentOS 7. By the use of local YUM repository server, client machines can install the require rpm packages easily without internet access. Yum stands for Yellow dog updater modified, actually Yum is a local repository for RPM Packages. By use of Yum, dependencies of any packages is automatically install. Yum is a tool for the use of installing, upgrading, querying, managing and getting rpm software packages of Red Hat, CentOS, Oracle Enterprise Linux and etc. Configuration of Server Machine: Give a suitable name for local Yum repository server, here we have given the server name "repository-server". To check the name of server inside file "hostname" in directory "/etc" , type the following command. cat /etc/hostname To check the IP configuration of CentOS Linux local YUM Repository Server, type the below mention command. This command

How to Create Cron Job to Adjust Time Through Linux NTP Server

Image
Create Cron Job to Adjust Time Through Linux NTP Server In Linux base operating system daemon "Cron" is used to schedule the task automatically. Cron is also known as "Cron Job". In more simple words Cron is a tool to run a job and all of the jobs have to create in Crontab file. Crontab is a combination of Cron and Table (Cron+Table). Every users can create its own "Cron Jobs" to run the task automatically. Administrative user "root" can restrict to the other users to create "Cron Jobs", means if Administrative user "root" add other user in below mention file then user unable to create Cron Jobs.  /etc/cron.deny Cron Job is used to automate the process like synchronization of files, email message forwarding, automatic updates, run a specific task means adjust time with Linux NTP Server , data backup and many more. Here we are creating a Cron Job to adjust time through CentOS Linux NTP Server in Oracle Linux 6.5 client machin