Skip to content

Instantly share code, notes, and snippets.

@yegusa
Last active January 4, 2019 01:31
Show Gist options
  • Save yegusa/76d3f678e2aaafcf5dddfa1efb9e8cf8 to your computer and use it in GitHub Desktop.
Save yegusa/76d3f678e2aaafcf5dddfa1efb9e8cf8 to your computer and use it in GitHub Desktop.
Omeka S 1.3.0をVirtualBox+vagrant+ubuntu16.04にインストールする方法 ref: https://qiita.com/yegusa/items/f0dfa0cde5d67fda0911
user = omeka_user # omeka_user を追加
password = upw_omeka2018 # upw_omeka2018 を追加
dbname = omeka_db # omeka_db を追加
host = localhost # localhost を追加
;port =
;unix_socket =
;log_path =
$ mysql -u root -p
Enter password:
$ sudo vi config/database.ini
CREATE DATABASE omeka_db CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'omeka_user'@'localhost' IDENTIFIED BY 'upw_omeka2018';
GRANT ALL PRIVILEGES ON omeka_db.* TO 'omeka_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;
$ sudo apt-get install wget
$ sudo apt-get install zip unzip
$ wget https://github.com/omeka/omeka-s/releases/download/v1.3.0/omeka-s-1.3.0.zip
$ unzip omeka-s-1.3.0.zip
$ sudo mv /var/www/html/ /var/www/html.old
$ sudo mv omeka-s /var/www/html
$ cd /var/www/html
$ sudo chown -R www-data:www-data * ./
$ sudo service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment