×

Warning

JUser: :_load: Unable to load user with ID: 43

JUser: :_load: Unable to load user with ID: 40

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 http://download.ispadmin.eu, 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 http://ftp.cz.debian.org/debian/ squeeze main non-free
deb-src http://ftp.cz.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib
deb http://packages.dotdeb.org squeeze all

 

2) Preparation for Linux update

 

apt-get update
gpg --keyserver keys.gnupg.net --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 http://update.ispadmin.eu/migration/php.ini-cli -O /etc/php5/cli/php.ini
wget http://update.ispadmin.eu/migration/php.ini-apache -O /etc/php5/apache2/php.ini
wget http://update.ispadmin.eu/migration/nagios-etc.tgz -O /root/nagios-etc.tgz
wget http://update.ispadmin.eu/migration/nagios-htdocs.tgz -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

 

MYSQL_CHARSET=latin1

 

 

System back-ups

ISPadmin has an automatic data back-up functionality. It is possible to store...

MySQL database

Restart of MySQL service /etc/init.d/mysqld restart Recovery of database...

ISPadmin update

Switch to new system version using the following command from command line (logi...

Postfix mail server

By default, the SMTP server is configured in the way that it is only possible...

System Variables

System variables are used for replacing items such as client's name, address,...

System migration

The information contained in this manual pertains to the migration of ISPadmin ...

Emails cannot be sent because of their size

Check and modify the settings of the following parameters: upload_max_f...

Ramdisk and RRD backup-data restoration

More on RAM disk here (index.php?option=com_content view=article id=508:4-11-bet...

HTTPS Certificates

These are instructions on how to create and set up trustworthy certificates (h...

Crashed table repair

these instructions (index.php?option=com_content view=article id=1284:system-bac...

Moving graphs to RAMDISK

The main usage load for disks, on which the system is installed on, is the gener...

Forgotten root password

You can try two ways: First procedure 1. Insert installation DVD of ISPa...

Text editors

Nano text editor is always used in this documentation. If you don’t...

Linux update

For reasons of compatibility and availability of future versions of ISPadmin,...

ISPadmin serving as SMTP server

By default, the SMTP server is configured in the way that it is only possible to...

Cache-only DNS server

Caching-only is ready after installation of ISPadmin. It is sufficient to use IP...

Technical support status cannot be verified

If technical support cannot be verified, most likely it is due to DNS malfunc...

Administration of running processes

We recommend using htop program for easier monitoring of running process inst...

Timezone settings

"Europe/Prague” timezone is set by default. To change it, do the following:...

IPv6

ISPadmin does not currently support IPv6, it only supports IPv4. It is, of cours...

Configuration / update of IP Address

A) Temporary setting of IP address (until next Linux restart).Just add the fo...

High CPU load of ISPadmin server

Run htop command from the Linux console to determine the problems. With this ...

ISPadmin operation behind NAT

If you have your ISPadmin located on private network and wish to access it from ...

Manual update

If the Error 404: Not Found message appears during an update, it will be necessa...

Inner/outer address on ISPadmin server

The system is typically connected to the network by one network card only. Both ...

Running service check

If you need to find out if a certain process is running use the following comman...

Error "Allowed memory size of ... bytes exhausted ..."

Fatal error: Allowed memory size of ... bytes exhausted (tried to allocate ... b...

What is the directory structure in /usr/local/script/ispadmin/rrd_data?

headend ipaccount modem routers snmp switches user_devices wifi

«
»

CONTACT

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