lwc:linux:setup

This is an old revision of the document!


apt update
apt upgrade
export NU=USER
adduser $NU
usermod -aG sudo $NU
  • sudo apt install emacs-nox
  • if root has correct public cert:
    • mkdir -p ~/.ssh && sudo cp /root/.ssh/authorized_keys ~/.ssh/. && sudo chown $USER:$USER ~/.ssh/authorized_keys
  • otherwise:
    • mkdir .ssh && chdir .ssh && emacs -nw authorized_keys
    • add public rsa
  • logout, login to test that cert is working
  • sudo emacs -nw /etc/ssh/sshd_conf and change PasswordAuthentication from yes to no
  • sudo systemctl restart sshd.service
  • copy .emacs and .emacs/d from somewhere else…

To set up with AWS SES follow these directions but use port 2587 instead of 587 on Linode as 587 is blocked

  • lwc/linux/setup.1632260364.txt.gz
  • Last modified: 2021/09/21 16:39
  • by John Harrison