Étiquette : Webmin

18 juillet 2017 /

Voici le script AtoMiC-ToolKit (Automate your Media Center) pour Ubuntu et ses forks du site « htpcbeginner.com »

Certain logiciel comme Sickrage ou SabNzbd ne sont pas vraiment « newbie-friendly ».
Ce script va rendre cette tâche terriblement facile.

Voici la liste des logiciels qu’il peut installer:

FIlm

  • CouchPotato
  • Radarr
  • Watcher

Musique

  • Headphones

Séries TV

  • SickGear
  • SickRage
  • Sonarr

Livres

  • Lazy Librarian

Comics

  • Mylar

Téléchargement via Newsgroup

  • NZBGet
  • NZBHydra
  • SABnzbd+

Téléchargement via Torrent

  • Deluge
  • Jackett
  • qBittorrent
  • rTorrent
  • ruTorrent
  • Transmission avec WebUI

Média Serveur:

  • Emby
  • Madsonic
  • Plex
  • PlexPy
  • Subsonic
  • ubooquity
  • Kodi

Administration:

  • HTPC Manager
  • Muximux
  • Ombi
  • Organizr
  • Webmin
  • phpSysInfo

Utilitaires:

  • pyLoad
  • Resilio-Sync

Prévu dans le futur: DuckieTV, ktorrent, Monit, MusicBrainz, MythTV, ShellInABox, Tvheadend.

Avant de commencer, si ce n’est pas déjà fait, on configure sudo pour ne pas avoir à taper de mot de passe:

sudo visudo

Puis on ajoute à la fin les droit de notre utilisateur (ici starmate):

starmate ALL=NOPASSWD: ALL

On installe GIT:

sudo apt-get install git

On clone le dépôt « AtoMiC-ToolKit »:

git clone https://github.com/htpcBeginner/AtoMiC-ToolKit ~/AtoMiC-ToolKit

On va dans le dépôt que l’on vient de télécharger:

cd ~/AtoMiC-ToolKit

Et on lance avec sudo le script nommé « setup.sh »:

sudo bash setup.sh

 

On accepte l’avertissement avec « y » puis Entrée:

[pastacode lang= »bash » manual= »%20%E2%94%AC%20%E2%94%AC%E2%94%AC%20%E2%94%AC%E2%94%AC%20%E2%94%AC%20%E2%94%AC%20%E2%94%AC%E2%94%8C%E2%94%AC%E2%94%90%E2%94%8C%E2%94%80%E2%94%90%E2%94%8C%E2%94%80%E2%94%90%E2%94%8C%E2%94%90%20%E2%94%8C%E2%94%80%E2%94%90%E2%94%8C%E2%94%80%E2%94%90%E2%94%AC%E2%94%8C%E2%94%90%E2%94%8C%E2%94%8C%E2%94%90%E2%94%8C%E2%94%8C%E2%94%80%E2%94%90%E2%94%AC%E2%94%80%E2%94%90%20%E2%94%8C%E2%94%80%E2%94%90%E2%94%8C%E2%94%80%E2%94%90%E2%94%8C%E2%94%AC%E2%94%90%0A%20%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%82%20%E2%94%9C%E2%94%80%E2%94%A4%20%E2%94%82%20%E2%94%9C%E2%94%80%E2%94%98%E2%94%82%20%20%E2%94%9C%E2%94%B4%E2%94%90%E2%94%9C%E2%94%A4%20%E2%94%82%20%E2%94%AC%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%82%E2%94%9C%E2%94%A4%20%E2%94%9C%E2%94%AC%E2%94%98%20%E2%94%82%20%20%E2%94%82%20%E2%94%82%E2%94%82%E2%94%82%E2%94%82%0A%20%E2%94%94%E2%94%B4%E2%94%98%E2%94%94%E2%94%B4%E2%94%98%E2%94%94%E2%94%B4%E2%94%98o%E2%94%B4%20%E2%94%B4%20%E2%94%B4%20%E2%94%B4%20%20%E2%94%94%E2%94%80%E2%94%98%E2%94%94%E2%94%80%E2%94%98%E2%94%94%E2%94%80%E2%94%98%E2%94%94%E2%94%80%E2%94%98%E2%94%B4%E2%94%98%E2%94%94%E2%94%98%E2%94%98%E2%94%94%E2%94%98%E2%94%94%E2%94%80%E2%94%98%E2%94%B4%E2%94%94%E2%94%80o%E2%94%94%E2%94%80%E2%94%98%E2%94%94%E2%94%80%E2%94%98%E2%94%B4%20%E2%94%B4%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20__%20%20___%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%2F%5C%20%7C_%20_%20%7C%5C%2F%7C.%2F%20%20%20%20%20%7C%20_%20%20_%20%7C%7C_%2F.%7C_%20%0A%20%2F–%5C%7C_(_)%7C%20%20%7C%7C%5C__%20%20%20%7C(_)(_)%7C%7C%20%5C%7C%7C_%20%0A%0A—%3EDISCLAIMERS%3A%0A—%3EPlease%20read%20and%20agree%20to%20the%20following%20disclaimers%3A%0A1.%20AtoMiC%20ToolKit%20has%20only%20been%20confirmed%20to%20work%20on%20Ubuntu%5CDebian%20variants%2C%20Mint%2C%20Ubuntu%20Server%20and%20Raspbian.%0A2.%20www.htpcBeginner.com%2C%20its%20authors%2C%20or%20ToolKit%20contributors%20cannot%20be%20held%20accountable%20for%20any%20problems%20that%20might%20occur%20while%20using%20this%20ToolKit.%0A3.%20If%20you%20did%20not%20run%20this%20ToolKit%20with%20sudo%2C%20you%20maybe%20asked%20for%20your%20root%20password%20during%20installation.%0A5.%20Best%20used%20on%20a%20clean%20system%20(with%20no%20previous%20app%20install)%20or%20after%20complete%20removal%20of%20previous%20app%20installation.%0A4.%20By%20proceeding%20you%20agree%20to%20assume%20all%20risks%20and%20authorize%20the%20ToolKit%20to%20install%20any%20required%20packages.%0A%0AType%20y%2FY%20and%20press%20%5BENTER%5D%20to%20AGREE%20and%20continue%20with%20the%20installation%20or%20any%20other%20key%20to%20exit%3A%20y%0A » message= » » highlight= » » provider= »manual »/]

Il va vérifier ensuite si il a bien toutes ses dépendances, le cas échéant, il les installera:

[pastacode lang= »bash » manual= »—%3ECHECKING%20TOOLKIT%20DEPENDENCIES%20…%0AS%C3%A9lection%20du%20paquet%20checkinstall%20pr%C3%A9c%C3%A9demment%20d%C3%A9s%C3%A9lectionn%C3%A9.%0A(Lecture%20de%20la%20base%20de%20donn%C3%A9es…%20333904%20fichiers%20et%20r%C3%A9pertoires%20d%C3%A9j%C3%A0%20install%C3%A9s.)%0APr%C3%A9paration%20du%20d%C3%A9paquetage%20de%20…%2Fcheckinstall_1.6.2-4ubuntu1_amd64.deb%20…%0AD%C3%A9paquetage%20de%20checkinstall%20(1.6.2-4ubuntu1)%20…%0AS%C3%A9lection%20du%20paquet%20libtinyxml2-2v5%3Aamd64%20pr%C3%A9c%C3%A9demment%20d%C3%A9s%C3%A9lectionn%C3%A9.%0APr%C3%A9paration%20du%20d%C3%A9paquetage%20de%20…%2Flibtinyxml2-2v5_2.2.0-1.1ubuntu1_amd64.deb%20…%0AD%C3%A9paquetage%20de%20libtinyxml2-2v5%3Aamd64%20(2.2.0-1.1ubuntu1)%20…%0AS%C3%A9lection%20du%20paquet%20libzen0v5%3Aamd64%20pr%C3%A9c%C3%A9demment%20d%C3%A9s%C3%A9lectionn%C3%A9.%0APr%C3%A9paration%20du%20d%C3%A9paquetage%20de%20…%2Flibzen0v5_0.4.32-1_amd64.deb%20…%0AD%C3%A9paquetage%20de%20libzen0v5%3Aamd64%20(0.4.32-1)%20…%0AS%C3%A9lection%20du%20paquet%20libmediainfo0v5%3Aamd64%20pr%C3%A9c%C3%A9demment%20d%C3%A9s%C3%A9lectionn%C3%A9.%0APr%C3%A9paration%20du%20d%C3%A9paquetage%20de%20…%2Flibmediainfo0v5_0.7.82-1_amd64.deb%20…%0AD%C3%A9paquetage%20de%20libmediainfo0v5%3Aamd64%20(0.7.82-1)%20…%0AS%C3%A9lection%20du%20paquet%20mediainfo%20pr%C3%A9c%C3%A9demment%20d%C3%A9s%C3%A9lectionn%C3%A9.%0APr%C3%A9paration%20du%20d%C3%A9paquetage%20de%20…%2Fmediainfo_0.7.82-1_amd64.deb%20…%0AD%C3%A9paquetage%20de%20mediainfo%20(0.7.82-1)%20…%0AS%C3%A9lection%20du%20paquet%20mediainfo-gui%20pr%C3%A9c%C3%A9demment%20d%C3%A9s%C3%A9lectionn%C3%A9.%0APr%C3%A9paration%20du%20d%C3%A9paquetage%20de%20…%2Fmediainfo-gui_0.7.82-1_amd64.deb%20…%0AD%C3%A9paquetage%20de%20mediainfo-gui%20(0.7.82-1)%20…%0AS%C3%A9lection%20du%20paquet%20par2%20pr%C3%A9c%C3%A9demment%20d%C3%A9s%C3%A9lectionn%C3%A9.%0APr%C3%A9paration%20du%20d%C3%A9paquetage%20de%20…%2Fpar2_0.6.14-1_amd64.deb%20…%0AD%C3%A9paquetage%20de%20par2%20(0.6.14-1)%20…%0ATraitement%20des%20actions%20diff%C3%A9r%C3%A9es%20(%C2%AB%C2%A0triggers%C2%A0%C2%BB)%20pour%20man-db%20(2.7.5-1)%C2%A0…%0ATraitement%20des%20actions%20diff%C3%A9r%C3%A9es%20(%C2%AB%C2%A0triggers%C2%A0%C2%BB)%20pour%20libc-bin%20(2.23-0ubuntu9)%C2%A0…%0ATraitement%20des%20actions%20diff%C3%A9r%C3%A9es%20(%C2%AB%C2%A0triggers%C2%A0%C2%BB)%20pour%20desktop-file-utils%20(0.22-1ubuntu5.1)%C2%A0…%0ATraitement%20des%20actions%20diff%C3%A9r%C3%A9es%20(%C2%AB%C2%A0triggers%C2%A0%C2%BB)%20pour%20bamfdaemon%20(0.5.3~bzr0%2B16.04.20160824-0ubuntu1)%C2%A0…%0ARebuilding%20%2Fusr%2Fshare%2Fapplications%2Fbamf-2.index…%0ATraitement%20des%20actions%20diff%C3%A9r%C3%A9es%20(%C2%AB%C2%A0triggers%C2%A0%C2%BB)%20pour%20gnome-menus%20(3.13.3-6ubuntu3.1)%C2%A0…%0ATraitement%20des%20actions%20diff%C3%A9r%C3%A9es%20(%C2%AB%C2%A0triggers%C2%A0%C2%BB)%20pour%20mime-support%20(3.59ubuntu1)%C2%A0…%0ATraitement%20des%20actions%20diff%C3%A9r%C3%A9es%20(%C2%AB%C2%A0triggers%C2%A0%C2%BB)%20pour%20hicolor-icon-theme%20(0.15-0ubuntu1)%C2%A0…%0AParam%C3%A9trage%20de%20checkinstall%20(1.6.2-4ubuntu1)%20…%0AParam%C3%A9trage%20de%20libtinyxml2-2v5%3Aamd64%20(2.2.0-1.1ubuntu1)%20…%0AParam%C3%A9trage%20de%20libzen0v5%3Aamd64%20(0.4.32-1)%20…%0AParam%C3%A9trage%20de%20libmediainfo0v5%3Aamd64%20(0.7.82-1)%20…%0AParam%C3%A9trage%20de%20mediainfo%20(0.7.82-1)%20…%0AParam%C3%A9trage%20de%20mediainfo-gui%20(0.7.82-1)%20…%0AParam%C3%A9trage%20de%20par2%20(0.6.14-1)%20…%0ATraitement%20des%20actions%20diff%C3%A9r%C3%A9es%20(%C2%AB%C2%A0triggers%C2%A0%C2%BB)%20pour%20libc-bin%20(2.23-0ubuntu9)%C2%A0…%0A » message= » » highlight= » » provider= »manual »/]

Il nous demande ensuite le nom du compte auquel on a donné les droit sudo sans demande de mot de passe (starmate):

[pastacode lang= »bash » manual= »—%3EUSER%20INFORMATION%3A%0A—%3EType%20the%20username%20of%20the%20user%20you%20want%20to%20use%20for%20managing%20apps%20and%20press%20%5BENTER%5D…%0ATypically%2C%20this%20is%20your%20system%20login%20name%20(IMPORTANT!%20Ensure%20correct%20spelling%20and%20case).%20Do%20not%20use%20%22root%22.%20Current%20username%20is%20%22starmate%22%3A%20starmate » message= » » highlight= » » provider= »manual »/]

Et voila, vous pouvez maintenant installer avec beaucoup de facilité tous ce qu’il vous faut pour votre Home Cinéma:

Cette petite vidéo montre l’installation, la mise à jour et la desintallation de Sickbeard:

 

8 avril 2017 /

Pour installer Webmin sur un serveur Ubuntu 16.04, on commence par installer quelques dépendances:

apt-get install -y perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python libwww-perl liblwp-protocol-https-perl

On ajoute la clef pour vérifier l’intégrité des paquets du dépôts de Webmin:

wget -O- http://www.webmin.com/jcameron-key.asc | sudo apt-key add -

On ajoute les dépôts à la fin du fichier sources.list :

vi /etc/apt/sources.list

#Webmin
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Il ne reste plus qu’a mettre à jour la  liste des paquets:

apt-get update

Et à l’installer:

apt-get install webmin

La fin de l’installation est détaille la façon de se connecter sur l’interface Webmin:

Webmin install complete. You can now login to https://starmind:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.