October 2017
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

October 2017
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

YUM SERVER

YUM SERVER

#################### Y U M S E R V E R ####################

[root@server~]#vi /etc/hosts

192.168.10.253 server.example.com server

[root@server~]#rpm -qa | grep yum #require packages

yum-3.0.1-5.el5 yum-metadata-parser-1.0-8.fc6 yum-rhn-plugin-0.4.3-1.el5 yum-updatesd-3.0.1-5.el5

[root@server~]#rpm -qa | grep createrepo

createrepo-0.4.4-2.fc6 # To create repository

[root@server~]#rpm -qa | grep vsftpd #FTP service for yum server

vsftpd-2.0.5-10.el5

#service vsftpd restart #chkconfig […]

lsof command for monitoring

lsof command for monitoring In Linux operating system lsof is powerfull tool for find out various kinds of status and list of open files from all over the system, there are various options provided in lsof which helps a lot to a Linux admin in his/her day to day life. In this post I am […]

Kdump for Linux Kernel Crash Analysis

Kdump for Linux Kernel Crash Analysis

Kdump is an utility used to capture the system core dump in the event of system crashes. These captured core dumps can be used later to analyze the exact cause of the system failure and implement the necessary fix to prevent the crashes in future. Kdump reserves a […]

Backup with Rsnapshot tool

Backup with Rsnapshot tool

How To Set Red hat / CentOS Linux Remote Backup / Snapshot Server

A. rsnapshot is easy, reliable and disaster recovery backup solution. It is a remote backup program that uses rsync to take backup snapshots of filesystems. It uses hard links to save space on disk and offers following features: […]

Cluster Admin: Interview Question

Cluster Admin: Interview Question

Cluster Administration 1 What is a Cluster A cluster is two or more computers (called as nodes or members) that works together to perform a taks. 2 What are the types of cluster Storage High Availability Load Balancing High Performance 3 What is CMAN CMAN is Cluster Manager. It manages cluster […]

Linux File Systems: Ext2 vs Ext3 vs Ext4 vs Xfs

Linux File Systems: Ext2 vs Ext3 vs Ext4 vs Xfs

ext2, ext3 and ext4 are all filesystems created for Linux. This article explains the following: High level difference between these filesystems. How to create these filesystems. How to convert from one filesystem type to another.

Ext2 Ext2 stands for second extended file system. It was […]

Yum repository

Yum Repository (Yellow dog Updater)

1) mount /dev/cdrom /mnt

2)touch /data

3)rsync -prav /mnt/CentOS/ /data

4)rpm -ivh /mnt/CentOS/Createrepo-0.4.11.3.el5.noarch.rpm

5)Createrepo /data

6)cd /etc/yum.repos.d/

7)touch local.repo

8)vi local.repo ENtry, [local] name=local baseurl=file:///data/ enabled=1 gpgcheck=0 :wq

9)yum install samba

How to Configure Primary DNS Server in redhat 6 Step by Step

How to Configure Primary DNS Server in redhat 6 Step by Step Domain Name Server (DNS) Configuration and Administration

Domain Name System The Domain Name System (DNS) is the crucial glue that keeps computer networks in harmony by converting human-friendly hostnames to the numerical IP addresses computers require to communicate with each other. DNS is […]

Getting a core dump out of CentOS 7.2

Getting a core dump out of CentOS 7.2

Since Systemd took over as the main init system in Red Hat Linux and derrivatives like CentOS, it has become more difficult to get a core dump out of a daemon application. The traditional approach of running ulimit -c unlimited before executing the binary works when running […]