Deployment: Server Setup - 3C-SCSU/Avatar GitHub Wiki

Deployment

Create a VPS on your service of choice: GCP, Azure, AWS, Linode, Ionos, etc

L --> Alma Linux
A --> Nginx
M --> Apache Spark
P --> Rust

The Cloud Computing Club currently uses two Ionos servers.

Server Setup Basic Steps

Create User

useradd {username}
passwd {desired passwd} 

Change User Password

$ passwd
Enter a new UNIX password:
Re-enter the new UNIX password:

SSH Key For user

From local Linux machine check if you will overwrite existing ssh key

 ls -la ~/.ssh 

Create key with the following command:

 ssh-keygen -b 4096

Copy key to to VPS with command:

 ssh-copy-id {username}@{serverIP}

Give Users Sudo

* vim /etc/sudoers
* Check that wheel group is not commented out 
* usermod -aG wheel {username} 

Add a project folder in home directory

 mkdir 'Avatar'
 chmod -R 755 

Server Connection

image

video here

Adding user to group with sudo su -

image

reference

Deleting user

image

reference

⚠️ **GitHub.com Fallback** ⚠️