Spring MVC NoSQL Server Setup

  • Posted on December 7, 2014
  • 1103620yAsked by 1103620y


I am fairly new to Digital Ocean and currently trying to set up a basic Spring MVC server with a NoSQL data store (MongoDB) on my droplet with the following specifications:

512MB Ram 20GB SSD Disk London 1 Ubuntu 14.10 x64

What I have done so far:

  • setup git
  • java jre, jdk 7
  • installed Apache
  • installed Maven
  • mongo DB

What I want to do now is route the server to run on my homepage (currently instead of localhost( I guess I will have to modify the proxy Apache configuration but could not find a proper explanation/ tutorial anywhere on the website. How can I do that?

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

What I managed to figure out is that chkconfig is not available for Ubuntu anymore, but it is still a part of the instructions for this guide: . I installed the alternative sysv-rc-conf to handle incoming requests to the Mongo DB.

I managed to run the server by configuring jetty as a dependency. Now the issue is deploying Mongo DB. On localhost I just run it paralelly by opening a command line: “mongod” and connecting to my database. How can I open another terminal in the droplet space?