arch:arch_on_the_pi
This is an old revision of the document!
Arch on a Pi
Things related to Arch Linux ARM.
Compiling Blender
If it's still not in the repositories, here's a way to compile latest stable Blender for RPi2 Download these two files. And change these two lines from PKGBUILD:
arch=('i686' 'x86_64') … make -j4 # -j5 needs 48 GB of RAM while -j9 needs 64 GB
into
arch=('armv7h') … make -j2
This will get it compiled on the Raspberry Pi 2 itself. It will take a while ( couple hours ).
Installing server
As root
pacman -Syu nginx php-fpm
Start and enable nginx and php-fpm
systemctl start nginx systemctl start php-fpm systemctl enable nginx systemctl enable php-fpm
Check if it is serving the default pages, but it should be.
Change /etc/nginx/nginx.conf
user http; server { listen 80; # watch out for the root location here, must be accessible from the user http root /srv/http; location / { # add index.php to this line index index.html index.htm index.php; } # pass the PHP scripts to FastCGI server listening on php-fpm.sock location ~ \.php$ { fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_index index.php; include fastcgi.conf; }
Installing ikiwiki
- Install Git
- Install Make
<code=bash>$: cpan</code>- Use Pacman with this Aur package
arch/arch_on_the_pi.1455322828.txt.gz · Last modified: 2016/02/13 01:20 by Julien Deswaef