Overview

I summarized how to build Omeka S using Amazon Lightsail in the following article.

This time, I introduce how to build Omeka Classic using Amazon Lightsail. As introduced in the following book, Omeka Classic is useful for building annotation environments using the IIIF Toolkit.

https://zenn.dev/nakamura196/books/2a0aa162dcd0eb

Amazon Lightsail

Creating an Instance

Access the following page.

https://lightsail.aws.amazon.com/ls/webapp/home/instances

Then click the “Create Instance” button below.

Under “Select a blueprint,” select “LAMP (PHP 7).”

Under “Choose your instance plan,” select an instance plan. This time I chose the lowest-priced plan.

After it starts, access the instance page and press the “Connect using SSH” button.

The following screen is displayed.

LTtiDpbihhneeineedbrtuiimnxpevaiarxintmioadtWDBipgcuGeeoi@-rtaNdlcti1alUcunp7md/boma-2sifLymem1-siieni72itlnat26nreuptaF--cisxpoto29lblir6-uuicitou-3dtnochnm90eimae:s-do/eb:34nuslL0.wseAhhh:1itrw__Mttt~9te/il`,Pttt$.hrsta_ppp0mhhwpsss-tsa.a:::2hrAc/0efeBk/-o/SaddccDrdOgoooleoLeccmobecUdssmuia/T..udac*Ebbbn-nh/LyiiiacYtttmGpoBnnydNrpNiaa.6UyOtmmb4grniiiLriWa..t#iagAmccn1nmhRiooautRmmmSxa.A7/iMrN.aa.PseT4wwcyY.ssDsd,2/mete9i/best-nimco0farrnaitarbhs4eeet.dr1feu9rixc.entt2eeu3tnr5shte-oe/1flta(wm2ap0r/2e2;-03-17)x86_64

Work Inside the Instance

Moving Files

First, download and move the necessary files.

c#wu#m#m#rdgnvvmDezMMD.otiooooe/wpvmvmlhnheeeeeoltokktmotmfa.aeeapei-h-/dskl3t3tb:ae.a.hiO/-s0c0etm/3.c.neg.3e3oaki0/s/rmat.*s.iih3hg/u./tihbzhant.iocadcpmclooeecm/sis/bsn/oidimt/enenhxdkao.eammhx/iet.O//mhmhbltetimkdtlaon/carsmeil/ehatsdeosc/sdownload/v3.0.3/omeka-3.0.3.zip

Creating a Database

Next, create a database.

#c#m#MQMayauaCtEsCrerhnqririe/tleayacheaDDkor-tBOBmueKtem[,[h/yra((ebson1niqodooptltanrnanteoesau-a)w)smspb]]wiia>a>o/nsfrbgecfqdireutt(eci(nhtatttaehte;hmeedeia_b"d(paooa0apvmt.speea0slkb0wipaa2oca"srasesdtspeiwaocwoorm)inrtel_dklpiaas;bsesawrdobirisdtprlaaryye)d)

Configuring Omeka Classic

Next, modify the Omeka Classic configuration file.

vi/home/bitnami/htdocs/db.ini

Modify the file contents as follows.

;;;;;;;;;;[hupdpc;;;dosabrhp;D;OTsy<asesneao;a;moeohttrsafrr;t;etutanwmist;a;kctrtbaoexe;b;aoipamrt;a;nns:sed;s;rfge/e;e;eisr/]======;;qg.o=;C;uuem"""""";o;irIrelr(oou";n;refkootmmt";f;eaacoheef;i;syyd.atekk8;g;oomol"aa";u;Muuirhp"_;r;yr'ngoa";a;Sri/ss;t;Qdescts;i;Lato"w;o;turdo;n;5anaer;;bstxd;F;oauo/;i;rsrrDc;l;ee,ao;e;n,tn;;eaoaf;;;wrbrbieeoarrpucsm.ltoeean_dcysCeouoeulnatrtfrhiledtgiahueXterr'aa)sbdt"aoiwscoieuntm_hieFnniyftlooaeurt>rmi.aostnpieoacnti,fiacsk

Also, change the owner of the files folder.

sudochown-Rdaemon:daemon/home/bitnami/htdocs/files

Furthermore, install imagemagick, which is needed for thumbnail generation.

sudoaptinstallimagemagick-y

Browser Configuration

Access the IP address displayed under “Public IP” on the Amazon Lightsail instance page.

The installation screen is displayed as follows.

From here, the procedure is the same as basic Omeka Classic operations. Please refer to the following article to use Omeka Classic.

https://zenn.dev/nakamura196/books/2a0aa162dcd0eb/viewer/f17a5b

Custom Domain and More

For “Custom Domain,” “SSL,” and “Basic Authentication,” please refer to the following article.

/en/posts/5772d6c918508a/#独自ドメインの付与

Summary

Above, I summarized the basic setup method for Omeka Classic using Amazon Lightsail.

I hope this is helpful when building a digital archive system using Omeka Classic.