How to install Wine on Ubuntu 20.04 LTS (Focal Fossa)

What is Wine?
Wine (originally an acronym for “Wine Is Not an Emulator”) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.

Continue reading “How to install Wine on Ubuntu 20.04 LTS (Focal Fossa)”

NO_PUBKEY B188E2B695BD4743

Sometimes you may see this error “The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743”

You can solve this issue by running the following commands.

apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B188E2B695BD4743
# apt-get update

Installing VMware on 20.04: Failed to build vmmon

I found a solution on mkucebek’s github sources

#!/bin/bash
VMWARE_VERSION=workstation-15.1.0
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 
/usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo /etc/init.d/vmware restart

Then, you just have to launch VMware Workstation without building modules.

Installing VMware on 19.10: Failed to build vmmon

I found a solution on mkucebek’s github sources

#!/bin/bash
VMWARE_VERSION=workstation-15.1.0
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 
/usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo /etc/init.d/vmware restart

Then, you just have to launch VMware Workstation without building modules.

How to install Samsung SCX-4623FW unified printer driver on Ubuntu 19.04

Step 1: Download Samsung SCX-4623FW linux driver

Samsung SCX-4623FW Linux Driver Details
OS: LINUX
Size: 14.66 MB, GZ
Language: MULTI LANGUAGE
Version : V1.00.36_00.91

Download

Run command:

cd /tmp
wget http://downloadcenter.samsung.com/content/DR/201510/20151027164600281/uld_v1.00.36_00.91.tar.gz

Step 2: Extract archive

Run command:

tar xzfv uld_v1.00.36_00.91.tar.gz

Step 3: Install drivers

Run command:

cd uld/
sudo sh ./install.sh

For network Samsung scanners, put your scanner’s IP address and optionally port anywhere in the file /etc/sane.d/xerox_mfp.conf:

tcp host_address [port] 

Step 4: Reboot your computer

Run command:

reboot

How to disable Let’s Encrypt for the hostname

If you want to replace the certificate for your hostname with a custom certificate but you had enabled Let’s Encrypt, you will need to disable Let’s Encrypt for the hostname first. The following command let’s DirectAdmin know that it does not need to renew the Let’s Encrypt certificate. This is required as DirectAdmin will renew the certificate +/- 60 days after the last renewal, even when the Let’s Encrypt certificate is not installed.

rm -rf /usr/local/directadmin/data/users/user_name/domains/domain_name.lt.san_config
rm -rf /usr/local/directadmin/data/users/user_name/domains/domain_name.lt.cert.creation_time

How to set up software RAID1 on a running LVM system (incl. GRUB2 configuration) (Ubuntu 19.04)

This guide explains how to set up software RAID1 on an already running LVM system (Ubuntu 19.04). The GRUB2 bootloader will be configured in such a way that the system will still be able to boot if one of the hard drives fails (no matter which one).

I do not issue any guarantee that this will work for you!

Continue reading “How to set up software RAID1 on a running LVM system (incl. GRUB2 configuration) (Ubuntu 19.04)”

Installing VMware on 19.04: Failed to build vmmon

I found a solution on mkucebek’s github sources

#!/bin/bash
VMWARE_VERSION=workstation-15.0.4
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 
/usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo /etc/init.d/vmware restart

Then, you just have to launch VMware Workstation without building modules.