Software setup
The ATSLog updating information is located in the file UPDATING.
Requirements
Your system should meet following requirements- POSIX compatible *nix. Checked for Linux and FreeBSD. Most probably will work with other UNIX OS as well.
- GCC compiler
- MySQL (checked for 4.xx and 5.xx) or PostgreSQL
- Perl 5, Perl modules DBD-mysql or DBD-Pg modules for MySQL or PostgreSQL.
- If you plan to use the web interface - http server (checked for Apache HTTPD) with PHP support installed (4.3 +).
Installation
The FreeBSD port of atslog is available from www.freshports.org.- Download and unpack atslog-2.1.1.tar.gz:
$ fetch http://www.atslog.com/download/atslog-2.1.1.tar.gz $ tar vzxfmp atslog-2.1.1.tar.gz
- Check the options of the configure script.
$ ./configure --help
Run the configure script either without parameters or with parameters of your choice.$ ./configure
- Install the program issueing make install
# make install
-
Edit the program config file $PREFIX/atslog.conf (for example, /usr/local/etc/atslog.conf).
Pay special attention to the parameters $port, $speed, $fastwrite, $model.
# $EDITOR /usr/local/etc/atslog.conf
-
Launch your SQL server (PostgreSQL or MySQL). Create the atslog database with
$ make install-sql
This prompt automatically creates the atslog database with all necessary tables.
-
To enable the web interface add corresponding lines into
httpd.conf, for example:
Alias /atslog/ "/usr/local/www/atslog/" <Directory "/usr/local/www/atslog/"> Options none AllowOverride Limit Order Deny,Allow Deny from all Allow from 127.0.0.1 .example.com </Directory>Web interfe settings are located in the file www/include/config.inc.php. Copy the SQL password from atslog.conf into this file. - Read carefully the section Using atslog ATSlog and launch atslog with atslogmaster start.
| Previous | Sections | Next |
| cable pin-outs | Upgrading from previous versions |
