debian:other-debian:usenet-indexer-debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
debian:other-debian:usenet-indexer-debian [2017/11/15 12:30] – [Installation des Indexers] michaeldebian:other-debian:usenet-indexer-debian [2017/11/17 10:28] michael
Line 70: Line 70:
 # sed -i "s/ServerTokens OS/ServerTokens Prod/" /etc/apache2/conf-available/security.conf # sed -i "s/ServerTokens OS/ServerTokens Prod/" /etc/apache2/conf-available/security.conf
 # sed -i "s/ServerSignature On/ServerSignature Off/" /etc/apache2/conf-available/security.conf # sed -i "s/ServerSignature On/ServerSignature Off/" /etc/apache2/conf-available/security.conf
 +
 +# vim /etc/apache2/apache2.conf     #->> change at "<Directory /var/www/>... AllowOverride None" to -> AllowOverride All
 </code> </code>
  
Line 102: Line 104:
  
 <code> <code>
-# sed -i "s/max_execution_time = 30/max_execution_time = 120/" /etc/php/7.0/cli/php.ini+# sed -i "s/max_execution_time = 30/max_execution_time = 300/" /etc/php/7.0/cli/php.ini
 # sed -i "s/;date.timezone =/date.timezone = Europe\/Zurich/" /etc/php/7.0/cli/php.ini # sed -i "s/;date.timezone =/date.timezone = Europe\/Zurich/" /etc/php/7.0/cli/php.ini
 </code> </code>
Line 108: Line 110:
 <wrap em>Now we have to do the same for our php7.0-fpm Configuration:</wrap> <wrap em>Now we have to do the same for our php7.0-fpm Configuration:</wrap>
 <code> <code>
-# sed -i "s/max_execution_time = 30/max_execution_time = 120/" /etc/php/7.0/fpm/php.ini +# sed -i "s/max_execution_time = 30/max_execution_time = 300/" /etc/php/7.0/fpm/php.ini 
-# sed -i "s/memory_limit = 128M/memory_limit = 1024M/" /etc/php/7.0/fpm/php.ini+# sed -i "s/post_max_size = 8M/post_max_size = 64M/" /etc/php/7.0/fpm/php.ini 
 +# sed -i "s/memory_limit = 128M/memory_limit = 2048M/" /etc/php/7.0/fpm/php.ini
 # sed -i "s/;date.timezone =/date.timezone = Europe\/Zurich/" /etc/php/7.0/fpm/php.ini # sed -i "s/;date.timezone =/date.timezone = Europe\/Zurich/" /etc/php/7.0/fpm/php.ini
 </code> </code>
Line 135: Line 138:
 # configurations by nZEDb # configurations by nZEDb
 innodb_file_per_table = 1 innodb_file_per_table = 1
-max_allowed_packet = 16M+max_allowed_packet = 128M
 group_concat_max_len = 8192 group_concat_max_len = 8192
 </sxh> </sxh>
Line 174: Line 177:
 MariaDB [(none)]> GRANT ALL PRIVILEGES ON nzedb.* TO 'nzedbuser'@'localhost' IDENTIFIED BY 'YOUR-PASSWORD'; MariaDB [(none)]> GRANT ALL PRIVILEGES ON nzedb.* TO 'nzedbuser'@'localhost' IDENTIFIED BY 'YOUR-PASSWORD';
 MariaDB [(none)]> GRANT FILE ON *.* TO 'nzedbuser'@'localhost'; MariaDB [(none)]> GRANT FILE ON *.* TO 'nzedbuser'@'localhost';
 +MariaDB [(none)]> GRANT RELOAD ON *.* TO nzedbuser@'localhost';   #  (used when optimising DB)
 MariaDB [(none)]> FLUSH PRIVILEGES; MariaDB [(none)]> FLUSH PRIVILEGES;
 MariaDB [(none)]> quit</code> MariaDB [(none)]> quit</code>
Line 243: Line 247:
 <WRAP center box 100%> <WRAP center box 100%>
 ==== Tmux Version 2 installieren ==== ==== Tmux Version 2 installieren ====
-  * https://forums.nzedb.com/index.php?topic=2464.0+<code># apt-get install libevent-dev build-essential git autotools-dev automake pkg-config ncurses-dev 
 +# apt-get remove tmux 
 +# cd /tmp/ 
 +# git clone https://github.com/tmux/tmux.git --branch 2.0 --single-branch 
 +# cd tmux 
 +# ll 
 +# ./autogen.sh 
 +# ./configure 
 +# make -j4 
 +# make install 
 +# make clean 
 +</code>
 </WRAP> </WRAP>
  
Line 321: Line 336:
   * Under **Your Settings** -> **Networks**, click Edit next to syncIRC.   * Under **Your Settings** -> **Networks**, click Edit next to syncIRC.
  
-  * Paste the following into the textbox for Trusted SSL fingerprints: <code>0b:35:ba:24:e7:1c:f6:9e:1f:82:1d:9a:4e:0d:9f:70:8e:91:74:26:57:13:9e:f9:c7:8e:9c:5c:a6:8e:30:62+  * <wrap em>(Nur falls SSL = yes)</wrap> //Paste the following into the textbox for Trusted SSL fingerprints:// <code>0b:35:ba:24:e7:1c:f6:9e:1f:82:1d:9a:4e:0d:9f:70:8e:91:74:26:57:13:9e:f9:c7:8e:9c:5c:a6:8e:30:62
 23:2d:7d:fd:79:09:d1:20:ad:6a:88:f1:fc:49:b5:34:cc:00:2a:7f:95:10:07:e7:b7:d7:90:af:7d:eb:7f:07 23:2d:7d:fd:79:09:d1:20:ad:6a:88:f1:fc:49:b5:34:cc:00:2a:7f:95:10:07:e7:b7:d7:90:af:7d:eb:7f:07
 54:86:50:b5:7e:08:cb:b4:95:d8:54:9e:fb:8d:f3:6b:97:8a:b7:25:95:d6:3e:38:4c:fb:42:b0:4e:2a:d8:de 54:86:50:b5:7e:08:cb:b4:95:d8:54:9e:fb:8d:f3:6b:97:8a:b7:25:95:d6:3e:38:4c:fb:42:b0:4e:2a:d8:de
Line 339: Line 354:
 </code>  </code> 
  
-  * Unordered List ItemUnder Modules, check the following boxes: chansaverkeepnickkickrejoinnickservperformsimple_away -> Click “Save and Return”+  * ''**Under Modules, check the following boxes:** __chansaver____keepnick____kickrejoin____nickserv____perform____simple_away__ -> Click “Save and Return”''
 </WRAP> </WRAP>
  
-http://nzedb.readthedocs.io/en/master/ircscraper.html#ircscraper +  * Under Default Settings, change Channel Modes to +stn
-FIXME+
  
 +  * Under Default Settings, change Buffer Size to 1000
  
 +  * Click Save and Return
 +
 +http://nzedb.readthedocs.io/en/master/ircscraper.html#ircscraper
 </WRAP> </WRAP>
 +  - Configure IRCScraper: ''<wrap em>(We’re assuming you install nZEDb to /var/www/nZEDb/)</wrap>'' <code># cd /var/www/nZEDb/configuration/
 +# cp ircscraper_settings_example.php ircscraper_settings.php
  
 +# vim ircscraper_settings.php</code> <sxh bash; gutter: false;>
  
  
 +https://github.com/nZEDb/nZEDb_Misc/blob/master/Guides/Various/IRCScraper/Guide.md
  
 +http://nzedb.readthedocs.io/en/master/ircscraper.html#ircscraper
 +
 +==== TO DO ====
 +<code># useradd -c nzedb nzedb
 +# usermod -a -G nzedb www-data
 +
 +***Login with nzedb***
 +# /var/www/nZEDb/misc/IRCScraper
 +# php scrape.php true false true
 +</code>
  
  
  • debian/other-debian/usenet-indexer-debian.txt
  • Last modified: 2019/04/16 15:02
  • by michael