Guys,I didn't configure it but I am making it more available in the internet so that you can easily get the link and steps. Hope it'll help you to do the same. Here are the steps :=======1- Configure PATH- vi or pico -w /etc/profile- Add those lines after the first comments# /etc/profile# System wide environment and startup programs, for login setup# Functions and aliases go in /etc/bashrcJAVA_HOME=/usr/local/java/javaCATALINA_HOME=/usr/local/tomcatPATH=$JAVA_HOME/bin:$PATH:$HOME/bin:/sbin:/usr/sbinCLASSPATH=$CATALINA_HOME/bin/bootstrap.jar:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar:/usr/local/pgsql/share/java/postgresql.jar:../lib/struts.jar:.-...
Thursday, 30 September 2010
Wednesday, 29 September 2010
How install MRTG on linux?
Posted on 23:01 by Unknown
Guys,The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network links. MRTG generates HTML pages containing PNG images which provide a LIVE visual representation of this traffic. Here are the steps those I followed :====Installing Library zlib :................wget http://www.gzip.org/zlib/zlib-1.1.4.tar.gztar -xvzf zlib-1.1.4.tar.gzmv zlib-1.1.4 zlibcd zlib./configuremakecd ..................Installing Library libpng :................wget http://public.planetmirror.com/pub/sourceforge/l/li/libpng/libpng-1.0.15.tar.gztar...
Monday, 27 September 2010
make: *** [install-webconf] Error 1
Posted on 22:09 by Unknown
Guys,I got this error message during configuring the nagios : Here is the exact error message.=======root@server [/usr/local/src/nagios-3.2.1]# make install-webconf/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf/usr/bin/install: cannot create regular file `/etc/httpd/conf.d/nagios.conf': No such file or directorymake: *** [install-webconf] Error 1=======Sol: As per the error message it's clear that nagios is trying to create the nagios.conf file inside the /etc/httpd.conf file. So, to resolve this problem, please...
How to install nagios on cpanel or linux server?
Posted on 19:15 by Unknown
Guys,Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes. Nagios is an open source application that monitors for computer network problems so that they can be fixed more quickly. Nagios was designed for use with the Linux operating system, but it will also work under Unix and most Unix-based systems.Nagios runs periodic checks on user-specified resources and services. Resources that can be monitored include memory usage, disk usage, microprocessor...
Thursday, 16 September 2010
How to + extract + untar + unzip .tar.gz file on linux ?
Posted on 05:46 by Unknown
Guys,I refer following commands :Examples : =========gzip -d guiderj_content.sql.gztar -xvzf guiderj_content.sql.gztar -jxvf eaccelerator-0.9.5.3.tar.bz2=========try...
How to repair mysql database or tables of the database?
Posted on 05:03 by Unknown
Guys,I usually use following command to repair all the tables of the databases of a user.=========[root@server /var/lib/mysql]#for i in `ll |grep bigchakr|awk '{print $9}' |cut -d/ -f1`; do for j in `mysql -e "use $i; show tables;"|grep -v -`; do mysql -e "use $i; repair table $j;"; done done;=========User : bigchakr, please replace this user. It'll repair all the tables of all the DB of that user.You can use myisamchk command to repair the DB. Here is the comamnd :========[root@server /var/lib/mysql]# myisamchk -r /var/lib/mysql/bigchakr_content/*.MYI========Note...
Saturday, 11 September 2010
FileList::init() failed: ls_dir_wrapper() failed: Unable to logon user + Logon failure: unknown user name or bad password
Posted on 16:58 by Unknown
Guys,I have referred the following steps to sort out the error :steps to recreate the error : Login into plesk cp >> domain's cp >> browse file manager. Here is the error :---------------------------- Debug Info -------------------------------0: FileManagerUIPointer.php:709 FileManagerUIPointer->accessItem(string 'GET', NULL null)1: client.domain.hosting.file-manager.php:86 plesk__client__domain__hosting__file_manager->accessItem(string 'GET', NULL null)2: UIPointer.php:601 UIPointer->access(string 'GET')3: plesk.php:43------Solutions...
Thursday, 9 September 2010
How to install htop on linux machine?
Posted on 13:43 by Unknown
Guys,I used one bash script to automatically install the htop binary. The binary will show details of the running processes when you execute it on the konsole. Here is the script.======#!/bin/bashcd /usr/local/src/wget http://citylan.dl.sourceforge.net/project/htop/htop/0.8.3/htop-0.8.3.tar.gztar xzvf htop-0.8.3.tar.gzcd htop-0.8.3./configuremakemake install======That's it. Try...
Sunday, 5 September 2010
Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\HTMLPDF.mdf" failed with the operating system error 3
Posted on 13:14 by Unknown
Guys,I got this error when I was restoring one database on mssql 2005(win 2003). I have tried to override the DB but still got the error message. I have changed the path and then successfully restored it since error is giving the clue :)Error : ======System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\HTMLPDF.mdf" failed with the operating system error 3(The system cannot find the path specified.). (Microsoft.SqlServer.Express.Smo)======Exact path for my system(Try to find out...
Saturday, 4 September 2010
How to build kernel module + How to develop kernel module + How to create kernel module?
Posted on 19:13 by Unknown
Guys,I developed a small program called hello.c and called some kernel functions in it. Here are the steps those I followed :========1. yum install kernel-headers-$(uname -r)2. vi hello.c and add the following codes :-----#include "linux/module.h"#include "linux/kernel.h"int init_module(void){printk(KERN_INFO "init_module() called\n");return 0;}void cleanup_module(void){printk(KERN_INFO "cleanup_module() called\n");}-----3. vi Makefile and add the following lines :-----obj-m += hello.oall:make -C /lib/modules/2.6.18-194.8.1.el5/build/ M=$(PWD)...
Friday, 3 September 2010
How to upgrade kernel on linux?
Posted on 18:53 by Unknown
Guys,I referred the following steps :============================1. cd /usr/local/src2. wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x.y.z.tar.bz2 //replace the version that you want to install or check it at http://www.kernel.org/3. tar -xjvf linux-2.6.35.4.tar.bz2 -C /usr/src4. cd /usr/src/linux-2.6.35.45. make menuconfig //if gcc is not there just install it like : yum install gccNote : You can enable various option here. But make it sure that you have enabled kernel config option. Go to General option >>...
Thursday, 2 September 2010
How to manually recompile php on cpanel server?
Posted on 06:42 by Unknown
Guys,I referred following steps :========1. cd /home/cpeasyapache/src/php-5.2.9/2. ./configure --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-magic-quotes --enable-mbstring --enable-pdo=shared --enable-sockets --enable-zip --with-kerberos --prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs --with-curl=/opt/curlssl/ --with-curlwrappers --with-freetype-dir=/usr --with-gd --with-gettext --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr --with-jpeg-dir=/usr --with-libdir=lib64 --with-libexpat-dir=/usr...
configure: error: This c-client library is built with Kerberos support
Posted on 06:37 by Unknown
Guys,I got the error message during executing easyapache. I have manually recompiled the php on cpanel server. Here is the script that I have used to do the same :Note : I enabled kerberos and added the line like : --with-kerberos to fix the issue.=======-bash-3.2# cat /root/manual_php_recompile.sh#!/bin/bash#By Kamal Maiticd /home/cpeasyapache/src/php-5.2.9/./configure --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-magic-quotes --enable-mbstring --enable-pdo=shared --enable-sockets --enable-zip --with-kerberos...
Wednesday, 1 September 2010
How to install suhosin on linux ?
Posted on 04:48 by Unknown
Guys,Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low-level protections against bufferoverflows or format string vulnerabilities and the second part is a powerful PHP extension that implements all the other protections. I have referred following steps to install...
Subscribe to:
Posts (Atom)