1. Download centos vm from http://downloads.sourceforge.net/thoughtpolicevm/centos-6.2-x86_64-server.zip 2. Unzip and run in vm player. 3. To install GNOME. Execute following command A. yum update B. yum groupinstall "X Window System" C. yum groupinstall "Desktop" D. vi /etc/inittab E. Change id:3:initdefault: to id:5:initdefault: F. init 6 to reboot and enjoy full centos on windows.
1. Depending on how to run. Go to jboss installation folder and then <JBOSS_INSTALL>/bin/init.d. 2. You will find one file named jboss-as-standalone.sh. If you wanna just create service for jboss standalone. you can use this file. 3. If you wanna create service for jboss running in domain mode. Create copy of jboss-as-standalone.sh with the name of jboss-as-domain.sh. 4. Make changes in newly created jboss-as-domain.sh for point correct directories. Make sure you change.. standalone.sh to domain.sh. 5. copy file to init.d.. cp <JBOSS_INSTALL>/bin/init.d/jboss-as-XXXXX.sh /etc/init.d/jbossxxxxx 6. use chkconfig -add jbossxxxxx command to add jbossxxxxx as service. 7. now you can start jbossxxxxx as service. use service jbossxxxxx start... 8. sample copy of jboss-as-domain.sh attached here.