This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put this file in /etc/systemd/system/ as root | |
# below paths assume solr installed in /opt/solr, SOLR_PID_DIR is /data | |
# and that all configuration exists in /etc/default/solr.in.sh which is the case if previously installed as an init.d service | |
# change port in pid file if differs | |
# note that it is configured to auto restart solr if it fails (Restart=on-faliure) and that's the motivation indeed :) | |
# to switch from systemv (init.d) to systemd, do the following after creating this file: | |
# sudo systemctl daemon-reload | |
# sudo service solr stop # if already running | |
# sudo systemctl enable solr | |
# systemctl start solr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<h1>Check Unicode on a web server with php</h1> | |
<p>If your filenames requires characters with diacritics or any Unicode characters and not only the strict latin characters (26 letters + 10 numbers + some symbols and punctuation marks), the web server should be checked and fixed.</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Adaptation pour que le serveur partagé d'OVH puisse créer les fichiers dérivés. | |
* | |
* @see application/libraries/Omeka/File/Derivative/Strategy/ExternalImageMagick.php | |
* | |
* @copyright Copyright 2007-2014 Roy Rosenzweig Center for History and New Media | |
* @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Specific Derivative | |
* | |
* Example to use to add one or multiple specific derivative types in Omeka, for | |
* example mini square thumbnails. | |
* | |
* It creates the directory automatically. If the path exists, this plugin is | |
* useless, except the form to set constraints of the specific types. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Omeka | |
* | |
* @copyright Copyright 2007-2012 Roy Rosenzweig Center for History and New Media | |
* @copyright Copyright 2013 Daniel Berthereau for Mines ParisTech | |
* @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3 | |
*/ | |
/** |