Installation (Linux) - GaryA/antlog GitHub Wiki
Installation on Linux will vary somewhat depending upon which webserver is used. These general instructions should hopefully point Linux users in the right direction. Volunteers to write a step-by-step guide would be very welcome!
First, download the latest AntLog release zip file from here.
Unzip the file to the folder that contains your webserver's html files.
For example, if your html files reside in /var/www
then unzip the file into /var
Unzipping the file will create a folder called antlog alongside (not inside) the html folder (i.e. /var/antlog
).
Inside the antlog
folder there is another antlog
folder. Move this folder into the folder that contains the webserver's html files (/var/www
in the example above).
Inside the main /var/antlog
folder, make sure that the runtime
and vendor/yiisoft/yii2
folders are writable.
Inside the /var/www/antlog
folder, make sure that the assets
folder is writable.
Edit the /var/antlog/config/params.php
file to set execPath
to point to the mysql executable on your system.
Edit the /var/antlog/config/db.php
file to set the username
and password
values for mysql
Run mysql with either the antlog.sql
or antlog_demo.sql
file as input. This will create an empty database or a demo database respectively. Importing the data exported from Antlog online will overwrite the contents of either database, the demo database provides some dummy data if you want to play with Antlog without having to create a whole load of dummy data yourself.
Finally, you can access Antlog at http://localhost/antlog
. You can modify the server settings to make Antlog the default location on the server, but that is beyond the scope of this document. Google and your webserver's documentation is your friend!