Server4You

From Wiki RB4
Revision as of 22:31, 17 December 2013 by ::1 (talk) (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....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General Data

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

Installation

  1. apt-get install proftpd
  2. java /usr/lib/jvm/jdk1.7.0
  3. JAVA_HOME variable set to /usr/lib/jvm/jdk1.7.0 in /etc/environment
  4. apt-get install unzip
  5. 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
  6. 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 &
./jboss-cli.sh --connect --controller=80.86.91.46:9999 command=:shutdown
  1. 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
  1. chmod +x /etc/rc.d/init.d/jbossas7
  2. 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');
  1. install phpmyadmin according http://www.unixmen.com/howto-install-amp-and-phpmyadmin-on-ubuntu/