[SAC] [OSGeo] #2774: Move planet.osgeo.org to osgeo3 geo-docs
OSGeo
trac_osgeo at osgeo.org
Sat Jun 18 13:49:00 PDT 2022
#2774: Move planet.osgeo.org to osgeo3 geo-docs
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):
Okay I have done
{{{
#on osgeo3-geo-docs
sudo usermod -a -G sudo jsanz
sudo apt install python2
cd /var/www
svn checkout https://svn.osgeo.org/osgeo/planet/venus/ venus
changed /var/www/venus/bin/planet_update.sh (to use /usr/bin/python2
(instead of /usr/bin/python) )
sh /var/www/venus/bin/planet_update.sh
#set up /etc/nginx/sites-available/planet.osgeo.org to have root
/var/www/planet
ln -s /etc/nginx/sites-available/planet.osgeo.org /etc/nginx/sites-
enabled/planet.osgeo.org
nginx -t
systemctl reload nginx
added to sudo crontab -e 5,35 * * * * sh
/var/www/venus/bin/planet_update.sh
#we can move crontab rule to a dedicated, but wanted to replicate what we
had on old server
#set up proxy config on osgeo3-osgeo3-nginx /etc/nginx/sites-
available/planet.osgeo.org
}}}
Should be accessible on
https://staging.planet.osgeo.org/
have to figure out why the without / is not working.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2774#comment:1>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list