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 332: | Line 331: | ||
Also make sure to install imagemagick and set the path in the config to it. | Also make sure to install imagemagick and set the path in the config to it. | ||
{{Note| | {{Note|Npleb states that you need to have unhandled empty table prefixes for Asagi to work. Here's [https://github.com/p0wer0n/FoolFrame/commit/3368e24dc9d89b881460f8c876ddb91c78b5b955 a code change that does it.]}} | ||
=== Nginx Configuration === | |||
To serve FoolFuuka, you should use HHVM with Nginx. | |||
Also, make sure that you set {{ic|client_max_body_size 32M;}}, or whatever maximum size for image uploads you've set on HHVM. | |||
== Add boards, Configure Sphinx == | == Add boards, Configure Sphinx == | ||
Line 339: | Line 344: | ||
http://IP/admin -> Search -> Generate Config. | http://IP/admin -> Search -> Generate Config. | ||
Right-click and copy this config out of FF and add your MySQL database information. Then, paste this to <code>/etc/sphinxsearch/sphinx.conf</code> | |||
Right-click and copy this config out of | |||
Then, paste this to <code>/etc/sphinxsearch/sphinx.conf</code> | |||
=== Build the indexes === | === Build the indexes === | ||
Line 381: | Line 353: | ||
=== 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 359: | ||
@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 369: | ||
== 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 378: | ||
</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 | ||