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)
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
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
Browse GeoNode installation at http://localhost
Default user name: admin
Default password: admin
cd /opt/geonode
docker-compose stop
cd /opt/geonode
docker-compose start
# 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