Steps to installing LibreACS
Sun Java 1.6
JBoss 4
MySQL
MySQL JDBC Connector/J
If you are creating a brand new MySQL installation you need to set the root password for the database using mysqladmin.
mysqladmin -u root password **ROOTPASSWORD**
Then create the libreacs user using mysql command line.
mysql -u root -p
CREATE USER 'libreacs'@'localhost' IDENTIFIED BY '**YOURACSPASSWORD**';
CREATE DATABASE ACS;
GRANT ALL ON ACS.* TO 'libreacs'@'localhost' IDENTIFIED BY '**YOURACSPASSWORD**';
Now you will need to unpack JBoss into a directory and put the MySQL JDBC into the following directory under JBoss
server/default/lib
Copy the libreacs-service.xml into the deploy/acs directory under JBoss
server/default/deploy/jms
Copy the libreacs-ds.xml and libreacs.ear into the deploy directory
server/default/deploy
Edit the libreacs-ds.xml file and make sure the connection url is correct
<connection-url>jdbc:mysql://localhost/ACS</connection-url>
Update the user-name and password to reflect the libreacs username and password you chose
<user-name>libreacs</user-name>
<password>**YOURACSPASSWORD**</password>
Now start JBoss
cd bin
./run.sh -b 0.0.0.0
or for windows
run.bat -b 0.0.0.0
And you now should be able to connect to your LibreACS server:
http://localhost:8080/libreacs
And configure your router / CPE to the CWMP/ACS URL of:
http://localhost:8080/libreacs/acs