Linux

About Linux

Apt Playbook

I use ansible to keep all my computers consistent and install the same packages on all the systems. First I install my ssh key. Then I allow the sudo group to run sudo without supplying a password. Then I run the following ansible playbook (of course the ip address OR ‘HOSTS’ is assigned by DHCP):

Apt Playbook Read More »

Avahi mDNS issue

Two copies of the same share would show up when I browsed the network. I added the following: to I found this link that told me what to do: https://askubuntu.com/questions/1138394/seeing-ubuntu-server-19-04-twice-on-clients-probably-avahi-mdns-issue

Avahi mDNS issue Read More »

Firefox and kernel updates

Ok so two things. Firefox ESR and mainline. If you are on an unsupported version of ubuntu, like my web server which hosts other peoples stuff, and cannot upgrade. You can keep the kernel up-to-date with mainline. https://github.com/bkw777/mainline/releases/ It parses the ubuntu kernels from the from the Ubuntu archive and lets you select one and

Firefox and kernel updates Read More »

NFS V4 with root

I followed this site: https://help.ubuntu.com/community/SettingUpNFSHowTo I set everything up as recommended. But I was unable to change the permissions. I was using sudo rsync -azv So, after a bit of googling I changed /etc/exports /export 192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async) /export/backup 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,async) /export 192.168.1.0/24(rw,insecure,no_subtree_check,async,no_root_squash) /export/backup 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,async,no_root_squash) The key was no_root_squash Then I could read and write as root.

NFS V4 with root Read More »