# apt install filezilla # vim /etc/exports # apt install vim # apt install nfs-kernel-server # exportfs -rav # vim /etc/exports # cat /etc/exports # root@rapzilla:/# cat /etc/exports # /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). # # Example for NFSv2 and NFSv3: # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) # # Example for NFSv4: # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) # # see https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-14-04 /ada1TB ada.phas.ubc.ca(rw,sync,no_root_squash,no_subtree_check) /ada1TB spyder.phas.ubc.ca(rw,sync,no_root_squash,no_subtree_check) /home/rap ada.phas.ubc.ca(rw,sync,no_root_squash,no_subtree_check) /home/rap spyder.phas.ubc.ca(rw,sync,no_root_squash,no_subtree_check) # exportfs -rav root@rapzilla:/# cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # # /boot/efi was on /dev/nvme0n1p1 during installation UUID=E424-409A /boot/efi vfat umask=0022,fmask=0022,dmask=0022 0 1 /boot/efi/grub /boot/grub none defaults,bind 0 0 /dev/mapper/cryptoswap none swap sw 0 0 # exportfs -rav # nmap -Pn -p 443 137.82.216.129 # cat /etc/fstab # apt install screenfetch # apt install cowsay $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 55.4M 1 loop /snap/core18/1997 loop1 7:1 0 219M 1 loop /snap/gnome-3-34-1804/66 loop2 7:2 0 64.8M 1 loop /snap/gtk-common-themes/1514 loop3 7:3 0 51M 1 loop /snap/snap-store/518 loop4 7:4 0 295.7M 1 loop /snap/vlc/2344 loop5 7:5 0 32.3M 1 loop /snap/snapd/11588 loop6 7:6 0 257.1M 1 loop /snap/zoom-client/158 loop7 7:7 0 61.8M 1 loop /snap/core20/1081 loop8 7:8 0 301.2M 1 loop /snap/obs-studio/1258 loop9 7:9 0 164.8M 1 loop /snap/gnome-3-28-1804/161 loop10 7:10 0 276.7M 1 loop /snap/gimp/372 loop11 7:11 0 184.8M 1 loop /snap/inkscape/9090 loop12 7:12 0 99.3M 1 loop /snap/core/11606 loop13 7:13 0 169M 1 loop /snap/gitkraken/181 loop14 7:14 0 55.4M 1 loop /snap/core18/2128 loop15 7:15 0 32.3M 1 loop /snap/snapd/12883 loop16 7:16 0 219M 1 loop /snap/gnome-3-34-1804/72 loop17 7:17 0 51M 1 loop /snap/snap-store/547 loop18 7:18 0 65.1M 1 loop /snap/gtk-common-themes/1515 sda 8:0 0 931.5G 0 disk └─sda1 8:1 0 931.5G 0 part /ada1TB sr0 11:0 1 1024M 0 rom zd0 230:0 0 500M 0 disk └─keystore-rpool 253:0 0 484M 0 crypt /run/keystore/rpool nvme0n1 259:0 0 931.5G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi ├─nvme0n1p2 259:2 0 2G 0 part │ └─cryptoswap 253:1 0 2G 0 crypt [SWAP] ├─nvme0n1p3 259:3 0 2G 0 part └─nvme0n1p4 259:4 0 927G 0 part ================================================================================== 21-08-31 108 cd /opt 109 tar zxf /home/rap/Downloads/ApacheDirectoryStudio-2.0.0.v20210717-M17-linux.gtk.x86_64.tar.gz 110 cd ApacheDirectoryStudio/ 112 java --version downloaded openwebstart from https://openwebstart.com/download apt install ./OpenWebStart_linux_1_4_0.deb 119 dpkg-query -L openwebstart 120 ls /opt # sudo add-apt-repository -y ppa:teejee2008/ppa E: The repository 'http://ppa.launchpad.net/teejee2008/ppa/ubuntu hirsute Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. # apt install plocate Get:1 http://ca.archive.ubuntu.com/ubuntu hirsute/main amd64 liburing1 amd64 0.7-3ubuntu1 [9,028 B] Get:2 http://ca.archive.ubuntu.com/ubuntu hirsute/universe amd64 plocate amd64 1.1.7-1 [119 kB] Successfully saved as "autozsys_0dyhle" Selecting previously unselected package liburing1:amd64. Selecting previously unselected package plocate. Preparing to unpack .../plocate_1.1.7-1_amd64.deb ... Installing new version of config file /etc/updatedb.conf ... update-alternatives: using /usr/bin/plocate to provide /usr/bin/locate (locate) in auto mode Adding group `plocate' (GID 137) ... Done. Creating initial plocate database... Created symlink /etc/systemd/system/timers.target.wants/plocate-updatedb.timer → /lib/systemd/syste m/plocate-updatedb.timer. plocate-updatedb.service is a disabled or a static unit, not starting it. # apt install apt-file # apt-file list mlocate mlocate: /etc/cron.daily/mlocate mlocate: /etc/updatedb.conf mlocate: /lib/systemd/system/mlocate.service mlocate: /lib/systemd/system/mlocate.timer mlocate: /usr/bin/mlocate mlocate: /usr/bin/updatedb.mlocate mlocate: /usr/include/mlocate/db.h mlocate: /usr/share/doc/mlocate/AUTHORS mlocate: /usr/share/doc/mlocate/NEWS.Debian.gz mlocate: /usr/share/doc/mlocate/NEWS.gz mlocate: /usr/share/doc/mlocate/README mlocate: /usr/share/doc/mlocate/TODO.Debian mlocate: /usr/share/doc/mlocate/changelog.Debian.gz mlocate: /usr/share/doc/mlocate/copyright mlocate: /usr/share/man/man1/mlocate.1.gz mlocate: /usr/share/man/man5/mlocate.db.5.gz mlocate: /usr/share/man/man5/updatedb.conf.5.gz mlocate: /usr/share/man/man8/updatedb.mlocate.8.gz # apt-file list plocate plocate: /etc/cron.daily/plocate plocate: /etc/updatedb.conf plocate: /lib/systemd/system/plocate-updatedb.service plocate: /lib/systemd/system/plocate-updatedb.timer plocate: /usr/bin/plocate plocate: /usr/sbin/plocate-build plocate: /usr/sbin/updatedb.plocate plocate: /usr/share/doc/plocate/changelog.Debian.gz plocate: /usr/share/doc/plocate/copyright plocate: /usr/share/man/man1/plocate.1.gz plocate: /usr/share/man/man5/updatedb.conf.5.gz plocate: /usr/share/man/man8/plocate-build.8.gz plocate: /usr/share/man/man8/updatedb.plocate.8.gz plocate: /var/lib/plocate/CACHEDIR.TAG # which locate /usr/bin/locate # ll /usr/bin/locate lrwxrwxrwx 1 root root 24 Sep 1 13:50 /usr/bin/locate -> /etc/alternatives/locate* # ll /etc/alternatives/locate lrwxrwxrwx 1 root root 16 Sep 1 13:51 /etc/alternatives/locate -> /usr/bin/plocate* root@rapzilla:/opt# apt purge mlocate # add-apt-repository -r ppa:teejee2008/ppa Repository: 'deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu/ hirsute main' More info: https://launchpad.net/~teejee2008/+archive/ubuntu/ppa Removing repository. Press [ENTER] to continue or Ctrl-c to cancel. Disabling deb entry in /etc/apt/sources.list.d/teejee2008-ubuntu-ppa-hirsute.list Removing disabled deb entry from /etc/apt/sources.list.d/teejee2008-ubuntu-ppa-hirsute.list Removing disabled deb-src entry from /etc/apt/sources.list.d/teejee2008-ubuntu-ppa-hirsute.list Hit:1 http://ca.archive.ubuntu.com/ubuntu hirsute InRelease Get:2 http://security.ubuntu.com/ubuntu hirsute-security InRelease [101 kB] Hit:3 http://ca.archive.ubuntu.com/ubuntu hirsute-updates InRelease Get:4 http://ca.archive.ubuntu.com/ubuntu hirsute-backports InRelease [101 kB] Fetched 201 kB in 1s (243 kB/s) Reading package lists... Done # apt list --installed |grep -i chrome ================================================================================== 21-09-02 # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 55.4M 1 loop /snap/core18/1997 loop1 7:1 0 55.4M 1 loop /snap/core18/2128 loop2 7:2 0 276.7M 1 loop /snap/gimp/372 loop3 7:3 0 99.3M 1 loop /snap/core/11606 loop4 7:4 0 169M 1 loop /snap/gitkraken/181 loop5 7:5 0 64.8M 1 loop /snap/gtk-common-themes/1514 loop6 7:6 0 164.8M 1 loop /snap/gnome-3-28-1804/161 loop7 7:7 0 219M 1 loop /snap/gnome-3-34-1804/66 loop8 7:8 0 301.2M 1 loop /snap/obs-studio/1258 loop9 7:9 0 184.8M 1 loop /snap/inkscape/9090 loop10 7:10 0 61.8M 1 loop /snap/core20/1081 loop11 7:11 0 257.1M 1 loop /snap/zoom-client/158 loop12 7:12 0 32.3M 1 loop /snap/snapd/12883 loop13 7:13 0 51M 1 loop /snap/snap-store/518 loop14 7:14 0 295.7M 1 loop /snap/vlc/2344 loop15 7:15 0 32.3M 1 loop /snap/snapd/11588 loop16 7:16 0 219M 1 loop /snap/gnome-3-34-1804/72 loop17 7:17 0 65.1M 1 loop /snap/gtk-common-themes/1515 loop18 7:18 0 51M 1 loop /snap/snap-store/547 sda 8:0 0 931.5G 0 disk └─sda1 8:1 0 931.5G 0 part sr0 11:0 1 1024M 0 rom zd0 230:0 0 500M 0 disk └─keystore-rpool 253:0 0 484M 0 crypt /run/keystore/rpool nvme0n1 259:0 0 931.5G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi ├─nvme0n1p2 259:2 0 2G 0 part │ └─cryptoswap 253:1 0 2G 0 crypt [SWAP] ├─nvme0n1p3 259:3 0 2G 0 part └─nvme0n1p4 259:4 0 927G 0 part # lsblk | grep -v loop NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk └─sda1 8:1 0 931.5G 0 part sr0 11:0 1 1024M 0 rom zd0 230:0 0 500M 0 disk └─keystore-rpool 253:0 0 484M 0 crypt /run/keystore/rpool nvme0n1 259:0 0 931.5G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi ├─nvme0n1p2 259:2 0 2G 0 part │ └─cryptoswap 253:1 0 2G 0 crypt [SWAP] ├─nvme0n1p3 259:3 0 2G 0 part └─nvme0n1p4 259:4 0 927G 0 part # ls -lha /dev/disk/by-uuid total 0 drwxr-xr-x 2 root root 200 Sep 1 11:56 . drwxr-xr-x 8 root root 160 Sep 1 11:55 .. lrwxrwxrwx 1 root root 15 Sep 2 09:13 12645157261940497837 -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 15 Sep 2 09:13 3569295801841047688 -> ../../nvme0n1p4 lrwxrwxrwx 1 root root 10 Sep 2 09:13 61a6614a-7d53-4c1c-ba50-ad8e76a4f2b2 -> ../../dm-1 lrwxrwxrwx 1 root root 10 Sep 2 09:13 659d87e0-d0fc-449a-b941-14c3c186bc9e -> ../../dm-0 lrwxrwxrwx 1 root root 15 Sep 2 09:13 6c923cf0-39f1-4358-8c28-8fe16da5742c -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 9 Sep 2 09:13 7b34b46e-cdda-4f4f-abac-8542b86d396d -> ../../zd0 lrwxrwxrwx 1 root root 10 Sep 2 09:13 bf6b5eb2-11bf-421e-ae4f-3aaf2bcfc653 -> ../../sda1 lrwxrwxrwx 1 root root 15 Sep 2 09:13 E424-409A -> ../../nvme0n1p1 # blkid /dev/sda1 /dev/sda1: LABEL="WD-1TB" UUID="bf6b5eb2-11bf-421e-ae4f-3aaf2bcfc653" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="00071506-01" # mount | grep ada1 /dev/sda1 on /ada1TB type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota) # cat /etc/fstab # # /etc/fstab # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # # # # /dev/sda1: LABEL="WD-1TB" UUID="bf6b5eb2-11bf-421e-ae4f-3aaf2bcfc653" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="00071506-01" # blkid /dev/nvme0n1p1 #/dev/nvme0n1p1: UUID="E424-409A" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="f2cd8d85-65cd-4dcf-a74a-bf3ae0df8553" UUID=E424-409A /boot/efi vfat umask=0022,fmask=0022,dmask=0022 0 1 /boot/efi/grub /boot/grub none defaults,bind 0 0 /dev/mapper/cryptoswap none swap sw 0 0 # blkid /dev/sda1 # /dev/sda1: LABEL="WD-1TB" UUID="bf6b5eb2-11bf-421e-ae4f-3aaf2bcfc653" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="00071506-01" UUID=bf6b5eb2-11bf-421e-ae4f-3aaf2bcfc653 /ada1TB xfs defaults 0 2 #142.103.211.1:/ada1TB /ada1TB nfs4 rw,rsize=32768,wsize=32768,hard,intr,bg,tcp,acl #142.103.211.1:/home/rap /home/rap nfs4 rw,rsize=32768,wsize=32768,hard,intr,bg,tcp,acl gamma:/var/www/shtml /wwws nfs rw,rsize=32768,wsize=32768,hard,intr,bg,tcp,acl zorok:/home/rap /physhome nfs rw,rsize=32768,wsize=32768,hard,intr,bg,tcp,acl zorok:/home/sysadmin /sysadmin nfs rw,rsize=32768,wsize=32768,hard,intr,bg,tcp,acl ================================================================================== 21-09-14 install MS Teams https://teams.microsoft.com/downloads#allDevicesSection # as root... # apt install ./teams_1.4.00.13653_amd64.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'teams' instead of './teams_1.4.00.13653_amd64.deb' The following NEW packages will be installed: teams 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/83.2 MB of archives. After this operation, 297 MB of additional disk space will be used. Get:1 /home/rap/Downloads/teams_1.4.00.13653_amd64.deb teams amd64 1.4.00.13653 [83.2 MB] Requesting to save current system state Successfully saved as "autozsys_5xdbpk" Selecting previously unselected package teams. (Reading database ... 206652 files and directories currently installed.) Preparing to unpack .../teams_1.4.00.13653_amd64.deb ... Unpacking teams (1.4.00.13653) ... Setting up teams (1.4.00.13653) ... Processing triggers for desktop-file-utils (0.26-1ubuntu1) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for mailcap (3.68ubuntu1) ... ZSys is adding automatic system snapshot to GRUB menu N: Download is performed unsandboxed as root as file '/home/rap/Downloads/teams_1.4.00.13653_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) # ll teams_1.4.00.13653_amd64.deb -rw-rw-r-- 1 rap rap 83232268 Sep 14 15:48 teams_1.4.00.13653_amd64.deb # dpkg -i teams_1.4.00.13653_amd64.deb (Reading database ... 207047 files and directories currently installed.) Preparing to unpack teams_1.4.00.13653_amd64.deb ... Unpacking teams (1.4.00.13653) over (1.4.00.13653) ... Setting up teams (1.4.00.13653) ... Processing triggers for mailcap (3.68ubuntu1) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.26-1ubuntu1) ... ================================================================================== 21-09-22 root@rapzilla:~# snap install authy authy 1.8.4 from Twilio Authy installed root@rapzilla:~# apt install pinta The following additional packages will be installed: binfmt-support ca-certificates-mono cli-common gnome-icon-theme libgdiplus libglib2.0-cil libgtk2.0-cil libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-btls-interface4.0-cil libmono-cairo4.0-cil libmono-corlib4.5-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-drawing4.0-cil libmono-system-numerics4.0-cil libmono-system-security4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil mono-4.0-gac mono-gac mono-runtime mono-runtime-common mono-runtime-sgen Suggested packages: monodoc-gtk2.0-manual libmono-i18n4.0-all libgamin0 The following NEW packages will be installed: binfmt-support ca-certificates-mono cli-common gnome-icon-theme libgdiplus libglib2.0-cil libgtk2.0-cil libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-btls-interface4.0-cil libmono-cairo4.0-cil libmono-corlib4.5-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-drawing4.0-cil libmono-system-numerics4.0-cil libmono-system-security4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil mono-4.0-gac mono-gac mono-runtime mono-runtime-common mono-runtime-sgen pinta Importing into BTLS system store: 129 new root certificates were added to your trust store. Import process completed. Processing triggers for mailcap (3.68ubuntu1) ... ZSys is adding automatic system snapshot to GRUB menu ================================================================================== 21-09-27 netdata - monitor everything in real time https://www.netdata.cloud/ https://www.joyfulbikeshedding.com/blog/2018-03-22-netdata-simple-server-monitoring.html https://www.zdnet.com/article/a-troubleshooting-platform-for-free-netdata-scores-142m-funding-to-extend-its-open-source-application-monitoring-platform/ https://www.reddit.com/r/linuxadmin/comments/5pvgfb/netdata_the_opensource_realtime_performance/ # apt-cache search netdata # apt install netdata # netdata # systemctl status netdata # systemctl restart netdata # cd /etc/netdata/ ================================================================================== ==================================================================================