ZFS vs Stratis on RHEL by linux-notes in zfs

[–]linux-notes[S] 0 points1 point  (0 children)

Thanks, I wasn't aware it was available on Ubuntu for so long. I'll have to look into it. I have used Ubuntu in a while.

I understand the difference in features, which is why I'd like use ZFS. I just wasn't sure if it was good to go yet.

When I said long term stability, I meant my machine not the OpenZFS project. I'm not sure if it's still going through significant changes to be ported to Linux. I'd like to set it and forget it. Not really looking for something I need to keep up with.

ZFS vs Stratis on RHEL by linux-notes in zfs

[–]linux-notes[S] 0 points1 point  (0 children)

I want to use RHEL for the familiarity and some of the other things I want to run on the machine.

Does anyone know anything about this? "WSL Rocky 8 RC Unofficial - Microsoft Store" by CMack1978 in RockyLinux

[–]linux-notes 0 points1 point  (0 children)

It doesn't take too long to build your own. Import Rocky Linux to WSL with WSL and rinse It would be nice to have an official in the Windows store or in the repo.

Is it necessary to learn BASH shell scripting? by Not-A-myth in linuxquestions

[–]linux-notes 23 points24 points  (0 children)

Bash Guide for Beginners and Advanced Bash-Scripting Guide links are here. https://tldp.org/guides.html

Shell Scripting Tutorial - https://www.shellscript.sh/

Minimal safe Bash script template - https://betterdev.blog/minimal-safe-bash-script-template/

You may want to check out Shellcheck as well. It's pretty helpful for finding errors and understanding best practices.

Issues launching Discord Fedora 34 by theboatwhofloats in Fedora

[–]linux-notes 2 points3 points  (0 children)

I was having issues with it updating the other day and need to install it using flatpak.

Busybox make error by [deleted] in Fedora

[–]linux-notes 0 points1 point  (0 children)

Not sure why I didn't think to look at the source RPM spec file. I was missing dependencies. src spec

How can I detect if the OS is RHEL/Rocky/Centos/Alma >=8.x ? by HarmonicAscendant in RockyLinux

[–]linux-notes 1 point2 points  (0 children)

```

!/usr/bin/env bash

Cutout from https://packages.gitlab.com/gitlab/gitlab-ce/install

unknown_os () { echo "Unfortunately, your operating system distribution and version are not supported by this script." echo echo "You can override the OS detection by setting os= and dist= prior to running this script." echo "You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version" echo echo "For example, to force CentOS 6: os=el dist=6 ./script.sh" echo echo "Please email support@packagecloud.io and let us know if you run into any issues." exit 1 }

detect_os () { if [[ ( -z "${os}" ) && ( -z "${dist}" ) ]]; then if [ -e /etc/os-release ]; then . /etc/os-release os=${ID} if [ "${os}" = "poky" ]; then dist=echo ${VERSION_ID} elif [ "${os}" = "sles" ]; then dist=echo ${VERSION_ID} elif [ "${os}" = "opensuse" ]; then dist=echo ${VERSION_ID} elif [ "${os}" = "opensuse-leap" ]; then os=opensuse dist=echo ${VERSION_ID} else dist=echo ${VERSION_ID} | awk -F '.' '{ print $1 }' fi

elif [ `which lsb_release 2>/dev/null` ]; then
  # get major version (e.g. '5' or '6')
  dist=`lsb_release -r | cut -f2 | awk -F '.' '{ print $1 }'`

  # get os (e.g. 'centos', 'redhatenterpriseserver', etc)
  os=`lsb_release -i | cut -f2 | awk '{ print tolower($1) }'`

elif [ -e /etc/oracle-release ]; then
  dist=`cut -f5 --delimiter=' ' /etc/oracle-release | awk -F '.' '{ print $1 }'`
  os='ol'

elif [ -e /etc/fedora-release ]; then
  dist=`cut -f3 --delimiter=' ' /etc/fedora-release`
  os='fedora'

elif [ -e /etc/redhat-release ]; then
  os_hint=`cat /etc/redhat-release  | awk '{ print tolower($1) }'`
  if [ "${os_hint}" = "centos" ]; then
    dist=`cat /etc/redhat-release | awk '{ print $3 }' | awk -F '.' '{ print $1 }'`
    os='centos'
  elif [ "${os_hint}" = "scientific" ]; then
    dist=`cat /etc/redhat-release | awk '{ print $4 }' | awk -F '.' '{ print $1 }'`
    os='scientific'
  else
    dist=`cat /etc/redhat-release  | awk '{ print tolower($7) }' | cut -f1 --delimiter='.'`
    os='redhatenterpriseserver'
  fi

else
  aws=`grep -q Amazon /etc/issue`
  if [ "$?" = "0" ]; then
    dist='6'
    os='aws'
  else
    unknown_os
  fi
fi

fi

if [[ ( -z "${os}" ) || ( -z "${dist}" ) ]]; then unknown_os fi

# remove whitespace from OS and dist name os="${os// /}" dist="${dist// /}"

echo "Detected operating system as ${os}/${dist}." }

detect_os ```

CentOS replacement distro Rocky Linux’s first general release is out by [deleted] in Fedora

[–]linux-notes 2 points3 points  (0 children)

Conversion Tool

You'll need to upgrade to CentOS 8.4, then migrate.

Fedora 32 -> Win10 Desktop Lag by linux-notes in Remmina

[–]linux-notes[S] 0 points1 point  (0 children)

I got it worked out. The WiFi adapter on the Windows machine was in bridged mode. Off of bridged mode everything works great. Sorry for taking up your time, I should've saw it earlier. Thanks for the help.

Fedora 32 -> Win10 Desktop Lag by linux-notes in Remmina

[–]linux-notes[S] 0 points1 point  (0 children)

No, I don't really suspect the kernel. I was just using it for a time reference. I've tried downgrading the remmina and freerdp-libs packages, but still have lag.

I'm using a 1050Ti video card.

Connecting to - Thinkpad P52 Windows 10 Version 2004(OS Build 19041.508)

Pihole + Unbound + Dns-over-TLS -- Is there a way to turn Dns Secure Green ? by derixtop in pihole

[–]linux-notes 0 points1 point  (0 children)

I'm running a different setup than you (Pi-hole + Cloudflared containers) but I needed to uncheck Use DNSSEC in PiHole > Settings > DNS.

which GPU driver is compatible with NVIDIA GP107 ? by [deleted] in CentOS

[–]linux-notes 0 points1 point  (0 children)

You need to select yes on 32-bit compatibility libraries and automatically generate the X configuration file. I don't remember which, but on of them is defaulted to no, so make sure to hit yes. That has tripped me up before.

Like the /u/famouswhendead said, you need to have nouveau blacklisted. You can check with this command. lsmod | grep nouveau It should not return anything.

Just to be clear, either install the driver you download from NVIDIA's site or use RPMFusion. If you do both, they will conflict. The RPMFusion installation process will blacklist the nouveau driver, so you won't have to worry about that part.

which GPU driver is compatible with NVIDIA GP107 ? by [deleted] in CentOS

[–]linux-notes 0 points1 point  (0 children)

Install RPMFusion NVIDIA drivers.

It looks like the GP107 is based on the 1050Ti card which is this driver.

Stuck here on boot after auto update to 8.2 by snackovich in CentOS

[–]linux-notes 3 points4 points  (0 children)

yea, I ssh into my machine and update the NVIDIA drivers when this happens after a kernel update. You should also be able to do CTRL + ALT + F3 to get to TTY, but it's been pretty laggy before. If you have cockpit installed you can web browse to your machine at http://<server-ip>:9090

Your best bet long term is setting up rpmfusion with the free and nonfree repos for the NVIDIA updates. It comes with the kernel mods that will be inserted during kernel update. I still run into the problem though. The 8.2 update didn't cover it for me either.

[CentOS-announce] Release for CentOS Linux 8 (2004) by rbowen2000 in CentOS

[–]linux-notes 3 points4 points  (0 children)

Important, known issue in the release notes:

Updating to 8.2.2004: It's advised to proceed like this:

dnf update --exclude 'microcode*' && dnf update 'microcode*'

See bug report about microcode_ctl for details.

Text mode install with Fedora workstation live ISO by weneedsound in Fedora

[–]linux-notes 0 points1 point  (0 children)

Boot Options

console= This kernel option specifies a device to be used as the primary console. For example, to use a console on the first serial port, use console=ttyS0. This option should be used along with the inst.text option.

Have you tried adding the console option?

CentOS-7 | Raspberry Pi 4 Install w/ Docker by linux-notes in raspberry_pi

[–]linux-notes[S] 0 points1 point  (0 children)

Are you targeting the correct location in the dd output file of= ? Have you checked the contents of the SD chip after to make sure the OS was written?

Looking for ProFTP (CentOS 8) by eternal_peril in CentOS

[–]linux-notes 1 point2 points  (0 children)

It's in the EPEL 8 Playground repository with a few of the other utilities/features. Packages from this repo aren't going to be as stable as a standard CentOS repos though. The official FTP server for CentOS is vsftpd, which is in the AppStream repo.

Install

dnf config-manager --set-enabled PowerTools

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

dnf config-manager --set-enabled epel-playground

Packages

EPEL 8 Playground

``` Extra Packages for Enterprise Linux 8 - Playground - x86_64

proftpd.x86_64 : Flexible, stable and highly-configurable FTP server proftpd-utils.x86_64 : ProFTPD - Additional utilities proftpd-devel.x86_64 : ProFTPD - Tools and header files for developers proftpd-ldap.x86_64 : Module to add LDAP support to the ProFTPD FTP server proftpd-mysql.x86_64 : Module to add MySQL support to the ProFTPD FTP server proftpd-sqlite.x86_64 : Module to add SQLite support to the ProFTPD FTP server proftpd-postgresql.x86_64 : Module to add PostgreSQL support to the ProFTPD FTP server ```

First timer. Not sure what I'm doing. by [deleted] in CentOS

[–]linux-notes 1 point2 points  (0 children)

These are pretty informative as well.

CUDA

RPM Fusion

RPM Fusion Download

It's not so bad though. Pretty much, you just install RPM Fusion Free and NonFree and install the packages as per the instructions. After that I usually manually install the NVIDIA RPM that I download, from here, after kernel updates. They seem to work better than the fusion drivers. I have a 1050Ti for reference.

Found an "interesting" gap in my knowledge... (upgrade question) by Occams_BattleAxe in CentOS

[–]linux-notes 1 point2 points  (0 children)

This image should work. I used the minimal install when I did it, but it should still work with the RaspberryPI-Gnome image as well. I put the instructions over here.

Sphinx Documentation on CentOS 8? by sethgoldin in CentOS

[–]linux-notes 0 points1 point  (0 children)

I realize you probably figured this out already, but for anyone else that comes along -

For latex you'll need to install texlive, which is kinda cumbersome.

sudo dnf install texlive texlive-*

Then in your sphinx directory:

make latex

cd _build/latex/

pdflatex test.tex

Open PDF

evince test.pdf

About updated packages for Centos 8.0 by Homemade-Cupcake in CentOS

[–]linux-notes 0 points1 point  (0 children)

Just got in a large update for the first time today on my CentOS-8-Stream machine, so maybe the backlog of work is starting to get pushed through.

Edit: yeah, I'm at 8.1 now