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.
Archive for the ‘Server Building’ Category
Linux server configuration file checking commands in brief.These commands are useful for verifying configuration files in Linux server before applying to the server.
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 and enable to start at boot time #service exim start #chkconfig exim on If you want to enable manual routing for mail then ,add the [...]
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.
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 the original recipient address.And the right hand side entry denotes the mapping address. Here is the sample of virtusertable admin@mail1.domain.org john admin@mail2.domain.org David The original [...]
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 node has failed. The fencing program (either fenced or GULM), when notified of the failure, fences the failed node. Other cluster-infrastructure components determine what actions [...]
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. Basic Requirements openSSL and its development libraries ncurses and ncurses-devel (for the CLI) zlib (compression library) newt and newt-devel libraries (for DAHDI utilities) curl (to [...]
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 apache configuration file to tell the directory in which to enable webDAV services Get mod_dav module using wget wget http://www.webdav.org/mod_dav/mod_dav-1.0.3-1.3.6.tar.gz Then extract the package and [...]
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 is /usr/local/mysql) Create mysql configuration file from sample file included in mysql package MySQL comes with four sample configuration files from which to choose depending [...]
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 bind with mysql After successfull execution of ./configure compile and install using the following commands make make install Then edit /etc/httpd/conf/httpd.conf file in your favourite [...]
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; option routers 10.0.0.1; # Local LAN subnet 10.0.0.0 netmask 255.255.255.0 { ddns-updates on; range 10.0.0.60 10.0.0.150; } host station1 { ddns-updates on; hardware ethernet 00:40:96:38:7d:42; [...]






