Skip to content

Instantly share code, notes, and snippets.

View cocona20xx's full-sized avatar
🛏️
always a bit sleepy

Cocona cocona20xx

🛏️
always a bit sleepy
View GitHub Profile

How to setup a Maven Server

Introduction

The intention of this instruction manual is to teach moderate to advanced Java Developers who wish to publish their Java programming projects to a Maven server with the intent of allowing others to use these projects. Once a Java developer begins to make multiple projects, and often libraries, it becomes useful to share code with others. While some other solutions exist, this manual will cover a solution that leaves control of the code in the hands of the developer. This manual will guide programmers through the acquisition of a physical server with Linode, setup of a web server with nginx, distribution of the server with Google Domains and DNS, and SSL certification with certbot. The manual will also cover an optional process of testing your server with a publishing test.

While this guide will use Google Domains for domain purchase and DNS, many other DNS providers like CloudFlare may be used. In addition, this guide will use Git Bash as the terminal of choice