VPS Setup Guide

From EVEmu Wiki
Revision as of 08:58, 6 September 2021 by Jdhirst (talk | contribs) (Moving to dedicated setup page as not everyone will be using a VPS and this clutters the Getting Started page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Getting your VPS

Let's start with getting you a VPS. There are multiple providers that you can rent a VPS from on a monthly basis. EVEmu requires at least 1 core, 1GB RAM, x86_64, and a network connection to run. So what this means is that we need to have at least 1 CPU core with 1GB RAM, an active network connection, and be running on the x86_64 system architecture. We suggest choosing Ubuntu Server 18.04 or greater as your operating system. Currently Ubuntu Server 18.04 and 20.04 are the recommended long term support variants of Ubuntu Server.

Popular Providers

Any of these providers will work for setting up EVEmu. We recommend doing research and figuring out the one that works best for you and your budget. All of these providers also include instructions on how to setup and login to your instance. We'll leave it up to them to explain how to login to your instance besides this brief synopsis.

Logging into your VPS

All of the providers listed above have some documentation on how to login to your instance. We recommend while creating your instance that you create a SSH (Secure Shell Protocol) KeyPair. This will allow you to be able to login to your instance from home. Some of the above providers allow for you to login to the server from your browser if you did not or do not want to create one of these key pairs.

Windows

To login via SSH to your new instance you are going to need to install a program called PUTTY. This is a SSH client for Windows and is extremely popular throughout the IT Industry. Once this program is installed Double Click to open it. You are going to put your servers hostname or IP in the box labeled Hostname or IP Address. Next steps will differ depending on your authentication method.

Password Login

If you have a password to login to your instance you will click connect. You will be prompted with a terminal windows. It will first prompt you for a username. As we are using ubuntu you will enter the username of ubuntu and click Enter. Next it will prompt you for a password. Copy the password from where you have stored it and Right Click within the terminal window. You will not see any difference in the terminal as it hides the password by default. Click Enter. After a few seconds you should be logged into your new instance.

Key Based Login

If you are using Key Based login you will need the private key that you received when you setup the instance. You either generated this key yourself or you were prompted with a download for it. Locate it now. Once you have your key located navigate to the windows search bar. Search for Puttygen. Open this program. You will be prompted with a window similar in style to Putty. About halfway down the window on the right hand side is a button called Load. Click this button and navigate to where you located your private key earlier. It will at first not show up. In the bottom right of the window you will have to change the file type to All Files to be able to see your private key. Once you can see it click it and select Okay. You will be prompted with a pop up window stating that your key was successfully imported. Click Save Private Key and save it in a place that is memorable to you. Next, locate the file you just saved. Right click it and select Load into Pagent. Once this is done please go back to the Putty window and click connect. You should be logged into your new instance within a few seconds.

Linux

To login via SSH to your new instance with Linux is quite simple. To begin with locate the Private Key that you received when you setup your instance. Remember where this key is located. I suggest putting it in a memorable place as you will need it every-time you login to your instance. Open your terminal. Navigate with cd to where your private key is located. Next run chmod 0400 privatekeyfile.pem. This will change the security of your private key so that it can be used by the Linux SSH client. Once you have run that command you are ready to connect to your instance. Type ssh -i privatekeyfile.pem ubuntu@server_ip_or_hostname_here. You will shortly be prompted with your instance all logged in and ready to go.