码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 12.04 server + OPENACS(TR069)安装配置日记

时间:2015-07-06 19:38:35      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:

 

1. 有两个叫openacs的, openacs.org下的不是

2. 严格匹配版本:
luo@bogon:~$ 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  luo@bogon:~$


3. 安装 jdk

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

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

4. 安装jboss

sudo mkdir /opt/jboss
unzip jboss-4.2.3.GA-jdk6.zip
cd jboss-4.2.3.GA/
sudo mv * /opt/jboss

5. 安装mysql-connector-java-5.1.23

tar xvf mysql-connector-java-5.1.23.tar.gz Linux学习,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. 安装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. 安装mysql
sudo apt-get install mysql-server

mysql -uroot -p123
> create database ACS;
> quit;

8. 配置openacs

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

Linux学习,http:// linux.it.net.cn

  <local-tx-datasource>     <jndi-name>ACS</jndi-name>     <connection-url>jdbc:mysql://localhost/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>     <max-pool-size>20</max-pool-size>     <idle-timeout-minutes>5</idle-timeout-minutes>   </local-tx-datasource> < /datasources>


9. 运行jboss

cd /opt/jboss/

sudo bin/run.sh -b 0.0.0.0

10. 测试

wget localhost:8080/openacs
Linux学习,http:// linux.it.net.cn

ubuntu 12.04 server + OPENACS(TR069)安装配置日记

标签:

原文地址:http://www.cnblogs.com/bigben0123/p/4625015.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!