arch:arch_on_the_pi
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arch:arch_on_the_pi [2016/10/07 17:47] – Julien Deswaef | arch:arch_on_the_pi [2020/08/06 21:11] (current) – Julien Deswaef | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Arch on a Pi ====== | ====== Arch on a Pi ====== | ||
| - | Things | + | Some random notes related to [[http:// |
| - | ===== Compiling | + | ===== Blender ===== |
| + | ==== Installing from packages on RPi3 ==== | ||
| + | [[https:// | ||
| + | |||
| + | See bottom of this page for the right archive to use at installation: | ||
| + | |||
| + | Rendering a default file seems to require '' | ||
| + | < | ||
| + | xvfb-run blender -b -noaudio untitled_e.blend -o // -f 1 | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Compiling on RPi2 ==== | ||
| If it's still not in the repositories, | If it's still not in the repositories, | ||
| [[https:// | [[https:// | ||
| Line 62: | Line 74: | ||
| ===== Installing ikiwiki ===== | ===== Installing ikiwiki ===== | ||
| - | * Install | + | Install |
| - | * Install Make | + | < |
| - | * <del><code=bash> | + | $: sudo pacman -Syu git base-devel |
| - | * Use Pacman with this[[https:// | + | </ |
| + | |||
| + | Install | ||
| + | |||
| + | You'll need 2 extra dependencies from Aur: | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | Install those first. Compiling ikiwiki takes a while on a Raspberry Pi. Be patient. | ||
| + | |||
| + | If you want to have images handle by the wiki, you will need also Imagemagick | ||
| + | |||
| + | 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: | ||
| + | < | ||
| + | sudo useradd -m wiki | ||
| + | sudo passwd wiki | ||
| + | </ | ||
| + | Following https:// | ||
| ===== Resizing a partition ===== | ===== Resizing a partition ===== | ||
| Line 97: | Line 127: | ||
| By resizing (which is safe to run on a mounted disk), we tell the file system to use all the space in the new partition. | By resizing (which is safe to run on a mounted disk), we tell the file system to use all the space in the new partition. | ||
| + | |||
| + | |||
| + | ===== Python UnicodeEncodeError horror ===== | ||
| + | So your Python script works on your machine. But when you port it to a freshly installed Arch Linux Arm on a Pi, all hell breaks loose as soon as a weird character pops up. Something like this shows up: | ||
| + | < | ||
| + | Well, don't start modifying your Python code (as you said, it does not have that problem on your machine). | ||
| + | |||
arch/arch_on_the_pi.1475855226.txt.gz · Last modified: by Julien Deswaef
