################################################################################
#
# SAMS (Squid Account Management System)
#
# Copyleft 2007-2008 Dmitry Chemerik
# Web: http://sams.perm.ru
#
# This code is open source and may be copied and modified as long as the source
# code is always made freely available.
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
################################################################################

How to setup SAMS ?

SAMS needs the following components:
- MySQL version 3.23 or higher
- libmysql-devel 
- Apache version 1.3.33 or higher / Apache version 2.0.X or higher
- Apache Mod_php
- libpcre, libpcre-devel
- libgd, libgd-devel
- PHP 4.3.2 or higher
- Zlib support for PHP.
- php-mysql: MySQL support for PHP.
- php-gd: GD support for PHP.
- Zlib support for PHP.

Compilation:

SAMS now has autoconf: building should just be (in the sams-<version> dir:

./configure
make

If you like you can do a:

make install

after the make. This will place SAMS binaries in  /usr/local/bin, WEB-interface 
in /usr/local/share/sams.

Fix the /etc/init.d/samsd startup file.

Running samsdaemon: service samsd start

Open the file http://yourserver/sams/index.html in your browser. SAMS should 
now display a welcome screen and a login dialog. You can be reading the 
user "Admin" password in the file INSTALL.

Enjoy SAMS ;-)

SAMS Team
