Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
debian:other-debian:usenet-indexer-debian [2017/11/11 13:39] – michael | debian:other-debian:usenet-indexer-debian [2017/11/15 12:45] – michael | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Voraussetzungen ===== | ===== Voraussetzungen ===== | ||
- | * Fertig installiertes **Debian 9** / **Ubuntu 16.04** System | + | * Fertig installiertes **Debian 9** / **Ubuntu 16.04** System |
- | * ''< | + | * ''< |
* Putty Client | * Putty Client | ||
- | ---- | + | FIXME |
+ | <wrap em> | ||
- | * https:// | ||
- | * https:// | ||
- | * https:// | ||
+ | ---- | ||
Line 31: | Line 30: | ||
</ | </ | ||
- '' | - '' | ||
- | # apt-get install vim screen wget git apache2 apache2-utils curl mariadb-server mariadb-client php7.0-fpm php7.0-mysql php7.0-common php7.0-gd php7.0-json php7.0-cli php7.0-curl php7.0-mcrypt php-imagick php-pear php7.0-dev php7.0-mbstring php7.0-xml gcc make curl</ | + | # apt-get install vim screen wget git apache2 apache2-utils curl mariadb-server mariadb-client php7.0-fpm php7.0-mysql php7.0-common php7.0-gd php7.0-json php7.0-cli php7.0-curl php7.0-mcrypt php-imagick php-pear php7.0-dev php7.0-mbstring php7.0-xml |
</ | </ | ||
Line 56: | Line 55: | ||
ErrorLog / | ErrorLog / | ||
- | Alias /covers / | ||
< | < | ||
Options FollowSymLinks | Options FollowSymLinks | ||
Line 62: | Line 60: | ||
Require all granted | Require all granted | ||
</ | </ | ||
+ | | ||
+ | Alias /covers / | ||
ProxyPassMatch ^/ | ProxyPassMatch ^/ | ||
Line 197: | Line 197: | ||
<WRAP center box 100%> | <WRAP center box 100%> | ||
==== Installation der Media Tools ==== | ==== Installation der Media Tools ==== | ||
- | |||
- '' | - '' | ||
- | # apt-get install unrar p7zip-full mediainfo lame ffmpeg libav-tools | + | # apt-get install |
</ | </ | ||
- '' | - '' | ||
Line 224: | Line 223: | ||
< | < | ||
+ | # rm -Rf / | ||
# cd /var/www/ | # cd /var/www/ | ||
# git clone https:// | # git clone https:// | ||
Line 242: | Line 242: | ||
<WRAP center box 100%> | <WRAP center box 100%> | ||
- | ==== nZEDb konfigurieren / Einrichten | + | ==== Tmux Version 2 installieren |
+ | * https:// | ||
</ | </ | ||
+ | <WRAP center box 100%> | ||
+ | ==== Wichtige Arbeiten, von vor dem konfigurieren / einrichten von nZEDb ==== | ||
+ | * CA Zertifikat installieren: | ||
+ | # chmod 744 / | ||
+ | * Environment Ergänzungen: | ||
+ | # mkdir -p / | ||
+ | # cp / | ||
+ | # chown www-data: | ||
+ | # chmod 777 / | ||
+ | </ | ||
+ | <WRAP center box 100%> | ||
+ | ==== nZEDb konfigurieren / Einrichten ==== | ||
+ | server-ip/ | ||
+ | or | ||
+ | domain.com/ | ||
+ | Step1 -> System Check should be OK! | ||
+ | Step2 -> Setup Database! | ||
+ | Step3 -> Enter CA-Cert Path: -> / | ||
+ | Step4 -> Configure primary News-Server! | ||
+ | .. | ||
- | + | </ | |
- | + | ||
- | ---- | + | |
- | + | ||
- | FIXME | + | |
<WRAP center box 100%> | <WRAP center box 100%> | ||
- | ==== Einrichten | + | ==== Einrichten |
- | + | PreDB is a database that contains information about releases. Utilizing PreDB will assist nZEDb in renaming releases and picking up valid releases. It will also allow nZEDb to mark bad releases. Using a preDB will use up disk/database space however, so if you plan on utilizing it, be aware. | |
- | < | + | |
- | # vim / | + | |
- | </ | + | |
- | + | ||
- | <sxh bash; first-line: 1> | + | |
- | #! /bin/bash | + | |
- | + | ||
- | SERVER_BIN=programm | + | |
- | cd /opt/ | + | |
- | + | ||
- | if [ " | + | |
- | then | + | |
- | echo $SERVER_BIN | + | |
- | else | + | |
- | screen -dmS $SERVER_BIN andRequiretOPTIONShere | + | |
- | echo $SERVER_BIN is now alive! | + | |
- | fi | + | |
- | </sxh> | + | |
- | + | ||
- | '' | + | |
- | < | + | |
- | # chmod +x / | + | |
- | # chown -R mcuser: | + | |
- | # ./start_server.sh | + | < |
+ | # php data/predb_import_daily_batch.php 0 local true | ||
</ | </ | ||
</ | </ | ||
- | |||
<WRAP center box 100%> | <WRAP center box 100%> | ||
- | ==== Automatischer Server-Start nach reboot | + | ==== Einrichten von IRCScraper |
+ | Prior to setting up the IRCScraper, you may want to import previous preDB dumps. It’s not necessary, but will help matching/ | ||
- | Damit nun der Server, auch nach einem reboot des Systems wieder automatisch startet, erstellen wir hier einen neuen cronetab eintrag, der dies bei jedem Reboot für uns erledigt: | + | - We need to add a PPA so we can install a better version of ZNC.< |
- | (Achtung !!! Bei einem öffentlichen Minecraft Server sollte es aus Sicherheitstechnischen Gründen __nicht root__ sein, der per crontab der screen startet!) | + | - Install ZNC and the extras: < |
+ | - Run the configuration wizard: < | ||
+ | Listen using SSL: **no, but up to you (this is SSL for the scraper and ZNC, not to IRC** | ||
+ | Listen on IPv4 and IPv6: **no, but up to you** | ||
+ | Username: **Make up a unique one, will be used to connect to ZNC** | ||
+ | Password: **Make up a unique one, will be used to connect to ZNC** | ||
+ | Nick: **Make up a unique one, will be used to connect to IRC** | ||
+ | Alt nick: **Make up a unique one, will be used to connect to IRC** | ||
+ | Ident: **Leave as default** | ||
+ | Real Name: **Leave as default** | ||
+ | Bind host: **Leave as default** | ||
- | < | + | Setup Network: **yes** |
- | # vim / | + | Name: **synIRC** |
- | </ | + | Server host: 192.168.1.14 |
+ | Server SSL: **no** | ||
+ | Server port: **6667** | ||
+ | Server password: **leave empty** | ||
+ | Initial channels: **# | ||
- | <sxh bash; first-line: 1> | + | Launch ZNC: **yes** |
- | SHELL=/ | + | |
- | PATH=/ | + | |
- | MAILTO=root | + | |
- | + | ||
- | # For details see man 4 crontabs | + | |
- | + | ||
- | # Example of job definition: | + | |
- | # .---------------- minute (0 - 59) | + | |
- | # | .------------- hour (0 - 23) | + | |
- | # | | .---------- day of month (1 - 31) | + | |
- | # | | | .------- month (1 - 12) OR jan, | + | |
- | # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun, | + | |
- | # | | | | | | + | |
- | # * | + | |
- | + | ||
- | @reboot root / | + | |
</ | </ | ||
- | </WRAP> | + | - Change some settings in ZNC < |
+ | '' | ||
+ | * Under **Global Settings**, change **Max Buffer Size** to 1000 and click Save. | ||
- | <wrap em>Wenn nun bis hier alles geklappt hat, ist die Grundlage des neuen Minecraft Server fertig! Für die Client Authentifizierung mit einem gehackten Client, weiter unten schauen! : | + | * Under **Your Settings** -> **Networks**, click Edit next to syncIRC. |
- | ---- | + | |
- | + | 23: | |
- | + | 54: | |
- | <WRAP center round important 100%> | + | 67: |
- | **Debugging: | + | 72: |
- | Um für Debugging-zwecke auf die Server Console zu verbinden, wird folgendermassen vorgegangen: | + | 8e: |
- | < | + | b3: |
- | screen -r BineriNamend | + | d9: |
- | </ | + | ef: |
- | + | 0b: | |
- | '' | + | 23: |
+ | 67: | ||
+ | 72: | ||
+ | 8e: | ||
+ | b3: | ||
+ | d9: | ||
+ | </code> | ||
+ | * '' | ||
</ | </ | ||
+ | * Under Default Settings, change Channel Modes to +stn | ||
- | ---- | + | * Under Default Settings, change Buffer Size to 1000 |
- | ===== Web-GUI Konfiguration des frisch installierten Indexers ===== | + | * Click Save and Return |
- | FIXME | + | |
- | '' | + | http:// |
+ | </ | ||
+ | - Configure IRCScraper: | ||
+ | # cp ircscraper_settings_example.php ircscraper_settings.php | ||
- | <WRAP center box 100%> | + | # vim ircscraper_settings.php</ |
- | <wrap em> | + | |
- | <code># cat / | + | |
- | < | + | |
- | con=false | + | |
- | </ | ||
- | </ | ||
- | ==== Download des Clients ==== | ||
Line 366: | Line 363: | ||
---- | ---- | ||
- | ===== Weitere Informationen ===== | ||
- | | + | |
+ | | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * http:// | ||