Both sides previous revision Previous revision Next revision | Previous revision |
debian:other-debian:usenet-indexer-debian [2017/11/15 15:08] – [Installation des Indexers] michael | debian:other-debian:usenet-indexer-debian [2019/04/16 15:02] (current) – michael |
---|
* ''<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 |
# 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> |
| |
| |
<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> |
<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> |
# 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> |
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> |
<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> |
| |