Download Server

From OSGeo
Revision as of 16:47, 23 March 2007 by Warmerda (Talk | contribs) (Management)

Jump to: navigation, search

There is a need for a "download server" for OSGeo that provides for bulk downloads of software.

We are hesitant to handle this on our primary server hosted by Peer1 because of the risk of exceeding our bandwidth allotment and getting charged a lot extra. For that reason the download server is being hosted on a telascience blade. Telascience has extensive bandwidth and is not charging OSGeo for it.

Configuration

For now the 198.202.74.219 blade is being used as a download server.

  • It is known as "download.osgeo.org", and is configured to respond to that.
  • The downloadable tree is found in /osgeo/download on the server.
  • The virtual host declaration is found in /etc/httpd/conf.d/sites/download.osgeo.org.conf.
  • Logs are in /etc/httpd/logs/download_access_log and /etc/httpd/logs/download_error_log.

Access Log Viewer

To maintain/view the Apache access logs of download server, awstats has been installed on the server. Logs can be seen by visiting http://download.osgeo.org/logs/ The details of awstats installation are

  • awstats version 6.6-1 installed using rpm
  • application root dir /usr/local/awstats/
  • location of cgi executable /usr/local/awstats/wwwroot/cgi-bin/awstats.pl
  • site configuration file /etc/awstats/awstats.www.download.osgeo.org.conf (create such file for any other host to be added in future)
  • Data dir (dir where stats data is stored) /osgeo/download/logs
  • Updation is done daily 1am (server time) using a cronjob by executing /osgeo/scripts/update_logs.sh (to add more sites in future, add entry to this script)

Management

It is intended that each interested project should have a directory under /osgeo/download with appropriate permissions so a project member can manage the subdirectories and files. Scp, or sftp can be used to bring files onto the server. Someone from each project will need a shell account on the server.

Any administrator can create new project directories, and chown them to a project representative.

Contact Frank Warmerdam for overall configuration questions or about problems.

End Users

End users should be referred to downloads similarly to:

http://download.osgeo.org/gdal/gdal-1.3.2.tar.gz

Directory indexing is left on so requesting a directory will give a file list.

Issues

  • I would like to eventually add an anonymous ftp server serving off the same tree. I have had very good luck with the vsftpd server for anonymous ftp serving for ftp.remotesensing.org.
  • We might consider some sort of rsync ability for updating, or mirroring from the service.
  • There is only 10GB of free disk space on this blade, and in general the telascience blades have rather limited disk space, so these systems offer limited scalability for the amount of software available.