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.0.9
Authori-MSCP Team → http://i-mscp.net
LicenseGPLv2
i-MSCP compatibility version All Versions
Last Update05.02.2012

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 ====
	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 checkout -b $branch
		git pull
	fi
 
#==== Start i-MSCP installer ====
	perl /usr/local/src/imscp/imscp-autoinstall -d
/var/www/virtual/i-mscp.net/wiki/htdocs/data/attic/start/nightlyupgradedebian.1391756842.txt.gz · Last modified: 2014/02/07 07:07 by goover