Skip to content

Instantly share code, notes, and snippets.

@bootandy
Last active October 5, 2022 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bootandy/c1cf644290d487f9bbec50cd3692d355 to your computer and use it in GitHub Desktop.
Save bootandy/c1cf644290d487f9bbec50cd3692d355 to your computer and use it in GitHub Desktop.
Todo on new linode
<install nginx, postgresql postgresql-contrib>
adduser andy
usermod -aG sudo username
<copy bash_profile>
<copy: /etc/nginx/sites-enabled/>
<copy: /etc/systemd/system/>
<copy: letsencrypt files, install certbot https://community.letsencrypt.org/t/move-to-another-server/77985/4 >
<update crontab>
<sudo vim /etc/postgresql/14/main/pg_hba.conf https://stackoverflow.com/questions/18664074/getting-error-peer-authentication-failed-for-user-postgres-when-trying-to-ge >
sudo usermod -a -G andy www-data
systemctl enable NAME.service (Need to tell systemD to run service on start)
<edit /etc/hosts & /etc/hostname> (Fix name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment