Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # MAJ de la source.list
- echo "## DEBIAN" > /etc/apt/sources.list
- echo "deb http://ftp.debian.org/debian/ wheezy main non-free contrib" >> /etc/apt/sources.list
- echo "" >> /etc/apt/sources.list
- echo "## UPDATES" >> /etc/apt/sources.list
- echo "deb http://http.debian.net/debian wheezy-updates main contrib non-free" >> /etc/apt/sources.list
- echo "" >> /etc/apt/sources.list
- echo "## SECURITY" >> /etc/apt/sources.list
- echo "deb http://security.debian.org/ wheezy/updates main contrib non-free" >> /etc/apt/sources.list
- echo "" >> /etc/apt/sources.list
- echo "## BACKPORTS" >> /etc/apt/sources.list
- echo "deb http://ftp.debian.org/debian wheezy-backports main contrib non-free" >> /etc/apt/sources.list
- #echo "" >> /etc/apt/sources.list
- #echo "## MariaDB" >> /etc/apt/sources.list
- #echo "deb http://mirrors.linsrv.net/mariadb/repo/10.0/debian wheezy main" >> /etc/apt/sources.list
- echo "" >> /etc/apt/sources.list
- echo "## Webmin" >> /etc/apt/sources.list
- echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
- # Configuration de la langue
- dpkg-reconfigure locales
- # Key MariaDB
- apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
- # Key Webmin
- wget -O- http://www.webmin.com/jcameron-key.asc | apt-key add -
- # Mise à jour
- apt-get update
- apt-get -y dist-upgrade
- # Installation MariaDB
- #apt-get install -y mariadb-server
- # Installation de webmin
- apt-get install -y webmin
- # Installation de NTP
- apt-get install ntp ntpdate
- # Configurer le fuseau horaire
- dpkg-reconfigure tzdata
- # Nécessaire pour iRedMail
- wget --no-check-certificate https://bitbucket.org/zhb/iredmail/downloads/iRedMail-0.8.6.tar.bz2
- apt-get install bzip2
- tar jxf iRedMail*
- # Redémarer
- reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement