• Stars
    star
    151
  • Rank 246,057 (Top 5 %)
  • Language
    Shell
  • License
    GNU Lesser Genera...
  • Created over 9 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OSGeo-Live is a self-contained bootable DVD, USB thumb drive or Virtual Machine based on LUbuntu, that allows you to try a wide variety of open source geospatial software without installing anything. It is composed entirely of FOSS, allowing it to be openly reproduced and distributed.

DOI License downloads

OSGeoLive

OSGeoLive is a self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything. It is composed entirely of free software, allowing it to be freely distributed, duplicated and passed around.

OSGeoLive installation scripts

The set of scripts in this repository will make a GIS Virtual Machine or bootable ISO from a base Lubuntu 22.04 (Jammy) system.

Running installers

You can install individual applications in the base Lubuntu system by running bin/install*.sh scripts.

File Structure

     bin/
          /setup.sh # Download, and install all core files and set up config files
          /install_project1.sh # Download, and install all files for project1
          /install_project2.sh # Download, and install all files for project2
          /install_desktop.sh
          /install_main_docs.sh
          /setdown.sh
          bootstrap.sh
          inchroot.sh
     app-conf/
          /project1/   # config files used by install_package1.sh script
          /project2/   # config files used by install_package2.sh script
     app-data/
          /project1/   # data & help files used by package1
          /project2/   # data & help files used by package2
     desktop-conf/	   # data files and images used for the main desktop background
     sources.list.d/   # Supplimentary package repositories for /etc/apt/sources.list

How to add your project to OSGeoLive

Instructions for adding new projects

Build the OSGeoLive DVD ISO image

Build ISO

This section describes the new method for building OSGeoLive as described in official ubuntu wiki. This section is self-contained and there is no need to perform any of the procedures described above.

All you need is a running Ubuntu/Xubuntu/Kubuntu/Lubuntu installation (even within a virtual machine as long as it has ~20GB free disk space). All needed to be done are the following steps under a "user" account:

  • Bootstrap the host operating system. If you use the system to build more than once, then this must be done only for the first build
     host$ cd /tmp
     host$ wget https://github.com/OSGeo/OSGeoLive/raw/master/bin/bootstrap.sh
     host$ chmod a+x bootstrap.sh
     host$ sudo ./bootstrap.sh

This will install Git and the install scripts, and create a link to them from your home directory.

  • Set the Version Number and Changes:

    • Update VERSION.txt with the current version number.
    • Update CHANGES.txt with changes since the last release.
    • This list can be a summary of the revision log between releases.
    • Commit the changes to Git through a Pull Request right before a release build.
  • Execute the build script:

     host$ cd ~/gisvm/bin
     host$ sudo ./build_chroot.sh amd64 release master OSGeo 2>&1 | tee /var/log/osgeolive/chroot-build.log
  • Compress the logs:
     host$ cd ~/livecdtmp
     host$ tar czf version-log.tar.gz -C /var/log osgeolive
  • After the completion of the above script the new iso file is located in ~/livecdtmp along with the build logs. In case you wish to rerun the build process, do not remove or move the lubuntu official iso located in this folder to skip downloading it again.

  • It is required to reboot your host machine after build is completed

  • Once the ISO is complete copy it out to a server (a local server is fastest)

     scp ~/livecdtmp/osgeolive-mini-8.0.iso [email protected]:destination/path/
     scp ~/livecdtmp/osgeolive-mini-8.0-log.tar.gz [email protected]:destination/path/
  • And/OR wget or scp the file to the upload.osgeo.org server (Note wget is much faster if you have a good webserver to host from)

How to do development / debugging with the current build method

We have created a debug build process so that projects can now easily create their own iso, including parts of the OSGeoLive (eg only one project) in order to test if the installer scripts work well under this new build method. Here are the steps to debug/test your application:

One time steps

You will need to create a pure Lubuntu Virtual Machine setup:

  • Download lubuntu-22.04-desktop-amd64.iso from lubuntu web site.

  • Download and install VirtualBox.

  • Create a fresh VM installation of Lubuntu. You will need to create a virtual disk drive with at least 25 GB of space and allocate 768MB of RAM to the VM. During installation set the username to "user" and hostname to "osgeolive". DO NOT install system updates during lubuntu installation or after the installation is done. At this moment we work with the default kernel included in lubuntu.

  • After the VM is done, login as "user" and open a terminal.

  • Bootstrap the VM:

     osgeolive$ cd /tmp
     osgeolive$ wget https://github.com/OSGeo/OSGeoLive/raw/master/bin/bootstrap.sh
     osgeolive$ chmod a+x bootstrap.sh
     osgeolive$ sudo ./bootstrap.sh

This will install Git, the install scripts, and create a link to them from your home directory.

Steps to create the build (repeat as much as needed)

  • Make changes to your project's installation script and commit to Git.

  • Update the git code:

     osgeolive$ cd ~/gisvm
     osgeolive$ git pull origin master
  • Open file inchroot.sh with an editor and comment out all scripts you do not need for your test.
     osgeolive$ cd ~/gisvm/bin
     osgeolive$ vi inchroot.sh
  • Always leave un-commented the following scripts: setup.sh, install_services.sh, install_mysql.sh, install_java.sh, install_apache2.sh, install_tomcat.sh, install_desktop.sh and setdown.sh.

  • Save your changes and execute the build:

     osgeolive$ cd ~/gisvm/bin
     osgeolive$ sudo ./build_chroot.sh amd64 2>&1 | tee /var/log/osgeolive/chroot-build.log
  • After a while the iso will be created in ~livecdtmp/

  • Do not delete the file ~/livecdtmp/lubuntu-22.04-desktop-amd64.iso as it will be needed for next build (saves time not to download again)

  • Logs are created at /var/log/osgeolive/chroot-build.log

  • Copy the iso and test

Build the OSGeoLive DVD VM image

Create the VM

The OSGeoLive Virtual Machine creation process is now exactly similar to a plain Lubuntu VM installation. Use the mini iso file that was created from the previous chapter. Instructions can be found in the OSGeoLive Documentation

Package the VM

From within the VM, fill empty space with zeros in order to be able to shrink the virtual disk files:

     osgeolive$ sudo ~/gisvm/bin/zerofill.sh

Shrink the virtual machine:

     host$ VBoxManage modifymedium osgeolive.vdi --compact

Convert to vmdk format (more widely compatible):

     host$ VBoxManage clonehd osgeolive.vdi osgeolive-15.0-amd64.vmdk --format VMDK

OR with a recent version of QEMU

     host$ qemu-img convert -f vdi -o compat6 -O vmdk osgeolive.vdi osgeolive-15.0-amd64.vmdk

Zip the image up:

     host$ 7z a -mx=9 osgeolive-15.0-amd64.vmdk.7z osgeolive-15.0-amd64.vmdk

Create the md5sum checksums, so which can be used to confirm that the images have been downloaded correctly:

     host$ md5sum *.7z*

Upload the Release

Upload to sourceforge

As of 6.0 the official releases are hosted on sourceforge. To upload you need a sourceforge account and permissions to the osgeo-live project upload.

     host$ rsync -e ssh osgeolive-15.0-amd64.iso username,[email protected]:/home/pfs/project/o/os/osgeo-live/15.0/

Upload to the OSGeo Server

     host$ scp -pr osgeolive-15.0-amd64.iso [email protected]:/osgeo/download/livedvd/

or

     host$ rsync --progress -e ssh osgeolive-15.0-amd64.iso [email protected]:/osgeo/download/livedvd/

Check the result at: http://download.osgeo.org/livedvd

More Repositories

1

gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
C++
4,858
star
2

PROJ

PROJ - Cartographic Projections and Coordinate Transformations Library
C++
1,676
star
3

grass

GRASS GIS - free and open-source geospatial processing engine
C
826
star
4

homebrew-osgeo4mac

Mac homebrew tap for maintaining a stable work environment for the OSGeo.org geospatial toolset
Ruby
364
star
5

osgeo

The Open Source Geospatial Foundation is not-for-profit organization to empower everyone with open source geospatial. Directly supports projects as an outreach and advocacy organization providing financial, organizational and legal support. Works with our sponsors and partners for open software, standards, data, research and education.
CSS
363
star
6

libgeotiff

Official repository of the libgeotiff project
HTML
171
star
7

shapelib

Official repository of shapelib
C
130
star
8

grass-addons

GRASS GIS Addons Repository
Python
98
star
9

PROJ-data

Repository for proj datum grids (for use by PROJ 7 or later)
Python
69
star
10

proj-datumgrid

Historic repository for proj datum grids. New developments are at https://github.com/OSGeo/PROJ-data
Python
40
star
11

tilecache

Tilecache
Python
34
star
12

OSGeoLive-Notebooks

Repository for OSGeo-Live Jupyter Notebooks
Jupyter Notebook
33
star
13

OSGeoLive-doc

Documentation of OSGeoLive project.
Shell
33
star
14

ows.js

OGC Web Services Library for JavaScript
JavaScript
29
star
15

Cat-Interop

Better interoperability between open source metadata servers and clients.
Python
22
star
16

PROJ-JNI

Java Native Interface for PROJ
Java
22
star
17

PROJ-CRS-Explorer

Browse on PROJ coordinate reference systems
HTML
19
star
18

grass-website

Web site of GRASS GIS project (deployed from this repo twice a day)
CSS
17
star
19

gdal-docs

Static content for GDAL website, refreshed from OSGeo/gdal
HTML
16
star
20

MOSS

Heritage archives of the first-ever Open Source GIS: Map Overlay and Statistical System (MOSS), containing its original codebase and help documentation.
Fortran
15
star
21

spatialreference.org

spatialreference.org source code
Python
12
star
22

gdal-extra-drivers

Extra (legacy) GDAL drivers
C++
10
star
23

gdal-grass

GDAL-GRASS GIS driver (https://github.com/OSGeo/gdal-grass/blob/main/docs/grass_raster.md and https://github.com/OSGeo/gdal-grass/blob/main/docs/grass_vector.md)
Python
10
star
24

mdme

Model Driven Metadata Editor (MDME): web application for geospatial metadata editing
Vue
8
star
25

grass-promo

GRASS GIS promotional material repository
TeX
8
star
26

grass-legacy

Legacy code repository of GRASS GIS versions 3.2, 4.x, 5.x, 6.x (1987-2016)
C
7
star
27

gsoc

Repository for OSGeo collaboration with Google Summer of Code (GSOC) activities.
6
star
28

geoschemas

Python package of various geospatial schema bundles
4
star
29

gdal-test-datasets

3
star
30

OSGeoLive-doc-archive

HTML
3
star
31

projjson-submission

Repository for PROJJSON submission as OGC community standard
1
star
32

proj4-doc-forward

forward old proj4.org -> proj.org
HTML
1
star
33

osgeo4freebsd

OSGeo build recipes for FreeBSD packaging
1
star
34

ogc-cite-action

GitHub Action to test your implementation against OGC CITE
Shell
1
star
35

proj-coverage

PROJ.4 HTML coverage
HTML
1
star