Editing FoolFuuka/Install/Debian
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 101: | Line 101: | ||
index index.php index.html index.htm; | index index.php index.html index.htm; | ||
location / { | location / { | ||
try_files $uri $uri/ /index.php$is_args$args; | try_files $uri $uri/ /index.php$is_args$args; | ||
Line 176: | Line 175: | ||
{{hc|sudo nano /etc/mysql/my.cnf|<nowiki> | {{hc|sudo nano /etc/mysql/my.cnf|<nowiki> | ||
# Put this after [mysqld] | # Put this after [mysqld] | ||
open-files-limit=40000 | open-files-limit=40000 | ||
</nowiki>}} | </nowiki>}} | ||
Line 183: | Line 182: | ||
sudo reboot</pre> | sudo reboot</pre> | ||
<pre>mysql -u root -p | <pre>mysql -u root -p | ||
set global default_storage_engine=TokuDB; | set global default_storage_engine=TokuDB; | ||
SET GLOBAL log_bin_trust_function_creators = 1;</pre> | SET GLOBAL log_bin_trust_function_creators = 1;</pre> | ||
Now, Install FoolFuuka at the website using foolfuuka credentials | Now, Install FoolFuuka at the website using foolfuuka credentials | ||
Line 201: | Line 200: | ||
Insert the following JSON into that file: | Insert the following JSON into that file: | ||
<pre> | <pre>### | ||
{"settings": { | {"settings": { | ||
"dumperEngine": "DumperJSON", | "dumperEngine": "DumperJSON", | ||
Line 306: | Line 305: | ||
} | } | ||
}} | }} | ||
</pre> | ###</pre> | ||
== Start asagi (There is a better way to do this). == | == Start asagi (There is a better way to do this). == | ||
Line 329: | Line 327: | ||
The installer is quite self explanatory, just make sure to remove the Boards prefix. | The installer is quite self explanatory, just make sure to remove the Boards prefix. | ||
== Add boards, Configure Sphinx == | == Add boards, Configure Sphinx == | ||
http://IP/admin > Search > Generate Config. | |||
Copy config out of FF and add your MySQL database information. Paste this to /etc/sphinxsearch/sphinx.conf | |||
=== Build the indexes === | === Build the indexes === | ||
Line 381: | Line 340: | ||
=== Configure Crontab === | === Configure Crontab === | ||
<pre> | <pre> | ||
@hourly sudo -u sphinxsearch /usr/bin/indexer --rotate *_delta > /dev/null | @hourly sudo -u sphinxsearch /usr/bin/indexer --rotate *_delta > /dev/null | ||
Line 389: | Line 346: | ||
@monthly sudo -u sphinxsearch /usr/bin/indexer --rotate *_ancient > /dev/null | @monthly sudo -u sphinxsearch /usr/bin/indexer --rotate *_ancient > /dev/null | ||
</pre> | </pre> | ||
=== Adding Archives === | === Adding Archives === | ||
Line 400: | Line 356: | ||
== Extra configuration == | == Extra configuration == | ||
Depending on which distro you use | Depending on which distro you use, some configs might need to be changed. | ||
=== Fixing thumbnail creation === | === Fixing thumbnail creation === | ||
Line 409: | Line 365: | ||
</pre> | </pre> | ||
and make sure it is the same value in Admin panel -> general -> Imagemagick Convert | and make sure it is the same value in Admin panel -> general -> Imagemagick Convert | ||