Skip to content

d-dd/my-server-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

my-server-setup

My notes on setting up an ubuntu server

  1. Generate key pair in PuttyGen. For Digital Ocean embed the key in the new droplet.
  2. Set up Putty. Copy settings from another server profile and change port, keys, address.
  3. Login as root Good resource for setup at Digital Ocean
  4. Make new account
    adduser tt
  5. Add to sudo group
    usermod -aG sudo tt
  6. Change to user, make ssh dir
su - tt
mkdir ~/.ssh
chmod 700 ~/.ssh
vim ~/.ssh/authorized_keys
  1. Paste public key
  2. chmod 600 ~/.ssh/authorized_keys
  3. Change ssh settings
    sudo vim /etc/ssh/sshd_config
    chage settings:
PasswordAuthentication no  
PermitRootLogin no
  1. sudo systemctl reload sshd

Locale

locale

Compatibility with Putty and Tmux

Check if panes show lines instead of qqqqqxxxxx
Check if arrow keys work on prompt
Check to see F1 - F4 work (e.g. on htop)
Check to see if I can type Japanese directly into the terminal

About

My notes on setting up an ubuntu server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published