Debian Lenny
From www.sermyadmin.org
The installation in Debian Lenny is the default for serMyAdmin.
The procedure below simplifies the installation reducing the number of steps from 17 to 5. I honestly hope it helps users to install SerMyAdmin easily. After the installation don't forget to point your OpenSIPS to the sermyadmin database. After installing the new SerMyAdmin application and database, you will have to point OpenSER or OpenSIPS to sermyadmin database. Please read the link "Configure your SIP Proxy to the SerMyAdmin".
Below you will find the new installation procedure:
Step 1: Adding the contrib and non-free repositories
The first step we will take is to update our source’s list to use the contrib repository and non-free packages also, our /etc/apt/sources.list, should look like below:
vi /etc/apt/souces.list
deb http://ftp.br.debian.org/debian/ etch main contrib non-free deb-src http://ftp.br.debian.org/debian/ etch main contrib non-free deb http://security.debian.org/ etch/updates main contrib non-free deb-src http://security.debian.org/ etch/updates main contrib non-free
Step 2: Java and Tomcat Installation
Download the file sermyadmin-install.tar.gz and run the sermyadmin-install.sh. Please, run the commands below:
wget http://www.sermyadmin.org/sermyadmin-install.tar.gz tar zxvf sermyadmin-install.tar.gz
After this, please apply the correct permissions for the file:
cd sermyadmin-install chmod 0777 sermyadmin-install.sh
run the file:
./install.sh
This file will configure the Tomcat with serMyAdmin deployed .
Step 3: Configure your MTA (optional)
Configure Debian´s MTA (Message Transfer Agent) to allow serMyAdmin to send a confirmation e-mail to new users. Run the command below to configure Exim4 (default MTA for Debian). Ask for help to your company´s e-mail administrator.
apt-get install exim4 dpkg-reconfigure exim4-config
You will be greeted with a dialog-based configuration menu, on this menu it’s import to pay attention for two options: General type of mail configuration, which should be set to Internet Site so that we can send and receive mails directly using SMTP and Domains to relay mail for, which should be set to the domain which you want that the e-mails from SerMyAdmin to appear to come from.
Step 4: Configure serMyAdmin to use the e-mail server (optional)
Customize the file /usr/local/apache-tomcat-6.0.16/webapps/serMyAdmin-0.3/WEB-INF/spring/resource.xml, which contain the parameters that tell which e-mail server is used to send mails and from whom these e-mails should appear to come from. The first parameter to change is the server that we will use to send e-mails. Following is the parameter from whom those e-mails will appear to come from. Restart Tomcat again and we’re ready to go.
Step 5: Access the new system
To Access the new system point your browser to:
http:// address>:8080/serMyAdmin The default user is: admin@sermyadmin.org password secret
If you already had a database, you will have to migrate all the data to the new database. Migration tools are not being provided right now, but is certainly something we are working on.

