36 lines
2.0 KiB
Plaintext
36 lines
2.0 KiB
Plaintext
|
enable ssh
|
||
|
use usermod to rename pi to cygnus
|
||
|
make a shoofle user, add her to sudoers with usermod, move the ssh pubkey over
|
||
|
|
||
|
set up samba
|
||
|
set up a samba password for the cygnus user maybe, so that i can get into the cygnus home folder
|
||
|
install nginx?
|
||
|
|
||
|
added the following lines to /etc/fstab to get 55 cancri b and ct chameleontis b to mount!!!
|
||
|
> #okay let's go into the scary realm
|
||
|
> PARTUUID=9eb03fc3-01 /media/55\040Cancri\040B vfat auto,exec,rw,sync,nouser 0 0
|
||
|
> PARTUUID=acafe9ba-747a-42dc-bd3e-3d6cf775a523 /media/CT\040Chameleontis\040b ntfs auto,exec,rw,sync,nouser 0 0
|
||
|
changed this later so that it mounted Gliese 180 a/b to /mnt/sthose, might eventually move them to /media, whatever
|
||
|
|
||
|
now editing the /etc/samba/smb.conf or whatever to reflect the new locations of those folders
|
||
|
|
||
|
gotta install fuse and ntfs-3g with apt-get
|
||
|
|
||
|
make sure that at least the relevant parts of the data store are chmod 777 because they need access from the guest user
|
||
|
|
||
|
installed nginx!
|
||
|
wrote a little landing page letting people know what cygnus is.
|
||
|
|
||
|
installed smartmontools for monitoring drive healt
|
||
|
|
||
|
installed fortune-mod so i can get fortunes
|
||
|
|
||
|
installed python-is-python3 and python3-pip so that i can have python working better
|
||
|
|
||
|
wrote the service and timer files for updating the fortune, then symlinked them into /etc/systemd/system/
|
||
|
if i want to restart them i can do `systemctl restart cygnus`, and perhaps if i want to reload the config file i do `systemctl daemon-reload`? oh also remember `systemctl list-timers`
|
||
|
|
||
|
minor note but in the scripts to be run by the system, make sure that things don't depend on environment variables and such unless you really want it. for example use the explicit full path to a program instead of just `fortune` use `/usr/games/fortune` because the environment configures where to look for executables.
|
||
|
|
||
|
installed yt-dl (through apt) and then yt-dlp because yt-dl didn't work https://github.com/yt-dlp/yt-dlp#installation
|