Hi,
the pre-installed image is archlinux. Archlinux has an awesome wiki with alot of help: [wiki.archlinux.org]
The package manager is called "pacman". We are using (roughly) these steps to create the image file.
There you see the packages installed, or should additional be installed.
So connect your Pi via ethernet to the internet, run:
After you managed that, add the following line to
Create the file "/opt/piratebox/conf/lighttpd/fastcgi.conf"
with the following content
Restart piratebox after that
If lighttpd fails to start (consult the commandline tool 'journalctl' ) checkout the file /opt/piratebox/tmp/break.log & error.log which contain error messages from lighttpd.
good luck :) B)-
Matthias
[
the pre-installed image is archlinux. Archlinux has an awesome wiki with alot of help: [wiki.archlinux.org]
The package manager is called "pacman". We are using (roughly) these steps to create the image file.
There you see the packages installed, or should additional be installed.
So connect your Pi via ethernet to the internet, run:
pacman -Sy pacman -S php php-cgi php-sqlite imagemagick php-gd
After you managed that, add the following line to
/opt/piratebox/lighttpd/lighttpd.conf
include "/opt/piratebox/conf/lighttpd/fastcgi.conf"
Create the file "/opt/piratebox/conf/lighttpd/fastcgi.conf"
with the following content
#-------------------- FAST CGI stuff server.modules += ( "mod_fastcgi" ) fastcgi.server = ( ".php" => (( "bin-path" => "/usr/bin/php-cgi", "socket" => "/tmp/php.socket", "max-procs" => 1 )) )
Restart piratebox after that
systemctl restart piratebox
If lighttpd fails to start (consult the commandline tool 'journalctl' ) checkout the file /opt/piratebox/tmp/break.log & error.log which contain error messages from lighttpd.
good luck :) B)-
Matthias
[