Skip to content

Geotags-GMD/geonode-ubuntu-installer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GeoNode Installation Script for Ubuntu Linux

GeoNode 4.2.x installation script (based on GeoNode Docker images) for Ubuntu 20.04
Tested on Ubuntu 20.04 (Lubuntu, WSL2), Ubuntu 18.04 (WSL2)


Usage: Two script installer, check docker first and then proceed GeoNode install

As your Ubuntu user (which can do sudo), do the following:

wget https://raw.githubusercontent.com/KingNelx/geonode-ubuntu-installer/main/install-geonode-part1.sh
wget https://raw.githubusercontent.com/KingNelx/geonode-ubuntu-installer/main/install-geonode-part2.sh
chmod +x install-geonode*
./install-geonode-part1.sh
./install-geonode-part2.sh

Checking

After part1, check if docker running correctly:

docker run -it hello-world

After part2, check if geonode running correctly:

cd /opt/geonode
docker logs -f django4geonode

Running

Browse GeoNode installation at http://localhost

Default user name: admin
Default password: admin

Stop GeoNode

  cd /opt/geonode
  docker-compose stop

Start GeoNode

  cd /opt/geonode
  docker-compose start

Change GeoNode hostname/ip address:

  # stop GeoNode
  cd /opt/geonode
  docker-compose stop
  # edit .env file using text editor (vi/nano/etc), change all occurence of "localhost" into desired hostname/ip address
  # turn GeoNode on again
  cd /opt/geonode
  docker-compose start

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%