This shows you the differences between two versions of the page.
— |
fr:start:nightlyupgradedebian [2013/09/12 02:15] (current) fury created (translation of the english page) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Script de mise à jour automatique pour i-MSCP sur Debian ====== | ||
+ | ===== Informations sur les versions ===== | ||
+ | ^Version du script | 0.0.9| | ||
+ | ^Auteur|Équipe i-MSCP -> [[http://i-mscp.net]]| | ||
+ | ^License|GPLv2| | ||
+ | ^Versions d'i-MSCP compatibles | Toutes| | ||
+ | ^Dernière mise à jour|05.02.2012| | ||
+ | |||
+ | ===== Script ===== | ||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | # i-MSCP automatic Update process Debian | ||
+ | # Version: 0.0.9 | ||
+ | # License: GPLv2 | ||
+ | # Author : gOOvER | ||
+ | # Author : i-MSCP Team | ||
+ | # Credits: i-mscp development Team | ||
+ | #==== Installing/Updating distro packages ==== | ||
+ | aptitude update && aptitude safe-upgrade | ||
+ | aptitude install -y git | ||
+ | #==== Downloading current git/master branch state ==== | ||
+ | echo "#### CLONING i-MSCP git/master branch ####" | ||
+ | mkdir -p /usr/local/src/imscp | ||
+ | if [ ! -d /usr/local/src/imscp/.git ]; then | ||
+ | git clone git://github.com/i-MSCP/imscp.git /usr/local/src/imscp | ||
+ | else | ||
+ | cd /usr/local/src/imscp | ||
+ | git pull | ||
+ | fi | ||
+ | |||
+ | #==== Start i-MSCP installer ==== | ||
+ | perl /usr/local/src/imscp/imscp-autoinstall -d | ||
+ | </code> |