Question

Need a VPS server setup to host and manage web applications

Posted February 4, 2021 428 views
JavaInitial Server SetupReactDatabases

Need a VPS server setup to host a ReactJS app with spring boot application as the backend and MySQL as DB. Need help to install required software’s to get started as well.

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.

×
Submit an Answer
1 answer

Hi @stanleyj85,

This would be the best place to search for such a solution! This is mainly because you have root access to the droplets on DigiltOcean and as such you can install whatever software you want.

In regards to the software you want, let’s start with MySQL, DigitalOcean have a pretty great tutorial on how to install MySQL which you can follow here:

https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04

In regards to the ReactApp, most probably you’ll be using Nginx as a reverse proxy. As such you can follow this tutorial here:

https://www.digitalocean.com/community/tutorials/how-to-deploy-a-react-application-with-nginx-on-ubuntu-20-04

Lastly, if you want to use the App Platform to host your app and not deal with any of the software required, you can follow this tutorial on how to achieve so:

https://www.digitalocean.com/community/tutorials/how-to-deploy-a-react-application-to-digitalocean-app-platform

Regards,
KFSys

by Mark Drake
MySQL is an open-source database management system, commonly installed as part of the popular LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack. It implements the relational model and uses SQL (Structured Query Language) to manage its data. This tutorial will explain how to install MySQL on an Ubuntu 20.04 server.