Browsing category

Linux

Create Raid Configuration File ( /etc/mdadm.conf ) – Linux

RAID refers to a redundant array of independent disks; it helps you to combine multiple storage disks into a single logical unit. Data is distributed to across disks, depends upon Raid level used. Normally Linux system doesn’t automatically remember all the components that are part of the RAID set. This information has to be added […]

Setup ownCloud 5 on Fedora 18

ownCloud is a web suite that provides a cloud storage over the network, data can be uploaded via web browser or using software client. Data will be stored on the server and can be downloaded or access any time with browser. The project is based on PHP and a SQLite, MySQL, Oracle or PostgreSQL database, […]

Configure DNS on CentOS 5 / RHEL 5 with chroot

Centos/Redhat BIND normally runs as the named process owned by the unprivileged named user. Sometimes BIND is also installed using Linux chroot feature to not only run named as user named, but also to limit the files named can see.When installed, named is fooled into thinking that the directory /var/named/chroot is actually the root or […]

How to configure DNS server on CentOS 5 / RHEL 5

In Redhat Enterprise linux or Centos 5 There will be no default named .conf file in /etc directory. We Need to copy sample configuration files from /usr/share/doc/bind-9.3.4/sample/etc/ to /etc directory by using the following command. cp /usr/share/doc/bind-9.3.4/sample/etc/* /etc/ Copy zone files to /var/named directory from /usr/share/doc/bind-9.3.4/sample/var/named. cp -a /usr/share/doc/bind-9.X/sample/var/named/* /var/named We need to create the […]

Linux Commands List – Archiving & Compression

The following command will be used when you are taking the backup of data. Compressing the file to minimal size to transfer to another location. There are 3 types of compression utlities in linux basically ie .gz,.bz2 and .zip files.   Archiving & Compression Command Description # bunzip2 filename.bz2 Uncompressing “filename.bz2 to filename” # bzip2 […]