Skip to main content

Posts

Showing posts from August, 2011

How to install Jboss on Solaris Sprac/ Solaris x86 / Windows / Ubuntu

JBoss AS is a Java application server widely used Open Source  Software for Web application development, testing and production deployment. Jboss  comes with commercial edition known as JBoss enterprise application platform is the ideal choice for production Box. Latest Jboss Community Version http://www.jboss.org/jbossas/downloads/ Click Here to download Jboss stable community version: Download  Download  the Jboss Package and check the file size to ensure that you have downloaded the full, uncorrupted software bundle. Extract the contents of the compressed unzip file, I prefer to extract in /usr directory # cd /usr # wget http://download.jboss.org/jbossas/7.0/jboss-as-7.0.1.Final/jboss-as-web-7.0.1.Final.zip  # unzip jboss-as-web-7.0.1.Final.zip  # cd jboss-as-web-7.0.1 Edit the config file if you wish to change the default settings & start the Jboss Server.  Feedbacks : We appreciate your feedbacks and suggestions about our website bala...

How to customize CentOS DVD using Kickstart file

Here i am using CentOS 64 Bit OS to customize that. 1. Create a kickstart file with postscript and packages list # yum install system-config-kickstart   # system-config-kickstart # save as ks.cfg 2. Mount that DVD into /mnt # mount -o loop /dev/cdrom /mnt ( If it is in DVD ) # mount -o loop /opt/ISO/centos_5.5_64bit_final.iso /mnt ( It is an ISO File ) 3. Create a Dir for ISO Editing # mkdir /opt/newbuild 4. Copy all the contents from /mnt to /opt/newbuild # cp -R /mnt/* /opt/newbuild 5. Edit the isolinux.cfg in newbuild Dir # vim /opt/newbuild/isolinux/isolinux.cfg default linux prompt 0 timeout 600 display boot.msg F1 boot.msg F2 options.msg F3 general.msg F4 param.msg F5 rescue.msg label linux kernel vmlinuz append initrd=initrd.img ks=cdrom:/ks.cfg ( Add this entry in this line ) label text kernel vmlinuz append initrd=initrd.img text label ks kernel vmlinuz append ks initrd=initrd.img   label local localboot 1 label memtest86 kernel memtest append - 6. Modify the permissi...

How to install X11 ( Xvfb) for Solaris

Xvfb - virtual framebuffer X server for X Version 11. Xvfb is an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory.  Download the latest binary version of Xvfb for Linux and Unix using the link below:  http://www.x.org/wiki/Releases/Download  Download X11R6 Stable Version: Click Here Installing the Xvfb Software Installing the Xvfb binaries for Solaris is nothing more than untarring the software into the proper directory. The following are the steps required to install the software:  % su - # mkdir /usr/X11R6 # cp X11R6_bin.tar.gz /usr/X11R6 # cd /usr/X11R6 # gunzip X11R6_bin.tar.gz # tar xvf X11R6_bin.tar # rm X11R6_bin.tar Starting Xvfb #/usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 & The server will listen for connections as server number 1 , and screen 0 will be depth 8 1152x900 . Feedbacks : We appreciate your feedbacks and suggestions about our website bala@...

How to uninstall the Solaris packages for JDK

If your machine has an earlier version of 5.0 already installed in the default location ( /usr/jdk/jdk1.5.0 ), you must remove it before installing a later version of 5.0 at that location. You can skip this step if you intend to install JDK 5.0 in a non-default location.   For more details, see Selecting the Default Java Platform. On all processors:   root@techgyaan# pkgrm SUNWj5rt SUNWj5dev SUNWj5cfg SUNWj5man SUNWj5dmo or root@techgyaan# pkgadd -d . SUNWj5jmp Delete the tar files and extracted SUNW* directories. Exit the root shell. No need to reboot. Feedbacks : We appreciate your feedbacks and suggestions about our website bala@techgyaan.org Check out Bala's Google+ profile . Follow @techgyaan

How to install JDK on Solaris Sprac/ Solaris x86

Follow the instruction below on how to install JDK on Solaris. Download JDK and check the file size to ensure that you have downloaded the full, uncorrupted software bundle of JDK.                                   Download http://java.sun.com/javase/downloads/5u20/jdk FTP JDK package to remote machine using winscp or filezilla tools Extract the contents of the compressed tar file:    root@techgyaan# uncompress jdk-1_5_0_20-solaris-sparc.tar.Z   On SPARC processors:   zcat jdk-1_5_0 -solaris-sparc.tar.Z | tar -xf -   On x86/AMD64/EM64T processors:   zcat jdk-1_5_0 -solaris-i586.tar.Z | tar -xf -   This creates several directories ( SUNWj5rt, SUNWj5dev, SUNWj5cfg, SUNWj5man, SUNWj5dmo, and SUNWj5jmp ) plus a few files in the current directory. Become root by running su and entering the super...

How to do custom installation of RedHat 6

Insert the CD labeled RedHat Operating System 6.0 i386 DISK1 into the CD-ROM or DVD Drive.                           After booting from Linux CDROM                           At the boot prompt: [ Press Enter ]                           At the “CD Found” screen, choose " Skip " to skip the media test             Choose a Language Selection:                            Select “ English ” [Click Next OR Press Enter]    ...

Download of the Day: Firefox 6.0

Firefox 6.0 has been released and available for download. Firefox 6.0 has come with lots of Improved features compare to previous version with better Advanced Security, High Performance, Rich UI Interface. For more details Click Here Download FireFox Version 6.0 For Windows / Linux / Mac OS X: Direct download link  Good news for Firefox fans, Mozilla Firefox is coming soon with Memory Usage Reduction in Future Release Feedbacks : We appreciate your feedbacks and suggestions about our website bala@techgyaan.org Check out Bala's Google+ profile . Follow @techgyaan

How to enable FEDERATED storage engine in MySQL

A FEDERATED storage engine lets you to view data from a remote MySQL database instance without having cluster or data replication setup on MySQL server. The FEDERATED storage engine is available beginning with MySQL 5.0.3. To enable Federated storage engine on your MySQL server configure with "--with-federated-storage-engine" option. Lets assume you have two different MySQL database and you need to write and update tables on both MySQL database servers (Local & Remote). Follow the instructions to enable FEDERATED Storage engine. Login to you Local MySQL server and edit my.cnf file [bala@local ~]# vim /etc/my.cnf [mysqld] federated Once your are done with changes restart your MySQL server on Local Server   [bala@local ~]#/etc/init.d/mysqld restart Now lets create table on Local Server   [bala@local ~]# mysql -u root -p******   CREATE TABLE test1 (        a INT,        b VARCHAR(32)) Create similar TABLE...