Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

01_docker_setup.sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #!bin/bash
  2. # grub-efiセットアップ
  3. sudo apt purge grub\*
  4. sudo apt install grub-efi
  5. sudo apt autoremove
  6. sudo update-grub
  7. sudo apt update
  8. # 前提ソフトウェアのインストール
  9. sudo apt-get install -y \
  10. apt-transport-https \
  11. ca-certificates \
  12. curl \
  13. software-properties-common
  14. # Dokcer公式GPG公開鍵インストール
  15. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  16. # 公開鍵のフィンガープリント確認
  17. sudo apt-key fingerprint 0EBFCD88
  18. # pub rsa4096 2017-02-22 [SCEA]
  19. # 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
  20. # uid [ unknown] Docker Release (CE deb) <docker@docker.com>
  21. # sub rsa4096 2017-02-22 [S]
  22. # aptリポジトリの設定
  23. sudo add-apt-repository \
  24. "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
  25. $(lsb_release -cs) \
  26. stable"
  27. sudo add-apt-repository \
  28. "deb [arch=armhf] https://download.docker.com/linux/ubuntu \
  29. $(lsb_release -cs) \
  30. stable"
  31. # docker-ceのインストール
  32. sudo apt update
  33. sudo apt install -y docker-ce
  34. # postgresイメージのpull, run
  35. sudo docker pull postgres
  36. sudo docker run -d --name gogs-psql -e POSTGRES_PASSWORD=ivis -p 5432:5432 postgres
  37. # postgresコンテナに入る
  38. # docker container exec -it gogs-psql bash