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
debian:other-debian:usenet-indexer-debian [2017/11/15 13:09] – [Installation des Indexers] michaeldebian:other-debian:usenet-indexer-debian [2019/04/16 15:02] (current) michael
Line 9: Line 9:
   * ''<wrap em>Minimum 12 GB verbaute / allozierte RAM!</wrap>''   * ''<wrap em>Minimum 12 GB verbaute / allozierte RAM!</wrap>''
   * Putty Client   * Putty Client
 +
 +https://www.linuxbabe.com/ubuntu/set-up-nzedb-usenet-indexer-ubuntu-16-0417-04
  
 FIXME FIXME
Line 70: Line 72:
 # 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 106:
  
 <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 112:
 <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 140:
 # 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 179:
 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 249:
 <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 354: Line 371:
  
 # vim ircscraper_settings.php</code> <sxh bash; gutter: false;> # 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 ==== ==== TO DO ====
  • debian/other-debian/usenet-indexer-debian.1510747789.txt.gz
  • Last modified: 2017/11/15 13:09
  • by michael