Skip to content

979st/ubuntu_lts_configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu LTS Configuration Guide

Used by us internally, this guide walks you through the process of configuring SSH access, running the installation script, and performing the post-install setup for your Ubuntu LTS server.

Installation

  1. After downloading the repository to your server, copy your SSH public keys into the "your_keys" directory.
  2. Run the installation script.
sudo chmod +x install.sh && sudo ./install.sh

This will:

  • Update all packages.
  • Install necessary packages.
  • Use the provided SSH credentials to configure and create a user named maintainer.
  • Configure UFW.
  • Configure automatic security updates.
  • Configure NTP.

Post-Install Steps

  1. Set a password for maintainer user:
sudo passwd maintainer
  1. Unlock the maintainer account:
sudo passwd -u maintainer

Cleanup

If you need to remove an old user account (e.g., olduser):

# Kill any running processes
sudo pkill -u olduser

# Delete the account and its home directory
sudo userdel -r olduser

Accessing the Server

After installation and post-install steps:

  1. Restart the server.
  2. Connect via SSH:
ssh -p 18156 maintainer@server

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages