Outils pour utilisateurs

Outils du site


shoutcast

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
shoutcast [2012/01/15 19:58] – créée thierryshoutcast [2012/01/16 19:05] thierry
Ligne 9: Ligne 9:
  
 Mais comme j'ai moyennement confiance, je vais "chrooté" le serveur. Mais comme j'ai moyennement confiance, je vais "chrooté" le serveur.
 +
 +===== Chrooté =====
 +
 +Ayant moyennement confiance, on va mettre le serveur dans un environnement chrooté.
 +
 +Installer les outils pour chrooter:
 +  # aptitude install debootstrap
 +Choisir une distribution parmi:
 +  # ls /usr/share/debootstrap/scripts/ 
 +  breezy  etch       gutsy  hoary.buildd  karmic  maverick  sarge             sid      testing   warty.buildd  woody.buildd
 +  dapper  etch-m68k  hardy  intrepid      lenny   natty     sarge.buildd      squeeze  unstable  wheezy
 +  edgy    feisty     hoary  jaunty        lucid   potato    sarge.fakechroot  stable   warty     woody
 +
 +On choisit "squeeze".
 +
 +Préparer le répertoire du systeme chrooté:
 +  # mkdir /opt/shoutcast
 +  # mkdir /opt/shoutcast/sys
 +  
 +Installer la distribution choisit dans ce répertoire:
 +  # debootstrap squeeze /opt/shoutcast/sys
 +  ....
 +  I: Base system installed successfully.
 +
 +Prépare ce nouveau systeme:
 +  # cp /etc/hosts /opt/shoutcast/sys/etc/
 +
 +Remplir **''/opt/shoutcast/sys/etc/apt/sources.list''**  correctement.
 +
 +Dans **''/etc/fstab''** ajouter:
 +  # ----- chroot -----
 +  proc    /opt/shoutcast/sys/proc proc    none            0       0
 +  # ------------------
 +Et puis mounter proc:
 +  # mount -a
 +
 +Finir dans ce nouveau system:
 +  # chroot /opt/shoutcast/sys /bin/bash
 +
 +  # dpkg-reconfigure tzdata
 +  # aptitude install locales
 +  # dpkg-reconfigure locales
 +  
  
 ===== Installation ===== ===== Installation =====
 +
 +==== user ====
 +
 +  # adduser shoutcast --no-create-home --disabled-login
 +
 +==== tar.gz ====
  
   $ wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64_07_31_2011.tar.gz   $ wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64_07_31_2011.tar.gz
      
shoutcast.txt · Dernière modification : 2012/01/16 22:12 de thierry