> modprobe msr on the command line to load the driver.
Tuesday, June 19, 2018
MSR on Linux
Before trying to access MSR's, make sure to load the MSR driver.
Run
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.
Thursday, May 10, 2018
Compiled .py files (.pyc) cautions
Running compiled python scripts (.pyc files) could cause issues if the python version that compiled the script is different from the python version running the script.
Python version X compiles
test.py into test.pyc.
Python version Y runs test.pyc.
This could cause issues if X and Y are different.
Wednesday, May 9, 2018
RHEL TCP/IP Enable
By default, Redhat will have TCP/IP connections blocked. I used the following commands to open some ports for TCP/IP connections.
Repeat this command with [public,home] in the <zone> option. There is a chance that a different default zone is being used. Check
The port number is whatever port you want to have open for connections, and
> firewall-cmd --zone=dmz --add-port=1861/tcp --permanent
Repeat this command with [public,home] in the <zone> option. There is a chance that a different default zone is being used. Check
firewalld.conf to see which zone is default, and make sure to enable it for that.
The port number is whatever port you want to have open for connections, and
--permanent will make this change... permanent. Leave this option out if you only want a temporary connection for testing. You'll need to run > firewall-cmd --reload to have these changes take effect.
Subscribe to:
Posts (Atom)
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 ...
-
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 wit...
-
Error when scanning for DMAR table on certain Linux flavors. Highly likely that the BIOS has not reported this table. Check the listing in /...
-
When configuring a virtual machine using Windows Hyper-V, ensure that the network is properly set up first. Prior to powering on your VM,...