Setup Samba file sharing for CentOS 6

The SAMBA protocol allow Linux hosts to create/mount windows compatible network shared folders. Samba shares are preferred when the LAN comprises of both Widnows and Linux computers. In this tutorial, we’ll create a samba shared folder with username/password authentication. The shared folder will be accessible to all Linux and Windows computer on the local network.
Continue reading “Setup Samba file sharing for CentOS 6”

Linux iptables Configuration Tutorial

Iptables is an extremely flexible command-line firewall utility built for Linux operating systems. It uses policy chains to allow or block traffic. When a connection tries to establish itself on your system, iptables looks for a rule in its list to match it to. If it doesn’t find one, it resorts to the default action. Securing any server will surely require a firewall configuration and iptables should be on every system admins toolbox.
Continue reading “Linux iptables Configuration Tutorial”

Manage Drives and Disk Partitions using fdisk

One of the common administrative tasks under UNIX/Linux is to add a new disk to the system to increase its storage capacity.  This tutorial will walk through on adding disk to a running system, making a partition, assigning file system and creating mount point for the new disk. The fdisk utility is very helpful especially when adding new drives to be used for Logical Volume Management (LVM).
Continue reading “Manage Drives and Disk Partitions using fdisk”

Logical Volume Management (LVM) Tutorial

What is LVM?

Logical Volume Management or LVM allow the server to utilize multiple hard drives and combine them to single storage. It allows an easy way to extend or shrink partition depending on how the user needs.
LVM also supports snapshots and cloning for easy backup of system images. LVM is used to allocating disks, striping, mirroring and resizing logical volumes. This tutorial will walk you through using LVM to manage disk partitions and filesystem sizes.
Continue reading “Logical Volume Management (LVM) Tutorial”

Setup NPTD Server and client for CENTOS 6

Network Time Protocol is used to synchronize the time on Linux Server. NTP continuously sync and adjusts the time setting of the client by querying the NTP server. It is recommended to be used by systems which need very fine tuned time synchronization requirements (milliseconds). Recommended setup to use is to have a common NTPD server on your LAN and then configure other devices to sync to it.
Continue reading “Setup NPTD Server and client for CENTOS 6”