Setup in Cloud Servers
After you Run the Demo in local host, you can deploy this application into your cloud server. By owning your own access logging server, you can analyze visitor's user experience freely.
Open the "log.js" in the "[ALINOUS_HOME]/api/" folder. The source code of the first part is below.
In this code, it is essential to change the "
loggerUrl" parameter. The default value is
So change this into
After you configure the parameter, you can install the software into your cloud server.
The Alinous-Core server is application works on the Tomcat. Therefore you have to install
- Java SE Development Kit 1.5+ (and greater than 1.5)
- Tomcat 6+ (and greater than 6)
- PostgreSQL 8.4+ (and greater than 8.4)
before you setup it.
After you setup those softwares and setup tomcat, download the Alinous-Core Server from download server.
In this page, there are information how to install Alinous-Core server into the Tomcat. It is just copy the root war into the "webapps" folder of the Tomcat. about the detail please take a look at Copy ROOT.war.
After you locate the "Web Access Recorder" project into your server, you have to specify the ALINOUS_HOME by setting the environment variable.
About how to do it, please take a look at Setting ALINOUS_HOME with shell script. You can set it by make a "setenv.sh" or "setenv.bat" and insert 1 or 2 lines into the script.
After that, you can start the Tomcat and use this software. If you runs this software on 8080 port and want to run it on 80 port, please take a look at Runserver on 80 port.
In your page to log. When you use https, use below instead.
The location to insert this script is the header or the body part of the html.