Difference between revisions of "Installing Omeka for CEDEUS"

From stgo
Jump to: navigation, search
(changing file upload size)
(Notes on Omeka)
Line 50: Line 50:
 
** <code>memory_limit</code> (I chose 128MB)
 
** <code>memory_limit</code> (I chose 128MB)
 
** <code>post_max_size</code> (I chose 80MB)
 
** <code>post_max_size</code> (I chose 80MB)
 +
 +
=== Zotero and Omeka ===
 +
 +
Omeka can import data from a Zotero Group, so...
 +
* I created a new Zotero group with my account (public visible, but private membership): https://www.zotero.org/groups/observatorio_cedeus
 +
* Then I generated an API access key for this group (from my Zotero home/account page) that allows read access only to this new Observatory group
 +
* Then I copied the Atom Feed URL to the Omeka Form, including the Zotero Access key
 +
* Then I was able to select/and access stuff stored in the new group library (Ebrhaims 2015 IJGI paper) and importing it as item into Omeka.
 +
*: => Note, the '''pdf''' of the publication was '''not attached'''! I added the pdf file later manually from my desktop using ''Item'' > ''Editar'' > ''Archivos''.

Revision as of 16:12, 28 December 2015

>> return to Cedeus IDE


Installing Omeka

Setup of Omeka VM

Setup of VM based on Ubuntu 1404 VM

  1. copying basicubuntu1404.vdi file and renaming to omeka_ubuntu.vdi (note, accidentally I i used the nominatim VM disc, so I copied and renamed the VDI file to omeka_w_nominatim.vdi)
  2. creating the omeka VM on CedeusDB (ip.18):
    • VBoxManage createvm --name omeka --ostype Ubuntu_64 --register
    • VBoxManage modifyvm omeka --memory 8096
    • VBoxManage modifyvm omeka --cpus 4
    • VBoxManage modifyvm omeka --nic1 nat
    • VBoxManage storagectl omeka --name "SATA Controller" --add sata --controller IntelAhci
    • VBoxManage internalcommands sethduuid omeka_w_nominatim.vdi
    • VBoxManage storageattach "omeka" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium omeka_w_nominatim.vdi
    • VBoxManage storagectl omeka --name "IDE Controller" --add ide --controller PIIX4
    • VBoxManage modifyvm omeka --natpf1 "ssh,tcp,,20022,,22"
    • VBoxManage modifyvm omeka --natpf1 "apache,tcp,,20080,,80"
    • VBoxManage modifyvm omeka --vrdeport 7764
  3. start VM and change the computers name:
    • VBoxHeadless -s omeka --vrde on &
    • change computers name in /etc/hosts and /etc/hostname to omeka
    • restarting Apache gives the error message: "apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 ..."
    => solve this by adding ServerName nominatim as the last line in /etc/apache2/apache2.conf file
    • add additional users

Notes on Omeka

starting to use Omeka

public vs private items

see:

changing file upload size

Omeka uses the PhP default settings. So how to do that see http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/

  • open /etc/php5/apache2/php.ini
  • set the following variables:
    • upload_max_filesize (I chose 60MB)
    • memory_limit (I chose 128MB)
    • post_max_size (I chose 80MB)

Zotero and Omeka

Omeka can import data from a Zotero Group, so...

  • I created a new Zotero group with my account (public visible, but private membership): https://www.zotero.org/groups/observatorio_cedeus
  • Then I generated an API access key for this group (from my Zotero home/account page) that allows read access only to this new Observatory group
  • Then I copied the Atom Feed URL to the Omeka Form, including the Zotero Access key
  • Then I was able to select/and access stuff stored in the new group library (Ebrhaims 2015 IJGI paper) and importing it as item into Omeka.
    => Note, the pdf of the publication was not attached! I added the pdf file later manually from my desktop using Item > Editar > Archivos.