Linux update


For reasons of compatibility and availability of future versions of ISPadmin, you have to maintain your Debian Linux version updated. This article will show you how.


First you need to find out which Linux version you are currently using. To do so, use this command.


cat /etc/debian_version


You may expect four possible scenarios based on the result of the command.


1) 7.x Current version of ISPadmin, no need for any updates System support from Debian side was announced until May, 2018.

2) 6.x.x If your version is 6, you may continue using the system, however, system updates for Debian 6 will end in February, 2016. It means no security patches will be issued, among others, and you will have to look after the system security yourself. If you want to switch to newer version, we recommend system migration instead of sole distribution upgrade.

3) 5.0.x (x represents number between 0 and 10) In this case just follow the instructions on update of debian 5 to debian 6 below.

4) 4.0 If your version is Debian 4.0, you will not be able to update Linux version without serious problems so you will need to re-install Linux from the installation DVD available at, and migrate data afterwards. You can have the migration done by our technical support, or do it yourself according to the migration instructions.


Update of Debian 5 to Debian 6


1) Enter sources to /etc/apt/sources.list as follows:


nano /etc/apt/sources.list


deb squeeze main non-free
deb-src squeeze main
deb squeeze/updates main contrib
deb-src squeeze/updates main contrib
deb squeeze all


2) Preparation for Linux update


apt-get update
gpg --keyserver --recv-key E9C74FEEA2098A6E
gpg -a --export E9C74FEEA2098A6E | apt-key add -
apt-get update


3) Upgrade from Linux 5 Lenny to Linux 6 Squeeze


DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" --force-yes -fuy dist-upgrade


4) Download of utilities necessary for update of Apache and Nagios and their application


wget -O /etc/php5/cli/php.ini
wget -O /etc/php5/apache2/php.ini
wget -O /root/nagios-etc.tgz
wget -O /root/nagios-htdocs.tgz


rm -rf /usr/share/nagios3/htdocs/*
rm -rf /etc/nagios3/*
tar xvfz /root/nagios-etc.tgz -C /etc/nagios3/
tar xvfz /root/nagios-htdocs.tgz -C /usr/share/nagios3/htdocs/
rm /root/nagios-*


sed '/NAGIOS_SECRET/d' /data/support/ispadmin/config/config.php >/tmp/config.php
sed '/\?>/d' /tmp/config.php >/tmp/config2.php
mv /tmp/config2.php /data/support/ispadmin/config/config.php
echo "NAGIOS_SECRET = nagios3" >> /data/support/ispadmin/config/config.php
echo "?>" >> /data/support/ispadmin/config/config.php


sed 's/backup\//backup\/:\/usr\/share\/nagios3\/htdocs\//' /etc/apache2/httpd.conf >/tmp/httpd.conf
mv /tmp/httpd.conf /etc/apache2/httpd.conf


5) Restart Apach and Nagios


/etc/init.d/apache2 restart
/etc/init.d/nagios restart


6) If update caused charset encoding problems in web interface, modify /data/support/ispadmin/config/config.php and /data/support/ispadmin_support/config/config.php - add row MYSQL_CHARSET=latin1


nano /data/support/ispadmin/config/config.php





Tips on how to use this documentation



Searching required information is possible either via structured menu which is divided into sections, or via full-text search of the entire contents of this on-line documentation.

This aid will make it possible for you to find out where exactly you are at the moment.

If, for example, the following appears beneath the main menu - ISPadmin Wiki / ENG / Client management / Menu - CLIENTS / Clients / Message Board / Groups - it means that you are:


  • in the Wiki documentation of the ISPadmin system
  • in its English localization
  • in the Client management section
  • in the Clients tab
  • in the Message board subtab
  • in the Groups sub-subtab


It contains newly added functionalities and modifications of the system which are displayed by versions and issue date. Changelog articles are also displayed in individual sections / pages of the documentation which relate to new functionality or modification. 

Basic orientation

You will find a welcoming menu with basic instruction on trying / implementing / using below. 


Frequently asked questions along with most important procedures and settings are listed in FAQ section. 


Items which refer to real system menu are highlighted in corresponding colour, including their graphical background. Eg. Invoicing Settings Templates Reminders. This is also a working reference to an article. 


NET service solution, s.r.o.
Žerotínova 3056/81a
787 01 Šumperk
Czech Republic