Ubuntu 12.04 Server + openacs (TR069) installation configuration Journal

Source: Internet
Author: User
Tags jboss

1. There are two named Openacs, not the openacs.org.

2. Strictly match the version:
[email protected]:~$ ls jboss-4.2.3.ga-jdk6.zip jdk-6u41-linux-i586.bin mysql-connector-java-5.1.23.tar.gz openacs- Bin-0.5.zip jdk1.6.0_41 mysql-connector-java-5.1.23 [email protected]:~$


3. Installing the JDK

sudo chmod +x jdk-6u41-linux-i586.bin

./jdk-6u41-linux-i586.bin

4. Install JBoss

sudo mkdir/opt/jboss
Unzip Jboss-4.2.3.ga-jdk6.zip
CD jboss-4.2.3.ga/
sudo mv */opt/jboss

5. Installing mysql-connector-java-5.1.23

Tar xvf mysql-connector-java-5.1.23.tar.gz Linux Learning, HTTP//linux.it.net.cn

CD mysql-connector-java-5.1.23/
sudo cp mysql-connector-java-5.1.23-bin.jar/opt/jboss/server/default/lib

6. Installing Openacs

Unzip Openacs-bin-0.5.zip
CD Openacs
sudo cp Acs.ear/opt/jboss/server/default/deploy
sudo cp Openacs-ds.xml/opt/jboss/server/default/deploy
sudo cp OPENACS-SERVICE.XML/OPT/JBOSS/SERVER/DEFAULT/DEPLOY/JMS

7. Install MySQL
sudo apt-get install Mysql-server

Mysql-uroot-p123
> CREATE Database ACS;
> quit;

8. Configure Openacs

Cd/opt/jboss/server/default/deploy
sudo vi openacs-ds.xml
< XML version= "1.0" encoding= "UTF-8"?> < datasources>

Linux Learning, HTTP//linux.it.net.cn

<local-tx-datasource> <jndi-name>ACS</jndi-name> <connection-url>jdbc:mysql://l Ocalhost/acs</connection-url> <driver-class>com.mysql.jdbc.Driver</driver-class> <user-name >root</user-name> <password>123</password> <min-pool-size>5</min-pool-size> & Lt;max-pool-size>20</max-pool-size> <idle-timeout-minutes>5</idle-timeout-minutes> </ Local-tx-datasource> </datasources>


9. Run JBoss

cd/opt/jboss/

sudo bin/run.sh-b 0.0.0.0

10. Testing

wget Localhost:8080/openacs Linux Learning, HTTP//linux.it.net.cn

Ubuntu 12.04 Server + openacs (TR069) installation configuration journal

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.