lilypond:lsr_setup
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
lilypond:lsr_setup [2011/07/06 14:03] – [section 5] reinhold | lilypond:lsr_setup [2013/03/13 10:42] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 49: | Zeile 49: | ||
mysql --user=lsr --password=lsr lsr < lsr-2011-06-30.mysqldump | mysql --user=lsr --password=lsr lsr < lsr-2011-06-30.mysqldump | ||
</ | </ | ||
- | - Create a group superadmin and give it all rights to all types. Also add a user ' | + | - Create a group superadmin and give it all rights to all types. Also add a user ' |
mysql --user=lsr --password=lsr lsr < sql-add-superadmin.sql | mysql --user=lsr --password=lsr lsr < sql-add-superadmin.sql | ||
</ | </ | ||
Zeile 75: | Zeile 75: | ||
===== Preparing the web host's directory structure ===== | ===== Preparing the web host's directory structure ===== | ||
- Create an output directory, where we collect all files for the web application: | - Create an output directory, where we collect all files for the web application: | ||
- | mkdir -p web/ | + | mkdir -p web/ |
</ | </ | ||
- Copy the lsr-0.5.jar and all other required java packages to the output directory:< | - Copy the lsr-0.5.jar and all other required java packages to the output directory:< | ||
Zeile 86: | Zeile 86: | ||
- Copy all LSR files (also the generated ERW files) over, which will be served by apache:< | - Copy all LSR files (also the generated ERW files) over, which will be served by apache:< | ||
cp -r lsr-0.5/ | cp -r lsr-0.5/ | ||
- | cp lsr-0.5/ | + | cp lsr-0.5/ |
- | cp lsr-0.5/ | + | cp lsr-0.5/ |
- | cp lsr-0.5/ | + | cp lsr-0.5/ |
- | mv web/ERW/ | + | mv web/ |
cp lsr-0.5/ | cp lsr-0.5/ | ||
</ | </ | ||
- | - Download the web.xml and velocity.properties files to the web/ | + | - Download the web.xml and velocity.properties files to the web/ |
- | - Open web/ERW-config.orig.php in a text editor and change $_ERW_erlId, | + | * {{: |
- | mv web/ERW-config.orig.php web/ERW-config.php | + | * {{: |
+ | - Open web/ERW-conf.orig.php in a text editor and change $_ERW_erlId, | ||
+ | mv web/ERW-conf.orig.php web/ERW-conf.php | ||
</ | </ | ||
- Create the initial MG4J search index:< | - Create the initial MG4J search index:< | ||
+ | lsrshdir=$PWD/ | ||
cd web/ | cd web/ | ||
- | . ../ | + | . $lsrshdir/setcp.sh |
- | | + | |
- | cd ../ | + | cd - |
</ | </ | ||
===== Setting up Tomcat ===== | ===== Setting up Tomcat ===== | ||
Zeile 166: | 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 < | ||
+ | sudo mkdir / | ||
+ | sudo ./ | ||
+ | - Use {{: | ||
+ | sudo ./ | ||
+ | - 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, | ||
+ | - Add the following line to /etc/fstab to ensure the loop device will be mounted on boot:< | ||
+ | / | ||
+ | - Call '' | ||
+ | ALL | ||
+ | ALL | ||
+ | ALL | ||
+ | </ | ||
+ | |||
+ | For details see the LilyPond documentation: | ||
===== Open issues ===== | ===== Open issues ===== | ||
- | * Adjust all hard-coded links to lsr.dsi.unimi.it by relative links to the local host. | + | . |
lilypond/lsr_setup.1309961018.txt.gz · Zuletzt geändert: 2013/03/13 10:42 (Externe Bearbeitung)