Shepard
04.04.2016, 22:06
----------------------------------------------------------------------------
Hier mal eine Install Anweisung für Oberfläche/OpenVPN/Filezilla und JDownloader 2 Beta (userspezifisch)
für mehrere User direkt vorbereitet
----------------------------------------------------------------------------
root@debian:~# apt-get update && apt-get upgrade -y
ändert das root pw
root@debian:~# passwd root
Geben Sie ein neues UNIX-Passwort ein:
Geben Sie das neue UNIX-Passwort erneut ein:
passwd: Passwort erfolgreich geändert
somit habt ihr das root pw geändert
----------------------------------------------------------------------------
Optional für Oberfläche / Filzilla und Goodies
root@debian:~# apt-get install xrdp xfce4 filezilla unrar-free openssl openssh-server gedit htop iotop
root@debian:~# apt-get install vnstat thunar-media-tags-plugin thunar-archive-plugin
root@debian:~# apt-get install openjdk-7-jre icedtea-7-plugin gcj-jre mousepad thunar
root@debian:~# apt-get install handbrake handbrake-cli mkvtoolnix mkvtoolnix-gui mediainfo mediainfo-gui
----------------------------------------------------------------------------
rTorrent install script
root@debian:~# wget --no-check-certificate https://raw.githubusercontent.com/arakas…aster/rtinst.sh
root@debian:~# bash rtinst.sh
merkt euch am ende denn denn FTP:Port
root@debian:~# sudo rtadduser (für weiter rtorrent user anzulegen)
root@debian:~# sudo rtremove (für einen rtorrent user zu löschen)
root@debian:~# sudo rtwebmin (falls webmin benötigt wird)
root@debian:~# sudo rtupdate (für downgrade, sowie downgrade des rtorrents)
root@debian:~# sudo rtdload (falls https nicht erwünscht wird)
um das rtorrent password zu ändern
root@debian:~# su <user>
<user>@debian:~# rtpass
um denn rtorrent neuzustarten
<user>@debian:~# rt restart
um denn rtorrent zu stoppen
<user>@debian:~# rt stop
um denn rtorrent zu starten
<user>@debian:~# rt start
----------------------------------------------------------------------------
falls ihr mehrere user auf rTorrent*s habt aber verschiedene platten habt
müsst ihr den user auf die platte packen
dazu ändert ihr in
root@debian:~# nano /etc/passwd
<user>:x:rechte:rechte:<user>,,,:/home/<user>:/bin/bash
in
<user>:x:rechte:rechte:<user>,,,:/home2/<user>:/bin/bash
(dies wäre wenn es home2 wäre wenn es jedoch home3 usw gibt achtet drauf wo hin ihr den user schiebt)
nun müsst ihr noch die daten vom rtorrent verschieben
root@debian:~# cp -R /home/<user>/ /homeX/<user>/
nachher müsst ihr denn ordner löschen der auf /home/<user>/ ist
root@debian:~# rmdir --ignore-fail-on-non-empty /home/<user>/
ihr müsst aber in der .rtorrent.rc die homepfade ändern damit es wieder passt
# Directories
directory = /homeX/<user>/
session = /home/<user>/rtorrent/.session
schedule = watch_directory,5,5,load_start=/homeX/<user>/rtorrent/watch/*.torrent
wenn ihr alles dann geändert habt müsst ihr dem user wieder die rechte da drauf geben
root@debian:~# chown -cR <user>:<user> /homeX/<user>/
----------------------------------------------------------------------------
Fehlermeldung : rTorrent startet nicht
falls ihr einen fehler meldung habt im rtorrent müsst ihr wieder einen ordner auf
/home/<user>/ anlegen und die .rtorrent.rc darein packen
root@debian:~# cp -R /homeX/<user>/.rtorrent.rc /home/<user>/.rtorrent.rc
und denkt an die rechte wieder !!
root@debian:~# chown -cR <user>:<user> /home/<user>/
----------------------------------------------------------------------------
Ratio Color change in rTorrent
root@debian:~# cd ~
root@debian:~# wget -qO ~/ratio.zip http://git.io/71cum
root@debian:~# sudo unzip -qo ~/ratio.zip -d /var/www/rutorrent/plugins
root@debian:~# rm -f ~/ratio.zip
root@debian:~# exit
----------------------------------------------------------------------------
Nach der Installation des scriptes ändert die letzte zeile im ssh_config
SSHD_Reconfig_Port
root@debian:~# nano /etc/ssh/sshd_config
Port_XXXX
strg + x fürs speichern
zum neustarten des ssh_server
root@debian:~# service ssh restart
oder
root@debian:~# /etc/init.d/ssh restart
oder
root@debian:~# /etc/init.d/ssh reload
----------------------------------------------------------------------------
OpenVPN installieren
root@debian:~# wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
----------------------------------------------------------------------------
FTP-User in rtorrent Verzeichniss bannen
user in Downlaods verzeichnis bannen
root@debian:~# adduser username -home /home/>user</rtorrent/downloads/
----------------------------------------------------------------------------
Optional für die sources.list
root@debian:~# nano /etc/apt/source.list
deb Studenten Net Twente - Index of /debian/ (http://ftp.nl.debian.org/debian/) wheezy main
deb-src Studenten Net Twente - Index of /debian/ (http://ftp.nl.debian.org/debian/) wheezy main
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib
deb http://packages.linuxmint.com debian import
um diese wieder einzulesen
root@debian:~# apt-get update -y
----------------------------------------------------------------------------
JDonloader2 Beta2
root@debian:~# wget http://installer.jdownloader.org/JD2Setup_x64.sh
bash JD2Setup_x64.sh
im install achtet drauf das ihr denn JDown User spezifisch macht
sonst kann der suer denn JDonloader2 nicht nutzen
/homeX/<user>/jd2/ (user spezifischer install)
empfehlung von mir nutzt
http://my.jdownloader.org/
ist ein GUI für den Firefox/Chrome/IE
----------------------------------------------------------------------------
after install
root@debian:~# clear
root@debian:~# apt-get update && apt-get upgrade -y
root@debian:~# apt-get autoremove -y
root@debian:~# history -c
root@debian:~# clear
root@debian:~# exit
Hier mal eine Install Anweisung für Oberfläche/OpenVPN/Filezilla und JDownloader 2 Beta (userspezifisch)
für mehrere User direkt vorbereitet
----------------------------------------------------------------------------
root@debian:~# apt-get update && apt-get upgrade -y
ändert das root pw
root@debian:~# passwd root
Geben Sie ein neues UNIX-Passwort ein:
Geben Sie das neue UNIX-Passwort erneut ein:
passwd: Passwort erfolgreich geändert
somit habt ihr das root pw geändert
----------------------------------------------------------------------------
Optional für Oberfläche / Filzilla und Goodies
root@debian:~# apt-get install xrdp xfce4 filezilla unrar-free openssl openssh-server gedit htop iotop
root@debian:~# apt-get install vnstat thunar-media-tags-plugin thunar-archive-plugin
root@debian:~# apt-get install openjdk-7-jre icedtea-7-plugin gcj-jre mousepad thunar
root@debian:~# apt-get install handbrake handbrake-cli mkvtoolnix mkvtoolnix-gui mediainfo mediainfo-gui
----------------------------------------------------------------------------
rTorrent install script
root@debian:~# wget --no-check-certificate https://raw.githubusercontent.com/arakas…aster/rtinst.sh
root@debian:~# bash rtinst.sh
merkt euch am ende denn denn FTP:Port
root@debian:~# sudo rtadduser (für weiter rtorrent user anzulegen)
root@debian:~# sudo rtremove (für einen rtorrent user zu löschen)
root@debian:~# sudo rtwebmin (falls webmin benötigt wird)
root@debian:~# sudo rtupdate (für downgrade, sowie downgrade des rtorrents)
root@debian:~# sudo rtdload (falls https nicht erwünscht wird)
um das rtorrent password zu ändern
root@debian:~# su <user>
<user>@debian:~# rtpass
um denn rtorrent neuzustarten
<user>@debian:~# rt restart
um denn rtorrent zu stoppen
<user>@debian:~# rt stop
um denn rtorrent zu starten
<user>@debian:~# rt start
----------------------------------------------------------------------------
falls ihr mehrere user auf rTorrent*s habt aber verschiedene platten habt
müsst ihr den user auf die platte packen
dazu ändert ihr in
root@debian:~# nano /etc/passwd
<user>:x:rechte:rechte:<user>,,,:/home/<user>:/bin/bash
in
<user>:x:rechte:rechte:<user>,,,:/home2/<user>:/bin/bash
(dies wäre wenn es home2 wäre wenn es jedoch home3 usw gibt achtet drauf wo hin ihr den user schiebt)
nun müsst ihr noch die daten vom rtorrent verschieben
root@debian:~# cp -R /home/<user>/ /homeX/<user>/
nachher müsst ihr denn ordner löschen der auf /home/<user>/ ist
root@debian:~# rmdir --ignore-fail-on-non-empty /home/<user>/
ihr müsst aber in der .rtorrent.rc die homepfade ändern damit es wieder passt
# Directories
directory = /homeX/<user>/
session = /home/<user>/rtorrent/.session
schedule = watch_directory,5,5,load_start=/homeX/<user>/rtorrent/watch/*.torrent
wenn ihr alles dann geändert habt müsst ihr dem user wieder die rechte da drauf geben
root@debian:~# chown -cR <user>:<user> /homeX/<user>/
----------------------------------------------------------------------------
Fehlermeldung : rTorrent startet nicht
falls ihr einen fehler meldung habt im rtorrent müsst ihr wieder einen ordner auf
/home/<user>/ anlegen und die .rtorrent.rc darein packen
root@debian:~# cp -R /homeX/<user>/.rtorrent.rc /home/<user>/.rtorrent.rc
und denkt an die rechte wieder !!
root@debian:~# chown -cR <user>:<user> /home/<user>/
----------------------------------------------------------------------------
Ratio Color change in rTorrent
root@debian:~# cd ~
root@debian:~# wget -qO ~/ratio.zip http://git.io/71cum
root@debian:~# sudo unzip -qo ~/ratio.zip -d /var/www/rutorrent/plugins
root@debian:~# rm -f ~/ratio.zip
root@debian:~# exit
----------------------------------------------------------------------------
Nach der Installation des scriptes ändert die letzte zeile im ssh_config
SSHD_Reconfig_Port
root@debian:~# nano /etc/ssh/sshd_config
Port_XXXX
strg + x fürs speichern
zum neustarten des ssh_server
root@debian:~# service ssh restart
oder
root@debian:~# /etc/init.d/ssh restart
oder
root@debian:~# /etc/init.d/ssh reload
----------------------------------------------------------------------------
OpenVPN installieren
root@debian:~# wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
----------------------------------------------------------------------------
FTP-User in rtorrent Verzeichniss bannen
user in Downlaods verzeichnis bannen
root@debian:~# adduser username -home /home/>user</rtorrent/downloads/
----------------------------------------------------------------------------
Optional für die sources.list
root@debian:~# nano /etc/apt/source.list
deb Studenten Net Twente - Index of /debian/ (http://ftp.nl.debian.org/debian/) wheezy main
deb-src Studenten Net Twente - Index of /debian/ (http://ftp.nl.debian.org/debian/) wheezy main
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib
deb http://packages.linuxmint.com debian import
um diese wieder einzulesen
root@debian:~# apt-get update -y
----------------------------------------------------------------------------
JDonloader2 Beta2
root@debian:~# wget http://installer.jdownloader.org/JD2Setup_x64.sh
bash JD2Setup_x64.sh
im install achtet drauf das ihr denn JDown User spezifisch macht
sonst kann der suer denn JDonloader2 nicht nutzen
/homeX/<user>/jd2/ (user spezifischer install)
empfehlung von mir nutzt
http://my.jdownloader.org/
ist ein GUI für den Firefox/Chrome/IE
----------------------------------------------------------------------------
after install
root@debian:~# clear
root@debian:~# apt-get update && apt-get upgrade -y
root@debian:~# apt-get autoremove -y
root@debian:~# history -c
root@debian:~# clear
root@debian:~# exit