Installing the ELTEX-PORTAL module
Install java
Install eltex-portal
Change the amount of allocated memory and the port number in the configuration file /etc/default/eltex-portal
# Eltex-Portal daemon parameters # Port for use by Eltex Portal PORT=8080 # Initial size of Java heap JAVA_INIT_HEAP=256m # Maximum size of Java heap JAVA_MAX_HEAP=8096m # Additional arguments to pass to java JAVA_OPTS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/eltex-portal"
Change the database URL in the /etc/eltex-portal/config.txt configuration file
# Драйвер БД portal.db.driver=com.mysql.jdbc.Driver # URL к БД portal.db.url=jdbc:mysql://<IP_address>:3306/ELTEX_PORTAL?max_allowed_packet=32362048&useUnicode=true&characterEncoding=utf8 # имя пользователя БД portal.db.username=javauser # пароль пользователя БД portal.db.password=javapassword
Restart the eltex-portal service
root@vagrant-ubuntu-trusty-64:~# service eltex-portal restart eltex-portal stop/waiting eltex-portal start/running, process 14255 root@vagrant-ubuntu-trusty-64:~#
Restart tomcat
root@vagrant-ubuntu-trusty-64:~# service tomcat7 restart
The only thing that should be done now is to configure NGW client and PCRF module access in the Admin Panel. Enter the address http://<ip_address>:8080/wifi-cab/, go to the Settings and select the "Integration" tab.
Installing the ELTEX-WIFI-CAB module
Install java
Install tomcat and set the JAVA_HOME environment variable for tomcat7
root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "JAVA_HOME=/usr/lib/jvm/java-8-oracle" >> /etc/default/tomcat7
Add random access memory for java
root@vagrant-ubuntu-trusty-64:~# echo "JAVA_OPTS=" -server -Xms2g -Xmx4g -XX:-UseParallelGC -XX:+UseConcMarkSweepGC -XX:+AggressiveOpts" >> /etc/default/tomcat7
Install eltex-oui-list
Install eltex-wifi-cab
Edit the /etc/eltex-wifi-cab/system.xml configuration file, change the addresses to the server with MongoDB installed, to NBI and to SoftWLC eltex-auth-service
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <entry key="mongoaddress">mongodb://<IP_address_mongo>:27017/wifi-customer-cab</entry> <entry key="nbiaddress">http://<IP_address_NBI>:8080/axis2/services/RadiusNbiService?wsdl</entry> <entry key="nbi.serviceLogin.user">softwlc_service</entry> <entry key="nbi.serviceLogin.password">softwlc</entry> <entry key="nbi.serviceLogin.requestTimeout.sec">120</entry> <!-- параметры, применяемые при авторизации через eltex-auth-service --> <entry key="radius.auth.address">IP_address_auth_service</entry> <entry key="radius.auth.shareSecret">eltex</entry> <entry key="radius.auth.authPort">21812</entry> <entry key="radius.auth.acctPort">21813</entry> <entry key="radius.auth.timeout.sec">10</entry> <entry key="radius.auth.retries">5</entry> </properties>
Installing the ELTEX-PORTAL-CONSTRUCTOR module
The Portal Constructor is usually installed to the same server as the Admin Panel, but if the Portal Constructor is located on a separate server, implement the first 4 paragraphs of the Admin Panel installation guide.
Install the eltex-portal-constructor module and edit the /etc/eltex-portal-constructor/config.txt configuration file where change addresses to eltex-auth-service and mysql database
line 9
auth.service.address=<IP_address_auth.service>
line 34
portal.db.url=jdbc:mysql://<IP_address_mysql>:3306/ELTEX_PORTAL?max_allowed_packet=32362048&useUnicode=true&characterEncoding=utf8
Restart tomcat
root@vagrant-ubuntu-trusty-64:~# service tomcat7 restart
At this stage, configuration file editing is completed, the only thing left to do is to configure other parameters in the admin panel of the Portal Constructor
Enter the server address http://<ip_address>8080/epadmin/ in a browser's address bar
Open the System settings menu and specify the Portal host and the Portal port in the Portal Constructor tab. Save the changes.Specify the NGW address in the "NGW access" tab. This module is usually installed to the server with EMS. Specify the address of the server with the eltex-radius-nbi module installed (usually the server with EMS) in the "NBI access" tab.Specify the address of the server with eltex-pcrf in the "PCRF access" tab.
Then restart tomcat.
Installing the ELTEX-APB module
Install java
Install eltex-apb
Edit the eltex-radius-nbi configuration file, change the NBI module address
nbi.client.protocol=http nbi.client.host=<IP_address NBI> nbi.client.port=8080 nbi.client.file=/axis2/services/RadiusNbiService?wsdl nbi.client.login=softwlc_service nbi.client.password=softwlc nbi.client.pool.size=100
Then change the amount of RAM allocated for the APB service. Replace the JAVA_MAX_HEAP value with a required one in the etc/default/eltex-apb configuration file
Restart eltex-apb
root@vagrant-ubuntu-trusty-64:~# service eltex-apb restart Stopping eltex-apb ... eltex-apb stopped Starting eltex-apb ... eltex-apb started root@vagrant-ubuntu-trusty-64:~#