Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing gamone tech stack on centos 7 #301

Open
rsignell-usgs opened this issue Apr 15, 2019 · 2 comments
Open

Installing gamone tech stack on centos 7 #301

rsignell-usgs opened this issue Apr 15, 2019 · 2 comments

Comments

@rsignell-usgs
Copy link
Member

@zdefne-usgs and @rsignell-usgs are going to try installing the gamone.whoi.edu technology stack (mostly docker containers) on a VM running centos 7.

@rsignell-usgs
Copy link
Member Author

rsignell-usgs commented Apr 15, 2019

  • Installed Docker following steps 1 and 2 here.
  • LOG OUT and LOG BACK IN
  • Installed Docker-compose following the guide here
  • logged into js-169-194.jetstream-cloud.org and pushed /opt/docker to private github repo "docker-js".
  • installed git on centos7
git clone https://github.com/rsignell-usgs/docker-js.git

@rsignell-usgs
Copy link
Member Author

rsignell-usgs commented May 20, 2019

made a lot of progress, as these are now working as secure sites:

Key things we did:

  • made sure the firewall rules on rsignell-test.whoi.edu matched the ones gamone.whoi.edu ( Mark Jones at WHOI needed to set this up)

  • stopped the nginx container, deleted everything in /opt/nginx/brad/.

  • set the environment var in docker-compose.yml to - "CERTS=rsignell-test.whoi.edu,geoport-dev.usgs.esipfed.org".

  • started nginx

  • stopped erddap

  • edited /opt/docker/erddap/setup.xml and set <baseUrl>https://geoport-dev.usgs.esipfed.org</baseUrl>

  • restarted erddap

  • stopped pycsw

  • edited /opt/docker/pycsw/usgs-cmg.cfg and set url=http://geoport-dev.usgs.esipfed.org/csw

  • started pycsw

  • added sand and silt to /etc/fstab

  • did mkdir /clay/usgs and added this to fstab:

-bash-4.2$ more /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Jan  8 14:31:43 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos_centosproto-root /                       xfs     defaults        0 0
UUID=e3d83069-e350-4852-ade6-d2971c3dc237 /boot                   xfs     defaults        0 0
/dev/mapper/centos_centosproto-swap swap                    swap    defaults        0 0
silt.whoi.edu:/usgs     /silt/usgs      nfs     defaults        0       0
sand.whoi.edu:/usgs     /sand/usgs      nfs     defaults        0       0
sand.whoi.edu:/usgs     /clay/usgs      nfs     defaults        0       0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant