Last active
January 4, 2019 01:31
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user = omeka_user # omeka_user を追加 | |
password = upw_omeka2018 # upw_omeka2018 を追加 | |
dbname = omeka_db # omeka_db を追加 | |
host = localhost # localhost を追加 | |
;port = | |
;unix_socket = | |
;log_path = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mysql -u root -p | |
Enter password: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo vi config/database.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install wget | |
$ sudo apt-get install zip unzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ wget https://github.com/omeka/omeka-s/releases/download/v1.3.0/omeka-s-1.3.0.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ unzip omeka-s-1.3.0.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo mv /var/www/html/ /var/www/html.old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo mv omeka-s /var/www/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /var/www/html | |
$ sudo chown -R www-data:www-data * ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment