My project was using mysql and nodejs which I have successfully deployed on digital ocean server but now my application is growing and I have also used postgresql and geoserver in it. My problem is that Is there any solution to use geoserver on digital ocean server. I am using Ubuntu 16.04.5 x64 OS on digital ocean server.
Thanks in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
update apt-get and install java runtime environment (if you don’t have it)
sudo apt-get update
apt-get install openjdk-8-jre
make a new directory download the proper version from geoserver’s release page and unzip it then upload it to the folder you create on the droplet (eg platform independent stable release)
mkdir -p /usr/share/geoserver/
create environment variable, apply it
echo "export GEOSERVER_HOME=/usr/share/geoserver/" >> ~/.profile
. ~/.profile
give ownership rights to folder (replace <user> with proper ubuntu user)
sudo chown -R <user> /usr/share/geoserver/
add in any extensions you need to usr/share/geoserver/webapps/geoserver/WEB-INF/ folder then start the server from the bin folder
cd /usr/share/geoserver/bin
sh startup.sh
it should list a server success eventually and access it at http://localhost:8080/geoserver/ for more info see geoserver linux install directions
Hello, I follow these instructions, but now I’ve a SSL problem. I can’t use https://geoserver.mydomain.biz with common “Let’s Encrypt” SSL certificate. You can help me?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.