Archive for the ‘Uncategorized’ Category

How to install Subversion

Thursday, February 25th, 2010

Ref:http://svnbook.red-bean.com/en/1.5/index.html
(A) To install Subversion : yum install mod_dav_svn subversion
(B) How to create a Repo :

svnadmin create /svn

So it will create a svn directory under / directory

[root@mail /]# pwd
/
[root@mail /]# ls
aquota.group boot dev lib opt sbin svn usr
aquota.user [...]

How to install/configure bind in linux

Friday, December 18th, 2009

a)yum install bind bind-chroot bin-utils
b) go to /usr/share/doc/bind-9.3.6/sample  [ here all the sample files should be installed]
c)cp -R var/* /var/named/chroot/
d)cp -R etc/* /var/named/chroot/
cp /usr/share/doc/bind-9.3.6/sample/etc/named.conf /var/named/chroot/etc/
[note : if named.conf is not that location then type : locate named.conf, it will show you where is the named.conf]

Disclaimer

Tuesday, December 15th, 2009

Disclaimer: The information and content provided on this website is for reference and informational purpose only. I cannot guarantee for accuracy and completeness for any information or content published on this site. Use of the information and content on this site is at your own risk. [...]

Apache performace tunning

Monday, November 16th, 2009

Ref: http://httpd.apache.org/docs/2.2/mod/prefork.html
Ref:http://www.devside.net/articles/apache-performance-tuning
Ref:http://en.wikipedia.org/wiki/Slowloris
Sample Configuration for prefork setting
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
StartServers :
The StartServers directive sets the number of child [...]

How to compile php for GD library

Friday, November 13th, 2009

Install necessary software by yum or from source
yum install gd gd-devel yum install zlib zlib-devel

then

a) Download the php source from here : http://www.php.net/downloads.php
b) Download the source file in to /tmp directory
c) Here I am gussing the php version is php-5.3.0.tar.gz
d) Tar –xvzf php-5.3.0.tar.gz
e) Cd php-5.3.0
f)

./configure –with-apxs2=/usr/local/apache/bin/apxs –with-mysql=/usr/local/mysql –enable-mbstring –-with-gd –-with-zlib –-with-jpeg-dir –-with-png-dir

g) make
h) make install
i) setup your [...]

How to configure master and slave replication in mysql server

Thursday, October 8th, 2009

All the contents of this article has taken from ” High Performance Mysql Server” For the simplicity I just added some extra visualize picture from my running server . For this reason the values(i.e time, log position) between pics and the book does not match.
Primary Server : 192.168.1.2
Slave Server : 192.168.1.3
In picture I used, Primary [...]

Linux performance tuning tools (vmstat tool)

Wednesday, September 23rd, 2009

Ref: Performance Tuning for Linux® Servers
Ref: System Performance Tuning, Second Edition
Ref: Optimizing Linux® Performance: A Hands-On Guide to Linux® Performance Tools
Linux Performance Tools:
Processor time is organized into four timed modes: system time, user time, I/O wait time, and idle time. The idle time consists of what’s left over when all other portions have had their [...]

How to install apache2-php-mysql from source

Thursday, September 10th, 2009

Prerequisite : yum install gcc-c++ gcc make ncurses-devel openssl-devel
Packages required for php: yum install libjpeg-devel libpng-devel curl-devel libmcrypt-devel krb5-devel
Apache Server Installation from Source:
Apache installation directory is : /usr/local/apache
a) Download the apache source file from : http://httpd.apache.org/download.cgi
b) Download the source file in to /tmp directory.
c) I am guessing the source file is httpd-2.2.13.tar.gz
d) Cd /tmp
e) tar –xvzf httpd-2.2.13.tar.gz
f) cd httpd-2.2.13
g)

 
./configure –prefix=/usr/local/apache [...]

Hello world!

Tuesday, August 11th, 2009

Welcome to fosiul.co.uk.
This is my own knowledge base web site. This site is updated daily on computer related articles, new problem solving technique,”How to documents”.