Be Careful with Linux on a PowerEdge with the S140

Getting stuck on the S140 software RAID while installing Linux

When I bought a PowerEdge R630 I did not actually need RAID, but an S140 came with it by default, so I figured I might as well build the server in a RAID configuration — and got stuck. The server build plan Since there are 4 HDDs, I considered installing Debian Linux or VMware ESXi on RAID5 Boot failure from the rear USB port There is no CD/DVD drive included and no PXE boot environment either, so I created a boot disk on USB, plugged it into a rear USB port and powered the machine on, at which point it froze at “Initilize Firmware Interfaces” and did not go any further. [Read More]

How to Delete a File Whose Name Starts with -- (Hyphens)

How to remove things like --filename

While I was working with Hugo, either because I got an argument wrong or because I built in View mode, a directory named “–bind=192.168.1.1” ended up being created What does not work When you try to delete a file or directory that starts with – (hyphens) like this, commands such as the ones below cannot remove it Copy $ rm --bind=192.168.1.1 # naturally this is mistaken for an argument, so ☓ $ rm ”--bind=192.168.1.1” ☓ $ rm '--bind=192.168.1.1' ☓ The correct way to delete it You insert “–” (two hyphens) into the command arguments and then specify the file or directory [Read More]

Installing Ripgrep on Mac, CentOS and Debian

Installing ripgrep

Notes from installing Ripgrep(rg), which searches faster than grep, ack and silver_searcher, on several platforms Mac Install it straight from homebrew (if homebrew is already installed) Copy $ brew install ripgrep CentOS 7 On CentOS, ripgrep is not in the standard repositories or in epel, so install it as follows Copy $ sudo yum-config-manager --add-repo=https://copr.fedorainfracloud.org/coprs/carlwgeorge/ripgrep/repo/epel-7/carlwgeorge-ripgrep-epel-7.repo $ sudo yum install ripgrep Debian 10 Copy # apt install ripgrep If your version of Debian9 or Ubuntu is old and the package is not in apt, use the following [Read More]

Upgrading Debian 9 Stretch to Debian 10 Buster

Major and minor upgrade steps from Debian 9 to Debian 10

Debian Upgrade A major upgrade from Debian 9.x to 10.x Upgrade procedure Checking the version Copy $ cat /etc/debian_version 9.1 Updating Copy # apt-get update # apt-get upgrade # apt-get dist-upgrade Rewriting sources.list Copy # sed -i 's/stretch/buster/g' /etc/apt/sources.list Running the upgrade Copy # apt-get update # apt-get upgrade If any NFS-related daemons are running, stop them Copy # systemctl stop rpcbind The final upgrade [Read More]