| Mobile | RSS

local yum server

Setting Up a Local yum Server

Sometimes you feel it is necessary or to be handy to have a local yum server in your network.So let’s try to create a local yum server in your network.

[ More ] December 2nd, 2011 | No Comments | Posted in Applications, Server Building |
syntax checker

Server Configuration checking commands

Linux server configuration file checking commands in brief.These commands are useful for verifying configuration files in Linux server before applying to the server.

[ More ] November 19th, 2011 | No Comments | Posted in Basic Setup, Server Building |
exim mail server

EXIM Mail Server on CENTOS

Steps: #yum install exim system-switch-mail After successful installation, we need to make some necessary configurations. Switch default MTA(Mail Transfer agent) to exim if it is sendmail or any other application by using system-switch-mail. Then stop sendmail service if it is running and disable in startup. #service sendmail stop #chkconfig  sendmail off And start exim service [...]

[ More ] August 24th, 2011 | No Comments | Posted in Server Building |
syslog

Centralized log host using Syslog

Building a centralized log host in your network will ease the process of troubleshooting your servers from a single window.Centralized log host will accepts all the log messages from client and store in that server.

[ More ] August 6th, 2011 | No Comments | Posted in OS Internals, Server Building |
email icon

Virtusertable configuration in sendmail

virtusertable is used to do aliases to virtual domains hosted on the same server. In this case we use  mail1.domain.org as main host and mail2.domain.org as virtual host. Before creating virtusertable mapping ,you need to create a file virtusertable in /etc/mail/.In virtusertable each entry should be a single line.The entry in left hand side denotes [...]

[ More ] June 30th, 2011 | No Comments | Posted in Applications, Server Building |
redhat cluster suite

Fencing process in Redhat Cluster

Fencing is the disconnection of a node from the cluster’s shared storage. Fencing cuts off I/O from shared storage, thus ensuring data integrity. There are two fencing programs fenced Configured with CMAN/DLM GULM Configured with GULM servers When the cluster manager determines that a node has failed, it communicates to other cluster-infrastructure components that the [...]

[ More ] June 29th, 2011 | 2 Comments | Posted in OS Internals, Server Building |
Asterisk server

Asterisk server installation

Asterisk is a software implementation of a telephone private branch exchange (PBX) originally created in 1999 by Mark Spencer of Digium. Like any PBX, it allows attached telephones  to make calls to one another, and to connect to other telephone services including the public switched telephone network (PSTN) and Voice over Internet Protocol (VoIP) services. [...]

[ More ] June 29th, 2011 | 1 Comment | Posted in Applications, Server Building |
WebDav configuration

Setting up WebDAV with Apache web server

WebDAV stands for web based Distributed Authoring and Versioning.And it is a set of extension to the http protocol that allows users to directly edit files on the apache server so that they do not need to be downloaded/uploaded via FTP.apache Enabling WebDAV on apache web server includes the following steps Install mod_dav module Edit [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications, Server Building |
MySQL installation

MySQL Installation from source

Creating user and group for mysqlmysql #groupadd mysql #useradd -g mysql mysql Get source from http://dev.mysql.com/downloads/mysql/5.0.html#source Unpack the package using the following command #tar -xvf mysql-5.x.x.tar.gz #cd mysql-5.x.x #./configure –prefix=/usr/local/mysql-5.x.x Then compile & install #make #make install Then create a symbolic link ‘mysql’ pointing to mysql-5.x.x(Installation directory) #ln -s /usr/local/mysql-5.0.37/ /usr/local/mysql  (Generally mysql installation path [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications, Server Building |
php installation from source

PHP Installation from source

Get the source from http://www.php.net/download.php (php-5.x.x.tar.gz) Prerequisites Apache webserver Mysql Installation Goto the directory use this command to unpack the file tar -xvf php-5.x.x.tar.gz cd php-5.x.x ./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql=/usr/local/mysql * –prefix specifies the location where PHP is to be installed . * –with-apxs2 pointing to bin/apxs in the apache installation directory. * –with-mysql to [...]

[ More ] June 29th, 2011 | No Comments | Posted in Applications, Server Building |
rtlinux

Real Time Linux -RTLinux overview

RT-Linux is an operating system in which a small real-time kernel coexists with the Linux kernel which was originally developed by Victor Yodaiken at the New Mexico Institute of Mining and Technology.RTLinux supports hard real-time operation through interrupt control between the hardware and the operating system. Interrupts needed for deterministic processing are processed by the [...]

[ More ] June 28th, 2011 | No Comments | Posted in OS Internals, Server Building |
dhcp server

DHCP Server-Basic configuration

The Dynamic Host Configuration Protocol (DHCP) allows you to specify network parameters on a server and have client computers query the server for their information such as IP, netmask, gateway, DNS, etc Daemon :dhcpd The configuration file: dhcpd.conf Typical dhcpd.conf look like thiis ddns-updates on; ddns-update-style ad-hoc; option domain-name-servers 10.0.0.1, 202.188.0.133, 202.188.1.5; option subnet-mask 255.255.255.0; [...]

[ More ] June 28th, 2011 | No Comments | Posted in Basic Setup, Server Building |
FTP server in centos

FTP Server-Basic configurations

The File Transfer Protocol (FTP) is used as one of the most common means of copying files between servers over the Internet.It is the simplest way to exchange files between computers on the internet.With a simple command line interface ,a user can use FTP to perform updates,deletes,renames,moves of the files at a server. Types of [...]

[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, Server Building |
Network File System

NFS-Network File System some basics

NFS stands for Network File System, and is a way to share files between machines as if they were on your local hard drive.Linux can be both an NFS server and an NFS client, which means that it can export filesystems to other systems,and mount filesystems exported from other machines. Package required for NFS:nfs-utils Daemon: [...]

[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, Server Building |
Linux networking

Assiging two IP address for one NIC

STEP 1: (The settings for the initial IP address) $ cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.99.255 IPADDR=192.168.1.155 NETMASK=255.255.252.0 NETWORK=192.168.1.0 ONBOOT=yes STEP 2 (2nd IP address: ) $cat /etc/sysconfig/network-scripts/ifcfg-eth0:1 DEVICE=eth0:1 BOOTPROTO=static BROADCAST=192.168.99.255 IPADDR=192.168.1.182 NETMASK=255.255.252.0 NETWORK=192.168.1.0 ONBOOT=yes Note:In STEP 1 the filename is “ifcfg-eth0″, whereas in STEP 2 it’s “ifcfg-eth0:1″ and also not the matching entries for “DEVICE=…”. [...]

Related Posts Plugin for WordPress, Blogger...
[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, Networking, Server Building |