Hello,
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:
What I want to do now is route the server to run on my homepage (currently http://178.62.100.239/) instead of localhost(http://127.0.0.1:8080/). 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?
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!
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?
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: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-scalable-mongodb-database . I installed the alternative sysv-rc-conf to handle incoming requests to the Mongo DB.
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.