Server4You: Difference between revisions

From Wiki RB4
(Created page with "==General Data== * Ubuntu 10.04.3 LTS (see file /etc/issue) ==Installation== #apt-get install proftpd #java /usr/lib/jvm/jdk1.7.0 #JAVA_HOME variable set to /usr/lib/jvm/jdk1.7....")
 
Line 3: Line 3:


==Installation==
==Installation==
#apt-get install proftpd
* apt-get install proftpd
#java /usr/lib/jvm/jdk1.7.0
* java /usr/lib/jvm/jdk1.7.0
#JAVA_HOME variable set to /usr/lib/jvm/jdk1.7.0 in /etc/environment
* JAVA_HOME variable set to /usr/lib/jvm/jdk1.7.0 in /etc/environment
#apt-get install unzip
* apt-get install unzip
#JBoss by copying local Zip-file of EAP 6.1 to server to /usr/local/share/jboss/jboss-eap-6.1/bin and install according chapter 3.2.2 in https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/pdf/Installation_Guide/JBoss_Enterprise_Application_Platform-6.1-Installation_Guide-en-US.pdf
* JBoss by copying local Zip-file of EAP 6.1 to server to /usr/local/share/jboss/jboss-eap-6.1/bin and install according chapter 3.2.2 in https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/pdf/Installation_Guide/JBoss_Enterprise_Application_Platform-6.1-Installation_Guide-en-US.pdf
#add administration user by /usr/local/share/jboss/jboss-eap-6.1/bin/add-user.sh with user UweHeuer and password Halloo0@1 according https://www.digitalocean.com/community/articles/how-to-install-jboss-on-ubuntu-12-10-64bit, server can be started and stopped by  
* add administration user by /usr/local/share/jboss/jboss-eap-6.1/bin/add-user.sh with user UweHeuer and password Halloo0@1 according https://www.digitalocean.com/community/articles/how-to-install-jboss-on-ubuntu-12-10-64bit, server can be started and stopped by  
  ./standalone.sh -Djboss.bind.address=80.86.91.46 -Djboss.bind.address.management=80.86.91.46 &
  ./standalone.sh -Djboss.bind.address=80.86.91.46 -Djboss.bind.address.management=80.86.91.46 &
  ./jboss-cli.sh --connect --controller=80.86.91.46:9999 command=:shutdown
  ./jboss-cli.sh --connect --controller=80.86.91.46:9999 command=:shutdown
#create MyUbuntuService.sh in HP Laptop JBoss bin directory as Unix file, copy to /usr/local/share/jboss/jboss-eap-6.1/bin and copy it to /etc/init.d/jbossas7 and
* create MyUbuntuService.sh in HP Laptop JBoss bin directory as Unix file, copy to /usr/local/share/jboss/jboss-eap-6.1/bin and copy it to /etc/init.d/jbossas7 and
  update-rc.d jbossas7 defaults
  update-rc.d jbossas7 defaults
#chmod +x /etc/rc.d/init.d/jbossas7
* chmod +x /etc/rc.d/init.d/jbossas7
# set password for mysql user root@localhost according to http://www.unixmen.com/howto-install-amp-and-phpmyadmin-on-ubuntu/
* set password for mysql user root@localhost according to http://www.unixmen.com/howto-install-amp-and-phpmyadmin-on-ubuntu/
  SET PASSWORD FOR 'root@localhost' = PASSWORD('Halloo0@1');
  SET PASSWORD FOR 'root@localhost' = PASSWORD('Halloo0@1');
# install phpmyadmin according http://www.unixmen.com/howto-install-amp-and-phpmyadmin-on-ubuntu/
* install phpmyadmin according http://www.unixmen.com/howto-install-amp-and-phpmyadmin-on-ubuntu/
* added to /etc/apache2/sites-enabled/000-default proxy configuration to JBoss for uweheuer application
* sudo a2enmod proxy_ajp (creates /etc/apache2/mods-enabled/proxy.conf und proxy_ajp.conf)
* cp /mods-enabled/proxy.conf as backup to proxy.conf.bak
* edit proxy.conf (Deny from all to Allow from all)
* cp /sites-enabled/000-default to 000-default.bak as backup
* edit 000-default (add ProxyPass und ProxyReversePass)
* restart apache with sudo /etc/init.d/apache2 restart

Revision as of 23:03, 17 December 2013

General Data

  • Ubuntu 10.04.3 LTS (see file /etc/issue)

Installation

./standalone.sh -Djboss.bind.address=80.86.91.46 -Djboss.bind.address.management=80.86.91.46 &
./jboss-cli.sh --connect --controller=80.86.91.46:9999 command=:shutdown
  • create MyUbuntuService.sh in HP Laptop JBoss bin directory as Unix file, copy to /usr/local/share/jboss/jboss-eap-6.1/bin and copy it to /etc/init.d/jbossas7 and
update-rc.d jbossas7 defaults
SET PASSWORD FOR 'root@localhost' = PASSWORD('Halloo0@1');
  • install phpmyadmin according http://www.unixmen.com/howto-install-amp-and-phpmyadmin-on-ubuntu/
  • added to /etc/apache2/sites-enabled/000-default proxy configuration to JBoss for uweheuer application
  • sudo a2enmod proxy_ajp (creates /etc/apache2/mods-enabled/proxy.conf und proxy_ajp.conf)
  • cp /mods-enabled/proxy.conf as backup to proxy.conf.bak
  • edit proxy.conf (Deny from all to Allow from all)
  • cp /sites-enabled/000-default to 000-default.bak as backup
  • edit 000-default (add ProxyPass und ProxyReversePass)
  • restart apache with sudo /etc/init.d/apache2 restart