Difference between revisions of "Installing Omeka for CEDEUS"

From stgo
Jump to: navigation, search
(Notes on Omeka)
(changing file upload size)
Line 43: Line 43:
 
=== changing file upload size ===
 
=== changing file upload size ===
  
Omeka uses the php default settings:
+
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''
+
 
 +
* open ''/etc/php5/apache2/php.ini''  
 
* set the following variables:
 
* set the following variables:
 
** <code>upload_max_filesize</code> (I chose 60MB)
 
** <code>upload_max_filesize</code> (I chose 60MB)
 
** <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)

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