This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I installed a fresh install of Fedora 27 on my Dell XPS 15 a couple of days ago. I experimented with GNOME, XFCE and KDE desktops. GNOME appears to work good out of the box. XFCE still has a long way to go so I won't be using it even though it is my favorite (I always revert back to the XFCE desktop on nearly all my Linux computers). | |
KDE needed some help. Here are my notes. | |
Change default font size to 192 | |
Start -> Fonts | |
Enable "Force fonts DPI" and set the value to 192 | |
Increase System Tray Settings icon size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I purchased a used Microsoft Surface Pro 2 this past weekend (8gb MEM, 256GBm ssd). I have a RHEL 7.4 guest running using the latest Oracle Virtualbox (needed separate guie3st tools ISO, built-in iso would not comple correctly). | |
I defined a shared folder to share into my RHEL 74 guest OS. When I tried to open the shared folder from RHGEL 7,4, I got a permission failure. | |
I found an answer via Google but cannot find the URL. Here is the fix that works after loging out and back in from GNOME session. | |
sudo usermod -a -G vboxsf $(whoami) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found the answer to getting copy/paste working in Windows 10 KVM here: | |
http://blogs.nologin.es/rickyepoderi/index.php?/archives/87-Copy-n-Paste-in-KVM.html | |
Solution was to run installer in this ISO (do not have url, sorry, I think Google can find it) | |
virtio-win-0.1.126.iso | |
Download latest spice tools from here: https://www.spice-space.org/download/binaries/spice-guest-tools/ and install it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I needed to install ffmpeg on my CentOS 7 server. The following web site shows how to install the nux repo. | |
https://www.vultr.com/docs/how-to-install-ffmpeg-on-centos | |
Here are the commands: | |
sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro | |
sudo yum install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I found a nice package called pv that implements a command line progress bar to use in copying files and creating tar files. | |
Here is the URL I found that describes the pv command: | |
https://www.tecmint.com/monitor-copy-backup-tar-progress-in-linux-using-pv-command/ | |
Here are some example useage of pv. | |
# pv opensuse.vdi > /tmp/opensuse.vdi | |
# pv /var/log/syslog | zip > syslog.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have a need to verify a command exits before executing it (I know, why not just run it?). Anyway, here is sample code I found on stackoverflow. Somewhat old code but it has some python constructs I have not seen yet in my python education journey (nested defs, returning multiple values using 'and' keyword). | |
URL: https://stackoverflow.com/questions/377017/test-if-executable-exists-in-python | |
Code: | |
def which(program): | |
import os | |
def is_exe(fpath): | |
return os.path.isfile(fpath) and os.access(fpath, os.X_OK) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The version of Libreoffice that is in the F26 base OS repository has been versions of 5.3. I like to run the latest so I download the latest version manually. About a month ago, I noticed none of the Libreoffice 5.4.x apps would lauch. Running the following command and doing a Google search found a Buggzilla: | |
/opt/libreoffice5.4/program/soffice --calc | |
sh: /usr/bin/clang++: No such file or directory | |
soffice.bin: /builddir/build/BUILD/pocl-0.14/lib/CL/devices/common.c:127: llvm_codegen: Assertion `error == 0' failed. | |
[kurtis@kwr541 program] $ sudo dnf install pocl pocl-devel | |
Found this Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1432468 | |
Solution for me was to install pocl and pocl-devel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have an OwnCloud server on the Internet. I needed a valid SSL certificate. I found a web site that told me how to register and install a free SSL certifiacate from LetsEncrypt. Today, I got an email saying my SSL certificate would expire in 9 days. | |
The following web site has instructions on how to do this for a Linux server on Amazon. It will also work for me based on the instructions. | |
https://nouveauframework.org/blog/installing-letsencrypts-free-ssl-amazon-linux/ | |
Steps to renew are as follows: | |
sudo su |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have an old Dell 513 desktop with AMD Dual Core running Windows 10. I have not been able to boot on the first try. I had to hold the power button to reset the CPU and next boot worked fine. I do not know the cause, but a way to fix it is to DISABLE Fast Startup. | |
Fast Startup can be enabled/disabled from the following Control Panel setting: | |
Control Panel -> Power Options -> click on: "Chose what the power button does" (left column) --? | |
click on: "Change settings that are currently unavailable" (middle of page) --> Uncheck "Turn on fast startup" checkbox. | |
The next boot/reboot should now work the first time. Even from a cold start. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have a home server on the Internet. I thouhgt it was a good idea to run Fail2Ban. I have on occassion entered the wrong password | |
too many time (more than 3 maybe 5). I found this web site that had the command to UNBAN an IP. Seems to work now. | |
https://serverfault.com/questions/285256/how-to-unban-an-ip-properly-with-fail2ban | |
sudo fail2ban-client set sshd unbanip 63.227.195.102 | |