In order to keep your server updated, to avoid security flaws and benefit from new versions of services currently used, you should keep your Linux Debian distribution up-to-date.


Before any significant operation, such as a database update, it is essential to safeguard your data: a rule of thumb is that any system may encouter a critical failure (think : how may i be impacted in case of data loss).
If your server is a virtual machine, you can ask for an instantaneously saving of your VM (snapshot) that you can complete with a manual saving, either through integrated tools of applications software that you administrate (i.e Backup of Plesk function) or manually.

Here is the way to manually safeguard some important folders:

Be careful, it is only possible (read : recommanded) to shift your debian from previous-version to current-version (ex : from Debian 7 Wheezy to Debian 8 Jessie).
In our case, if your Debian version is lower than Wheezy, please start by updating it.

Moreover, since it is a kernel update, a reboot would be unavoidable (you may use kexec to minimize your downtime).

If possible, avoid updating via SSH, favour local terminal (read : the console of you VM if you are a VM administrator or via a remote/virtualized KVM) to avoid the cutoff right in the middle.
Put a stop to all critical services such as Apache, MySQL, etc, to avoid any issue while updating.


Before upgrading your server from Wheezy to Jessie, it is essential to make sure that Wheezy is updated :

Edit your file /etc/apt/sources.list to replace the words wheezy by Jessie or use the command sed to do the modification :

Perform again step 1 to upgrade to Jessie then restart your server :

Check your distribution version that will show the following result :

Categories: SystemTutorials

JN Community

Les Ressources, en particulier les tutoriaux, présupposent que l’Utilisateur qui décide de les mettre en œuvre dispose des connaissances, des compétences et de l’expérience nécessaire pour cette mise en œuvre. L’Utilisateur disposant d’une connaissance, compétence et/ou expérience limitée ou insuffisante doit absolument s’abstenir de mettre en œuvre les Ressources par lui-même. Jaguar Network décline toute responsabilité quant aux conséquences dommageables de la mise en œuvre des Ressources, notamment sur les infrastructures informatiques de l’Utilisateur, de ses commettants ou préposés ou de tout tiers. Il est précisé en tant que de besoin que toute intervention de Jaguar Network visant à réparer les dommages causés par la mise en œuvre des Ressources par un Utilisateur ne disposant pas des connaissances, compétences et/ou expériences suffisantes sera facturée et fera l’objet d’un devis préalable et d’un bon de commande aux conditions des contrats Jaguar Network en vigueur.

Related Posts


Shutdown and restart your Linux system

Vote On Linux system, there are a lot of commands to shutdown and reboot your system. This tutorial aims to detail some existing possibilities. Articles similaires


Installation of a web server LEMP (Linux, Nginx, MySQL, PHP)

Vote The installation of a server LEMP Linux + Nginx + MySQL + PHP might be more useful and efficient than an Apache (server LAMP). Articles similaires


Operating load-balancing with HAproxy

Vote HAproxy is a software allowing Load-Balancing between several web servers by allocating requests in an almost transparent way for the user. Articles similaires