Friday, June 14, 2019

Accessing Repositories for Fedora behind Proxy

By default, even when specifying the proxy address/port user/pwd, Fedora will likely complain about SSL certificates being invalid. In the file /etc/dnf/dnf.conf, add the following line:

sslverify=0

Monday, January 28, 2019

Python 3.7.2 issues on RHEL 7.3

Python 3.7.2 has certain requirements for the version of the SSL module it is using. RHEL 7.3 version of openssl-devel is not compatible with this version, OR the python 3.7 installation procedure is looking into the incorrect location for where openssl is installed.

Tuesday, January 15, 2019

Configuring Network in Windows Hyper-V Virtual Machine (RHEL)

When configuring a virtual machine using Windows Hyper-V, ensure that the network is properly set up first.

Prior to powering on your VM, go to Virtual Switch Manager and create a new External Virtual Switch. During the creation process, ensure that the correct network adapter is selected, and set the name to something clear and concise. (this will make the network easier to locate and differentiate later) Note: I've had some issues with using the WiFi adapter for the virtual network switch. I was only able to get this working via the Ethernet Adapter

When this is finished, open up CMD and run ipconfig. Locate the virtual network you just created, and note down the IP address, submask, and gateway. We will need these when configuring the RHEL VM.

When installing RHEL, go to network configuration settings. Select the ethernet adapter. In IPv4 settings, select Manual instead of DHCP or Automatic. For the IP address, submask, and gateway, use the values we got from the ipconfig command used previously. Select Save.

There should be a switch or option somewhere in the ethernet adapter options to connect or Turn ON. After clicking this, verify that it has successfully found the virtual network switch as indicated by a CONNECTED status. You should also see the IP address, gateway, etc.

Continue with the rest of the installation.

Thursday, July 12, 2018

Configuring Ubuntu 18.04 LTS for remote GUI

There is a chance that you won't be able to enable Screen Sharing in the system settings. When attempting to enable, I saw the list of networks for sharing as "No Networks Selected for Sharing". You should see something like Wired Connection 1 or something like that.

I fixed this issue by going to /etc/netplan/, and overwriting the auto-generated file with the following:

network:
 version: 2
 renderer: NetworkManager


After you save this file, reboot the system. You should be able to see Wired Connection as a network option when enabling Screen Sharing now.

Tuesday, June 19, 2018

MSR on Linux

Before trying to access MSR's, make sure to load the MSR driver.
Run > modprobe msr on the command line to load the driver.

Monday, June 18, 2018

First steps in configuring linux server for remote access.

When setting up a new Linux server (in a corporate network) for remote debugging/ssh/whatever, you'll first need to install openssh-server if it isn't installed already. To use apt-get, ensure you have a proxy set up. It is likely you'll need to modify/create /etc/apt/apt.conf, and add the following line to it.

Acquire::http::Proxy "<your-proxy-address-here>:<port>"

After doing this, you should be able to use apt to update and install the latest openssh-server package.

Wednesday, June 13, 2018

Error when scanning ACPI table DMAR

Error when scanning for DMAR table on certain Linux flavors. Highly likely that the BIOS has not reported this table. Check the listing in /sys/firmware/acpi/tables to verify if table DMAR is there or not. If it's not there, the BIOS was probably not configured to report this table. Make sure VT-D is enabled in the BIOS, then reboot the server.

Accessing Repositories for Fedora behind Proxy

By default, even when specifying the proxy address/port user/pwd, Fedora will likely complain about SSL certificates being invalid. In the ...