User Tools

Site Tools


start:nightlyupgradedebian

This is an old revision of the document!


i-MSCP automatic Update process Debian

As for 2014.02.03, it's not recommended to use Git Master branch. Instead you should use the Stable branch.

See http://i-mscp.net/index.php/Thread/4869-Git-Master-user-please-consider-to-no-longer-use-it/ for more details

Version Info

Script Version 0.1.0
Authori-MSCP Team → http://i-mscp.net
LicenseGPLv2
i-MSCP compatibility version All Versions
Last Update07.02.2014

Script

#!/bin/sh
#
# i-MSCP automatic Update process Debian
# Version: 0.1.0
# Date: 07.02.2014
# License: GPLv2
# Author : gOOvER
# Author : i-MSCP Team
# Credits: i-mscp development Team
#
# Variables 
#
# Use master for Master Branch - Use stable for latest Stable Branch
#
branch="stable"
 
#==== Installing/Updating distro packages ====
aptitude update && aptitude safe-upgrade
aptitude install -y git
#==== Downloading current git/master branch state ====
clear
echo "#### CLONING i-MSCP Git Branch: "$branch" ####"
mkdir -p /usr/local/src/$branch/imscp
 
if [ ! -d /usr/local/src/$branch/imscp/.git ]; then
        git clone -b $branch git://github.com/i-MSCP/imscp.git /usr/local/src/$branch/imscp
else
        cd /usr/local/src/$branch/imscp
        git pull
fi
 
#==== Start i-MSCP installer ====
perl /usr/local/src/$branch/imscp/imscp-autoinstall -d
/var/www/virtual/i-mscp.net/wiki/htdocs/data/attic/start/nightlyupgradedebian.1404413236.txt.gz · Last modified: 2014/07/03 18:47 by nuxwin