Advertisement
Guest User

Untitled

a guest
Jan 9th, 2014
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.74 KB | None | 0 0
  1. # MAJ de la source.list
  2. echo "## DEBIAN" > /etc/apt/sources.list
  3. echo "deb http://ftp.debian.org/debian/ wheezy main non-free contrib" >> /etc/apt/sources.list
  4. echo "" >> /etc/apt/sources.list
  5. echo "## UPDATES" >> /etc/apt/sources.list
  6. echo "deb http://http.debian.net/debian wheezy-updates main contrib non-free" >> /etc/apt/sources.list
  7. echo "" >> /etc/apt/sources.list
  8. echo "## SECURITY" >> /etc/apt/sources.list
  9. echo "deb http://security.debian.org/ wheezy/updates main contrib non-free" >> /etc/apt/sources.list
  10. echo "" >> /etc/apt/sources.list
  11. echo "## BACKPORTS" >> /etc/apt/sources.list
  12. echo "deb http://ftp.debian.org/debian wheezy-backports main contrib non-free" >> /etc/apt/sources.list
  13. #echo "" >> /etc/apt/sources.list
  14. #echo "## MariaDB" >> /etc/apt/sources.list
  15. #echo "deb http://mirrors.linsrv.net/mariadb/repo/10.0/debian wheezy main" >> /etc/apt/sources.list
  16. echo "" >> /etc/apt/sources.list
  17. echo "## Webmin" >> /etc/apt/sources.list
  18. echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
  19.  
  20. # Configuration de la langue
  21. dpkg-reconfigure locales
  22.  
  23. # Key MariaDB
  24. apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
  25.  
  26. # Key Webmin
  27. wget -O- http://www.webmin.com/jcameron-key.asc | apt-key add -
  28.  
  29. # Mise à jour
  30. apt-get update
  31. apt-get -y dist-upgrade
  32.  
  33. # Installation MariaDB
  34. #apt-get install -y mariadb-server
  35.  
  36. # Installation de webmin
  37. apt-get install -y webmin
  38.  
  39. # Installation de NTP
  40. apt-get install ntp ntpdate
  41.  
  42. # Configurer le fuseau horaire
  43. dpkg-reconfigure tzdata
  44.  
  45. # Nécessaire pour iRedMail
  46. wget --no-check-certificate https://bitbucket.org/zhb/iredmail/downloads/iRedMail-0.8.6.tar.bz2
  47. apt-get install bzip2
  48. tar jxf iRedMail*
  49.  
  50. # Redémarer
  51. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement