xuv's notebook

Side notes, howtos and random bits of information related to Julien Deswaef's projects

User Tools

Site Tools


arch:arch_on_the_pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arch:arch_on_the_pi [2016/11/13 19:46]
Julien Deswaef [Installing ikiwiki]
arch:arch_on_the_pi [2020/08/06 21:11] (current)
Julien Deswaef
Line 3: Line 3:
 Some random notes related to [[http://archlinuxarm.org|Arch Linux ARM]] on a Raspberry Pi. Some of these notes might be turned into their own page one day. Some random notes related to [[http://archlinuxarm.org|Arch Linux ARM]] on a Raspberry Pi. Some of these notes might be turned into their own page one day.
  
-===== Compiling Blender =====+===== Blender ===== 
 +==== Installing from packages on RPi3 ==== 
 +[[https://archlinuxarm.org/packages/aarch64/blender|Blender is compiled for ARMv8 architecture only for AArch64]]. 
 + 
 +See bottom of this page for the right archive to use at installation: https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3#installation 
 + 
 +Rendering a default file seems to require ''xvfb'': 
 +<code> 
 +xvfb-run blender -b -noaudio untitled_e.blend -o // -f 1 
 +</code> 
 + 
 + 
 +==== Compiling on RPi2 ====
 If it's still not in the repositories, here's a way to compile latest stable Blender for RPi2 If it's still not in the repositories, here's a way to compile latest stable Blender for RPi2
 [[https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/blender|Download these two files]]. And change these two lines from PKGBUILD: [[https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/blender|Download these two files]]. And change these two lines from PKGBUILD:
Line 74: Line 86:
 Install those first. Compiling ikiwiki takes a while on a Raspberry Pi. Be patient. Install those first. Compiling ikiwiki takes a while on a Raspberry Pi. Be patient.
  
-Create an unprivileged user who will be editing the wiki+If you want to have images handle by the wiki, you will need also Imagemagick 
-<code> +
-sudo adduser -m username +
-sudo passwd username +
-</code>+
  
-Install and enable support for CGI scripts+Although ikiwiki could be running from any server, I found it easier to run it behind Apache. So be sure to have that installed. 
 + 
 +Create an unprivileged user (here called wiki) who will be editing the wiki:
 <code> <code>
-sudo pacman -Syu fcgi fcgiwrap spawn-fcgi +sudo useradd -m wiki 
-sudo systemctl enable fcgiwrap +sudo passwd wiki
-sudo systemctl start fcgiwrap+
 </code> </code>
  
-Switched to apache.. Much easier. 
- 
-Dependencies to install:  
-  * imagemagick  
-  * gitweb 
 Following https://www.linode.com/docs/websites/wikis/ikiwiki-on-arch-linux/ Following https://www.linode.com/docs/websites/wikis/ikiwiki-on-arch-linux/
  
arch/arch_on_the_pi.1479062782.txt.gz · Last modified: 2016/11/13 19:46 by Julien Deswaef