rssHomeContactSite Map

Install Advanced Web Stats on Mac

The following instructions help you to install Advanced Web Stats on Mac OS X Operating System.

1. Getting started

Before starting the installation, it is recommended to follow the steps outlined below:

  1. It is important to have your Operating System up to date, so please run a Software Update first.

  2. Check the minimum system requirements and make sure that your system meets them.

2. Install Advanced Web Stats

To download the latest version of Advanced Web Stats please visit the Download section from our website.

After you download the Advanced Web Stats [.dmg] Installation file, double click on it to start the installation. This will open a new window that contains the actual installation package.

To install Advanced Web Stats on your computer, double click on the Advanced Web Stats icon to start the installation process.

[Important]Important

The Advanced Web Stats installer will install the application in the [Applications] folder. But to perform this operation it is required for you to have administrative rights.

3. Configure the listen port (optional)

Advanced Web Stats uses as default ports [8888] as listen port and [8006] as server port. But if another application uses one or both ports used by Advanced Web Stats as default you need to change the ports that Advanced Web Stats will use. To change these ports please follow these instructions:

  • Open the file [server.xml], located in the [conf] folder, under the Advanced Web Stats, in the [Applications] directory, and edit the following lines with your preferred text editor.

    The beginning of [server.xml] should look like this:

    <Server port="8006" shutdown="password">
    <Service name="Catalina">
    <Executor name="awsThreadPool" namePrefix="aws-exec-" maxThreads="500" minSpareThreads="4" maxIdleTime="20000"/>
    <Connector executor="tomcatThreadPool" port="8888" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443"/>
    <Engine name="Catalina" defaultHost="localhost">
    
  • Change the server shutdown port and the listen port with two free ports. To see the free ports on your machine use the following command:

    sudo lsof -i -P | grep -i "listen"
    

    For example, after changing the default ports with "8010" and "8889", the file [server.xml] should look like this:

    <Server port="8010" shutdown="password">
    <Service name="Catalina">
    <Executor name="awsThreadPool" namePrefix="aws-exec-" maxThreads="500" minSpareThreads="4" maxIdleTime="20000"/>
    <Connector executor="tomcatThreadPool" port="8889" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443"/>
    <Engine name="Catalina" defaultHost="localhost">
    

Please note that these changes are optional, and you need make them only if the ports specified above are used by other programs.

[Note]Note

The first line of the [server.xml] file contains also the server shutdown password that can be used when shutting down the server remotely. You can use the default one, or easily set your own password.

4. Start Advanced Web Stats

When this operation finishes click the [Finish] button to start Advanced Web Stats in your browser.

Later you can access Advanced Web Stats by typing in the address bar of your favorite browser the following address:

http://localhost:8888        
[Note]Note

If you changed the listed port earlier you need to replace [8888] with the port specified.

5. Follow Post-installation process

On the Post-installation wizard you need to select the database, configure the email setting and the system administrator account. For more details and instructions about the post-installation process please read the Post-installation Guide.