Note: Currently new registrations are closed, if you want an account Contact us

Difference between revisions of "System Administrators Checklist"

From FSCI Wiki
(add numbered list)
Line 1: Line 1:
Pre-Requisites: How to install GNU/Linux, Familiarity with Command Line, disk partitioning with logical volume manager, authenticating with ssh keys
= Pre-Requisites (you need to learn yourself) =
# How to install GNU/Linux
# Familiarity with Command Line
# disk partitioning with logical volume manager
# authenticating with ssh keys


Server basics (we will teach you): switching users (sudo, su), ssh key based authentication (scp, rsync, custom ssh port, mosh), software raid, encrypted partitions (using virtual machines), firewall with ufw, postgresql replication, lxc container (setup services on your local machine), sharing passwords with gpg encrypted files, nginx basic, screen/tmux/nohup, symbolic links (ln -s), locales, environment variables
= Server basics (we will teach you) =
# switching users (sudo, su)
# remote access (scp, rsync, custom ssh port, mosh),
# software raid
# encrypted partitions/luks (using virtual machines)
# firewall with ufw
# postgresql replication (backup)
# lxc container (setup services on your local machine)
# sharing passwords with gpg encrypted files
# nginx basics (setup web server, add custom index page)
# screen/tmux/nohup
# symbolic links (ln -s)
# locales
# environment variables
# local network configuration (/etc/hosts, ip, ss).


== Switching users ==
== Switching users ==


sudo or su commands can be used to run commands as different users. `sudo -u <username>` for running as different user. `su - postgres` can give you a shell as postgres user.
sudo or su commands can be used to run commands as different users. `sudo -u <username>` for running as different user. `su - postgres` can give you a shell as postgres user.
== Remote access to machines ==
#. ssh - remote shell (with ssh server on custom ports)
#. scp/sftp/rsync - copy files
#. mosh - for bad connections


== Symbolic links ==
== Symbolic links ==

Revision as of 23:13, 12 December 2020

Pre-Requisites (you need to learn yourself)

  1. How to install GNU/Linux
  2. Familiarity with Command Line
  3. disk partitioning with logical volume manager
  4. authenticating with ssh keys

Server basics (we will teach you)

  1. switching users (sudo, su)
  2. remote access (scp, rsync, custom ssh port, mosh),
  3. software raid
  4. encrypted partitions/luks (using virtual machines)
  5. firewall with ufw
  6. postgresql replication (backup)
  7. lxc container (setup services on your local machine)
  8. sharing passwords with gpg encrypted files
  9. nginx basics (setup web server, add custom index page)
  10. screen/tmux/nohup
  11. symbolic links (ln -s)
  12. locales
  13. environment variables
  14. local network configuration (/etc/hosts, ip, ss).

Switching users

sudo or su commands can be used to run commands as different users. `sudo -u <username>` for running as different user. `su - postgres` can give you a shell as postgres user.

Remote access to machines

  1. . ssh - remote shell (with ssh server on custom ports)
  2. . scp/sftp/rsync - copy files
  3. . mosh - for bad connections

Symbolic links

Symbolic links can be used to store data in data partition without changing configuration files. For example /var/lib/postgresql can be a symbolic link to /data/postgresql where /data is a dedicated partition for storing data.

Setup correct Locales

`dpkg-reconfigure locales`