This shows you the differences between two versions of the page.
— |
es:start:nightlyupgradeubuntu [2013/05/31 19:04] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Proceso automático de actualización de i-MSCP en Ubuntu ====== | ||
+ | ===== Info de la Versión ===== | ||
+ | ^Versión del Script | 0.0.9| | ||
+ | ^Autor|i-MSCP Team -> [[http://i-mscp.net]]| | ||
+ | ^Licencia|GPLv2| | ||
+ | ^Versión de compatibilidad i-MSCP | Todas las Versiones| | ||
+ | ^Última actualización|05.02.2012| | ||
+ | |||
+ | ===== Script ===== | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | # i-MSCP automatic Update process Ubuntu | ||
+ | # 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-core lsb-release | ||
+ | #==== 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 | ||
+ | </code> |