Skip to content

jpolkehn/v-server-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

v-server-setup

V-Server as my first Project at the Developer Akademie

In this project, a secured virtual server was set up with SSH key authentication, and the NGINX web server was installed to display a customized HTML start page. Additionally, Git was configured and connected to GitHub via SSH for secure repository management.

Table of Contents

Prerequisites

  • Ready to use VM
  • Git SSH connection

Quickstart

  • Clone the repository:
git clone git@github.com:jpolkehn/v-server-setup.git
cd v-server-setup
  • Login to your machine
ssh <your_username>@<your_ip>
  • Update & install Nginx
sudo apt update && sudo apt install -y nginx

Usage

  • Generate a ssh key pair
ssh-keygen -t ed22519
  • SSH alias
alias <aliasName>="ssh -i ~/.ssh/<your_key> <username>@<your_ip>"
  • Disable password Login
sudo nano /etc/ssh/ssh_config
  • Create html document for Webserver
sudo touch /var/www/alternatives/alternate-index.html
  • Create directory
mkdir /var/www/alternatives

About

V-Server als Projekt bei der Developer Akademie

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors