ubuntu 12.04 server + OPENACS(TR069)安装配置日记
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
|