JDK (Java Development Toolkit) :It is a bundle of software that you can use to develop Java based applications. Java Development Kit is needed for developing java applications. JRE (Java Runtime environment) : It is an implementation of the Java Virtual Machine which actually executes Java programs. Java Run Time Environment is a plug-in needed for running java programs.Here are the steps those I followed :=======================1. wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u21-linux-x64.bin?BundledLineItemUUID=YeSJ_hCxIl0AAAEqJYBp5yJ3&OrderID=luWJ_hCxQbYAAAEqDYBp5yJ3&ProductID=xKiJ_hCySHIAAAEpT7wzBGsB&FileName=/jdk-6u21-linux-x64.binNote...
Friday, 30 July 2010
How to install RMS(Ray Media Server) server on 64 bit linux machine?
Posted on 02:21 by Unknown
Here are the steps those I followed :====================cd /usr/localmkdir RMScd RMSwget http://get.boonex.com/RMS-LINUX-v.7.0tar xzvf RMS-LINUX-v.7.0Steps for configuring RMS :1. access.dat – input all domain names which will be allowed to access RMS. Every domain name should be written on a separate line and should not contain "http://" and "www", just yourdomain.com; 2. .in red5.sh (UNIX only) – set the value for JAVA_HOME variable. It should be the path to the folder where JRE is installed. For example:JAVA_HOME=/opt/ray_server/jre1.x; or...
Thursday, 29 July 2010
How to upgrade lite speed webserver from the version 4.0.15 Ente to 4.1RC3-ent?
Posted on 03:45 by Unknown
Guys,I have referred the following steps as per the discussion with lite speed tech.=====Manual update:cd /usr/local/srcwget http://www.litespeedtech.com/packages/4.0/lsws-4.1RC3-ent-x86_64-linux.tar.gztar zxvf lsws-4.1RC3-ent-x86_64-linux.tar.gzcd lsws-4.1RC3./install.shspecify same installation folder as previous one, for example,/usr/local/lswsselect U(upgrade), just press enter and proceed further. Also restart the service.It's quite safe. Then in admin console, you can see 4.1RC3, 4.0.15.switch between version by one-click.Important : You...
Tuesday, 27 July 2010
ERROR: Failed to find flength ?
Posted on 20:16 by Unknown
Guys,Just add the following directives in the htaccess file.===== # Turn off mod_security filtering. SecFilterEngine Off # The below probably isn't needed, # but better safe than sorry. SecFilterScanPOST Off =====If the above method does not work, try putting the following lines into the file===== SetEnvIfNoCase Content-Type \ "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads" mod_gzip_on No =====Another options :1. Disable the particular line for phpmotion script: you can change the text...
Thursday, 22 July 2010
How to install phpshield on 32 or 64 bit linux machine?
Posted on 18:40 by Unknown
Guys,phpSHIELD protects your PHP Source Code with a powerful, easy to use encoder, which creates a native bytecode version of the script and then encrypts it. It's needed to video script enabled sites.Here are the steps those I have followed :===========1. Check the architecture of your machine. like :root@j [~]# archx86_64root@j [~]# It's 64bit or :root@juggernaut [~]# which ps/bin/psroot@j [~]# file /bin/ps |grep bit/bin/ps: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for...
Wednesday, 21 July 2010
How to install RVsitebuilder with cpanel on linux server?
Posted on 12:37 by Unknown
Guys,Here are the steps those I have followed :)SSH into the server :=========cd /usr/local/cpanel/whostmgr/docroot/cgi/rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/rm -f rvsitebuilderinstaller.tarwget http://download.rvglobalsoft.com/rvsitebuilderinstaller.tartar -xvf rvsitebuilderinstaller.tarchmod 755 addon_rvsitebuilder.cgirm -f rvsitebuilderinstaller.tar=========Note : If CGI directory is not present you can create it.Then access login into WHM >>Plugins>>RVSiteBuilder Installer >>click next>>enter...
Tuesday, 20 July 2010
How to install suPHP on linux server?
Posted on 17:31 by Unknown
Guys,This is not my article. However, I have searched it in Google and got the results. I am pasting it only so that you can easily get it.=======================================suPHP is a tool that allows PHP scripts to be executed with the permissions of their owners. By not running PHP script using web server’s user rights, suPHP increase the server security.First install httpd-devel and compiler tools: yum install httpd-devel gcc gcc-c++ make Download suPHP source code and extract it wget http://www.suphp.org/download/suphp-0.7.1.tar.gztar...
How to install mod_evasive(DDOS protection tool) on 64 bit linux machine?
Posted on 17:21 by Unknown
Guys,I have referred the following steps to install that modules :========cd /usr/local/srcwget http://www.sfr-fresh.com/unix/privat/mod_evasive_1.10.1.tar.gztar -zxvf mod_evasive_1.10.1.tar.gzcd mod_evasive For apache 2.0.x :/usr/sbin/apxs -cia mod_evasive20.c //integrating with apache.Then add these in httpd.conf :DOSHashTableSize 3097DOSPageCount 6DOSSiteCount 100DOSPageInterval 2DOSSiteInterval 2DOSBlockingPeriod 600 For apache 1.3.x : /usr/local/apache/bin/apxs -cia mod_evasive.c //integrating with apache.Then add this too...
How to install APC(alternative php cache) on 64 bit linux? machine
Posted on 17:14 by Unknown
Guys,Here are the steps those I followed :=========#cd /usr/local/src#wget http://pecl.php.net/get/APC-3.0.14.tgz #tar -xzvf APC-3.0.14.tgz#cd APC-3.0.14#phpize#./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/usr/bin/php-config#make#make test#make installThe extension will be stored inside "/usr/lib/php/extensions/no-debug-non-zts-20060613/".Now, find php.ini file like : #php --iniAdd the extension="apc.so" at the last in php.ini file and restart apache.=========Note : You can install latest APC. Just search in google...
Sunday, 18 July 2010
How to install ImageMagick on linux?
Posted on 21:15 by Unknown
Here are the steps that I have followed :============1.Check whether ImageMagick has been installed or not.which convert or which montage like this or locate ImageMagick. Or rpm -qa |grep ImageMagic2. yum install ImageMagick3. Now check once again.4. rpm -ql ImageMagic| more5. rpm -qf /usr/local/bin/convert //to check the exact rpm which has used for this binary.============ That's it. Try now...
Friday, 16 July 2010
How to use ncftpget command to download files from remote server?
Posted on 17:27 by Unknown
Guys,Please make it sure that ncftp has been installed on the destination server. check it out like :===root@mixstream [~]# which ncftpget/usr/bin/ncftpgetroot@mixstream [~]# which ncftp/usr/bin/ncftproot@mixstream [~]#===If these are not there, please install it on the server.Ref URL :===http://www.question-defense.com/2010/01/25/install-ncftp-ncftpget-ncftpput-using-yum-on-centos-linux-server===Now FTP to remote server to download files :===root@mixstream [~/migrated_via_ncftp]# ncftpget -T -R -v -u FTP_user -p FTP_PW IP_ADDRESS_of_remote_SERVER...
Wednesday, 14 July 2010
How to install suPHP on centos linux OS?
Posted on 16:59 by Unknown
Installing suPHP on Centos 5suPHP is a tool that allows PHP scripts to be executed with the permissions of their owners. By not running PHP script using web server’s user rights, suPHP increase the server security.First install httpd-devel and compiler tools:-----yum install httpd-devel gcc gcc-c++ make-----Download suPHP source code and extract it----wget http://www.suphp.org/download/suphp-0.7.1.tar.gztar -xvzf suphp-0.7.1.tar.gzcd suphp-0.7.1----Note: source : http://www.suphp.org/Download.htmlNow we compile suPHP :----./configure --with-apxs=/usr/sbin/apxs...
How to install Red5 (Ray Media server) on linux machine ?
Posted on 16:20 by Unknown
Guys,What is red5 server?Red5 is an Open Source Flash Server written in Java that supports:a)Streaming Audio/Video : flv, mp3, s4v,mp4,aac, m4ab) Recording Client Streams (FLV only)c) Shared Objectsd) Live Stream Publishing : Sorenson, VP6,h.264,Nelly Moser, MP3, Speex, AAC , NSV e) Remoting How does it work?Red5 server converts the video file to the flash file and we everyone knows that flash files play instantly once someone accesses it. Here when we request or select a particular video, the video script will send the video(stream the video)...
WHM + http showing failed ?
Posted on 10:47 by Unknown
Guys,Please check the log of the apache server like :1. tail -f /usr/local/apache/logs/error_log2. check the http port in /usr/local/apache/conf/httpd.conf3. Check MaxClients in /usr/local/apache/conf/httpd.conf. Just grep it in log.In WHM, http was displaying failed. I got the following error message in apache log.=====[Tue Jul 13 22:48:38 2010] [error] [client 122.181.3.130] ModSecurity: Access denied with code 501 (phase 2). Match of "rx ^((?:(?:POS|GE)T|OPTIONS|HEAD))$" against "REQUEST_METHOD" required. [file "/usr/local/apache/conf/modsec2.user.conf"]...
Tuesday, 13 July 2010
WHM + http showing failed ?
Posted on 21:02 by Unknown
Guys,Please check the log of the apache server like :1. tail -f /usr/local/apache/logs/error_log2. check the http port in /usr/local/apache/conf/httpd.conf3. Check MaxClients in /usr/local/apache/conf/httpd.conf. Just grep it in log.In WHM, http was displaying failed. I got the following error message in apache log.=====[Tue Jul 13 22:48:38 2010] [error] [client 122.181.3.130] ModSecurity: Access denied with code 501 (phase 2). Match of "rx ^((?:(?:POS|GE)T|OPTIONS|HEAD))$" against "REQUEST_METHOD" required. [file "/usr/local/apache/conf/modsec2.user.conf"]...
Monday, 12 July 2010
How to Install confluence wiki on linux server(64 bit) + mysql database configuration error
Posted on 19:43 by Unknown
Guys,I have referred following URL to install the confluence wiki on linux(64 bit).=====http://confluence.atlassian.com/display/DOC/Installing+Confluence+Standalone+on+UNIX+or+Linux=====Regarding the DB setting you can refer the following URL :====http://confluence.atlassian.com/display/DOC/Database+Setup+For+MySQLNB: You need to create one db user and db password. Just give grant privileges to the "confluence" db or customized DB that you had manually created.====http://confluence.atlassian.com/display/DOC/Configuring+a+MySQL+Datasource+in+Apache+Tomcat====Here...
Sunday, 4 July 2010
How to repair a corrupt MBR on linux machine?
Posted on 04:21 by Unknown
Here are the steps:========1. Incert CD and boot from cd(you have to change the option at BIOS).2. boot: linux rescue //command while boot prompt comes3. chroot /mnt/sysimage //command4. grub-install /dev/hda //command5. reboot the machine. ========That's it. try...
How to take backup/restore of MBR with dd command?
Posted on 04:19 by Unknown
The MBR is located in the first 512 bytes of the disk (the first sector).Size (bytes) Description446 Executable code section4 Optional Disk signature2 Usually nulls64 Partition table2 MBR signature1. backup : execute following commanddd if=/dev/hda of=/mbrbackup.bin bs=512 count=12. Restore : dd if=/mbrbackup.bin of=/dev/hda bs=512 count=1Try it now...
Saturday, 3 July 2010
How to check mysql slow queries or which queries are consuming cpu resources?
Posted on 04:01 by Unknown
1. vi /etc/my.cnf and add following entries after mysqld.[mysqld]set-variable=long_query_time=1log-slow-queries=/var/log/mysql/log-slow-queries.log2. Perform following steps:mkdir /var/log/mysqltouch /var/log/mysql/log-slow-queries.logchown mysql.mysql -R /var/log/mysql3. Restart mysql. /etc/init.d/mysqld restart4. Now you can use mysqlsla tool to check the slow queries. Here are the steps.cd /usr/srcwget http://hackmysql.com/scripts/mysqlsla-2.03.tar.gztar -xvzf mysqlsla-2.03.tar.gzcd mysqlsla-2.03/bin5. Execute following command :./mysqlsla -lt...
Subscribe to:
Posts (Atom)