Server4You: Difference between revisions

From Wiki RB4
Line 1: Line 1:
==General Data==
==General Data==
* Ubuntu 10.04.3 LTS (see file /etc/issue)
* Ubuntu 10.04.3 LTS (see file /etc/issue)
* root Halloo0@1
* reboot


==Installation==
==Installation==

Revision as of 23:53, 17 December 2013

General Data

  • Ubuntu 10.04.3 LTS (see file /etc/issue)
  • root Halloo0@1
  • reboot

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
  • add ajp to connect to http proxy for uweheuer and jboss console
<connector name="ajp" protocol="AJP/1.3" socket-binding="ajp" enabled="true"/>
  • 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