Please see attached, bash script.
Wine HQ Needs Key Updated
Refer: https://www.reddit.com/r/wine_gaming/comments/a7pno3/winestaging_repo_missing_public_key/ec59pqb/
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key; sudo apt-key add winehq.key
Play DVDs on Ubuntu 18.04
Refer: https://websiteforstudents.com/enable-dvd-and-copy-right-videos-support-on-ubuntu-18-04-lts-beta/
$ sudo apt install libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg
$ sudo apt install ubuntu-restricted-extras
Finding binaries for Snaps on Ubuntu
Here you go:
/snap/bin
Ubuntu sort by file extension
Refer: https://www.maketecheasier.com/how-to-sort-files-by-extension-in-ubuntu-nautilus/
It's a bit of a hack but display "MIME Type" and sort by that instead.
Use Nemo for Ubuntu to get better files
Different options and the compress has *.tar again.
Refer: https://forums.fedoraforum.org/showthread.php?312452-No-more-tar-gz-compression-option
Ubuntu 18.04 Lost Internet in Parallels
Ubuntu has changed how things have worked, and on the company network, you will need to set what DNS server is being used.
There is a settings place for this now, not tested yet:
Refer: https://vitux.com/how-to-change-dns-settings-in-ubuntu/
Refer: https://askubuntu.com/questions/1021884/no-internet-after-upgrade-from-16-04-to-18-04
Quick Test
If the /etc/resolv.conf is empty but you can ping 8.8.8.8, you can use the following as a quick test/patch, but you will need to use the following section for a complete fix.
$ echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
Permanent Fix
HALW DNS at time of writing was: 10.211.55.1
Use the following command to determine current IP address: $ nmcli dev show | grep 'IP4.DNS'
Ubuntu might change completely how this works in the future, you can review this article here: https://www.techrepublic.com/article/how-to-set-dns-nameservers-in-ubuntu-server-18-04/
If the /etc/resolvconf/resolv.conf.d/head is empty then you have to repeat the command above after every restart except you do this:
$ sudo apt install resolvconf $ echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolvconf/resolv.conf.d/head > /dev/null $ echo "nameserver 10.211.55.1" | sudo tee -a /etc/resolvconf/resolv.conf.d/head > /dev/null $ echo "nameserver 8.8.4.4" | sudo tee -a /etc/resolvconf/resolv.conf.d/head > /dev/null
Then you have to restart the resolvconf and the networking
$ sudo systemctl enable resolvconf $ sudo systemctl start resolvconf $ sudo /etc/init.d/networking restart
Update Date and Time of Server
Refer: https://askubuntu.com/questions/81293/what-is-the-command-to-update-time-and-date-from-internet
$ sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
To add launcher to 18.04 favorites
Copy *.desktop property file to
/home/.local/share/applications
Modify Applications Menus with MenuLibre
$ sudo apt-get -y install menulibre
Security Scan for Ubuntu
Refer: https://cisofy.com/lynis/
From John D'Costa- Run this to get full report of the system scan
$ sudo apt-get install lynis
$ lynis audit system -c
Looking for root kits:
https://www.theurbanpenguin.com/detecting-rootkits-with-rkhunter-in-ubuntu-18-04/
