notes about how this server is set up.
a salvaged MacBook from 2012 running Ubuntu Server.
say
adds a line to the local communication file, which is called said
.
say something absolutely profound.
what
displays the last ten things said. everything
pages through all of history.
we use adduser
which is an interactive form.
/etc/adduser.conf
, DIR_MODE=0751
index.html
file was added to /etc/skel
which is automatically copied to new home foldersrather than use a password we can use ssh keys to login.
check if you have an ssh key already. on your local machine, type:
ls ~/.ssh
if you see id_rsa
in there, you already have a key. skip the next step.
to generate a key:
ssh-keygen
hit enter a bunch. it's fine. now, copy the key to the server:
ssh-copy-id you@kaatsk.net
you now don't need to enter your password.
a very basic css file is at /minimal.css
which sets the margins along with default fonts and colors. this can be added to any site with this line within the html <head>
section:
<link rel="stylesheet" href="/minimal.css">