Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Disable or enable the IPv6 protocol

Disable or enable the IPv6 protocol

Disabling IPv6 support in Red Hat Enterprise Linux 7

Disable ipv6 built-in kernel module.

Edit /etc/default/grub and append ipv6.disable=1 to GRUB_CMDLINE_LINUX like the following sample: Raw

GRUB_CMDLINE_LINUX=”rd.lvm.lv=rhel/swap crashkernel=auto rd.lvm.lv=rhel/root ipv6.disable=1″

Run the grub2-mkconfig command to regenerate the grub.cfg file: Raw

# grub2-mkconfig -o […]

Compare Linux XFS vs EXT4 File System

Linux Operating System has lots of different file system alternatives, with all the existing default is commonly used ext4. File systems are generally utilized in order for handling how the information is kept soon after any program no longer is utilizing it, how accessibility to the information is managed, what other information (metadata) is linked […]

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 small portion of the memory for the […]

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 […]

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: […]

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

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 […]

Mariadb centos 7.4

Mariadb centos 7.4

vi /etc/yum.repos.d/Mariadb.repo

# MariaDB 10.1 CentOS repository list # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1

yum -y install MariaDB-server MariaDB-client

systemctl start mysql.service

mysql_secure_installation

Enter current password for root (enter for none):

Set root password? [Y/n] y

New password:

Re-enter new password:

Remove anonymous users? [Y/n] y

Disallow […]

Page 1 of 2312345...1020...Last »