Benutzer-Werkzeuge

Webseiten-Werkzeuge


lilypond:lsr_setup

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
lilypond:lsr_setup [2011/07/06 14:40] – [section 1] reinholdlilypond:lsr_setup [2013/03/13 10:42] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 169: Zeile 169:
 ===== Setting up the LilyPond jail needed for creating snippet output ===== ===== Setting up the LilyPond jail needed for creating snippet output =====
  
 +  - Install a Lilypond version from the binary builds: 
 +    - Download the .sh file
 +    - As root, do <code>
 +  sudo mkdir /opt/lily2.14
 +  sudo ./lilypond-2.14.2-1.linux-x86.sh --prefix=/opt/lily2.14/</code>
 +  - Use {{:lilypond:lsr:create_lily_jail.sh|this script}} to setup a lilypond jail directory (each installed lilypond version needs roughly 100MB). You can use multiple installations with multiple -p arguments (in this example, I have versions 2.10, 2.12 and 2.14 installed in the same jail):<code>
 +  sudo ./create_lily_jail.sh -p /opt/lily2.10/ -p /opt/lily2.12/ -p /opt/lily2.14/ -s 400000 lilyjail</code>
 +  - This script will print out some instructions how to enable sudo for a user and how to automount the jail on boot. Follow the instructions, i.e.
 +    - Add the following line to /etc/fstab to ensure the loop device will be mounted on boot:<code>
 +/home/lilyjail/lilyloop /home/lilyjail/lilymnt    ext3 auto,loop 0       0</code>
 +    - Call ''visudo'' as root and add the following lines to the sudoers file (typically /etc/sudoers):<code>
 +ALL   ALL=NOPASSWD: /opt/lily2.10/lilypond/usr/bin/lilypond -jlilyjail\,lilyjail\,/home/lilyjail/lilymnt\,/lilyhome *
 +ALL   ALL=NOPASSWD: /opt/lily2.12/lilypond/usr/bin/lilypond -jlilyjail\,lilyjail\,/home/lilyjail/lilymnt\,/lilyhome *
 +ALL   ALL=NOPASSWD: /opt/lily2.14/lilypond/usr/bin/lilypond -jlilyjail\,lilyjail\,/home/lilyjail/lilymnt\,/lilyhome *
 +</code>This allows all users to run the jailed lilypond installation.
  
 +
 +For details see the LilyPond documentation: http://lilypond.org/doc/v2.14/Documentation/usage/command_002dline-usage.html#lilypond-in-chroot-jail
 ===== Open issues ===== ===== Open issues =====
  
-  * Chroot jail for lilypond 
 . .
lilypond/lsr_setup.1309963202.txt.gz · Zuletzt geändert: 2013/03/13 10:42 (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki