Difference between revisions of "Installing Omeka for CEDEUS"

From stgo
Jump to: navigation, search
(Setup of VM based on Ubuntu 1404 VM)
(Notes on Omeka)
Line 40: Line 40:
 
** http://omeka.org/codex/Plugins/GuestUser_2.0
 
** http://omeka.org/codex/Plugins/GuestUser_2.0
 
* and, perhaps ??? for (filter) plugin development: http://omeka.org/forums/topic/ability-to-set-files-to-public-or-private
 
* and, perhaps ??? for (filter) plugin development: http://omeka.org/forums/topic/ability-to-set-files-to-public-or-private
 +
 +
=== changing file upload size ===
 +
 +
Omeka uses the php default settings:
 +
* open ''/etc/php5/apache2/php.ini''
 +
* set the following variables:
 +
** <code>upload_max_filesize</code> (I chose 60MB)
 +
** <code>memory_limit</code> (I chose 128MB)
 +
** <code>post_max_size</code> (I chose 80MB)

Revision as of 15:32, 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:

  • 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)