Install JBoss EAP in Ubuntu 12.04 (Precise Pangolin)

1. download JBoss Enterprise Application Platform and double-click on your terminal

2. display downloaded file (jboss-eap-installer-5.1.0.jar)

3. execute the jar file

$ java -jar jboss-eap-installer-5.1.0.jar

4. select your language and click OK button

5. choose I accept the terms of this license agreement and click Next button

6. select the installation path and click Next to continue

7. message box will be displayed for confirmation. click OK button

8. select web services stack you want to install

9. select documentation packs you want to install. I don’t want to install it. click Next to proceed

10. define your configuration for jmx-security (username: admin/ password: admin)

11. click Next button. no need to read. haha. as easy as 1-2-3

12. click Next again

13. installing the application

14. after finished, click Next button to proceed

15. setup shortcuts

16. click Done

17. edit default setting for JAVA Heap:

path: ../application/jboss/bin

$ vi run.conf

18. create symbolic link for jboss-eap-5.1

$ ln -s [TARGET DIRECTORY OR FILE] [SHORTCUT]

19. add JDBC Connection Pool in application server if you use MySQL Database

libraries path: ../application/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/lib/mysql.jar

datasource path: ../application/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/mysql-ds.xml

20. finish. yezza..

 

Install PHP in Ubuntu 12.04 (Precise Pangolin)

1. double-click on your terminal and type

sudo apt-get install apache2

2. type ‘Y’ to proceed

3. installing apache2

4. finish install apache2 in ubuntu

5. proceed to next step, type the below command;

sudo apt-get install php5

6. type ‘Y’ to continue

7. installing php

8. finish install php in ubuntu

9. restart your apache2

10. test your connection to apache, click on web-browser and type: http//localhost

11. test your php; change to root user from terminal

vi /var/www/phpinfo.php

and press Enter to continue

12. type as per below screenshot

13. click on your web-browser and type: http://localhost/phpinfo.php

14. finish. hiaark!