$represents a priveleged command prompt. Do not copy/type it with below commands.
#represents an unpriveleged command prompt. Do not copy/type it with below commands.
~is like an alias for the current user's home directory
.sshdirectory in the home directory of the user with which you will be logging in
# mkdir ~/.ssh
~/.sshis owned by the correct username and groupname
# ll ~
# chmod 0700 ~/.ssh
# touch ~/.ssh/authorized_keys
~/.ssh/authorized_keysis owned by the correct username and groupname
# ll ~/.ssh
# chmod 0600 ~/.ssh/authorized_keys
enforcingmode, you need to set the correct context for
$ restorecon -R -v ~/.ssh
...Maybe, but likely not. With good reason. It's surprisingly difficult.
You have to take a step back and think about drive space in general.
How big is your drive? 100GB you say? Is that 100gigabytes(GB) or 100gibibytes(GiB)
I personally struggle with this on a daily basis. I learned it the wrong way and never looked back...
until I started trying to create a dynamically partiitioned kickstart script for an ISO, that is.
bit(b) The most basic unit of information for classic computing; a binary digit; a representation of a '1' or a '0'; 'On' or 'Off'
byte(B) Essentially, 8 bits(b)
kilobyte(kB) ...Ah, here is where my foundation begins to crumble. A kilobyte(kB)(Note: the 'k' is lower case) is actually a Decimal system unit of 1,000 bytes(B). You might think, "uhhh, no it isn't, it's 1,024 bytes(B)". You and I would both were taught incorrectly then. A kilobyte is also 8,000 bits(b)
kibibyte(KiB) This is the Binary system unit of 1,024 bytes(B); or 8,192 bits
megabyte(MB) ...again, not what I had originally thought. A megabyte(MB) is the Decimal system unit of 1,000 kilobytes(kB), or 1,000,000 bytes(B), or 8,000,000 bits(b)
mebibyte(MiB) This is the Binary system unit of 1,024 kibibytes(KiB), or 1,048,576 bytes(B), or 8,388,608 bits(b)
gigabyte(GB) A gigabyte(GB) is the Decimal system unit of 1,000 megabytes(MB), or 1,000,000 kilobytes(kB), or 1,000,000,000 bytes(B), or 8,000,000,000 bits(b)
gibibyte(GiB) This is the Binary system unit of 1,024 mebibytes(MiB), or 1,048,576 kibibytes(KiB), or 1,073,741,824 bytes(B), or 8,589,934,592 bits(b)
I think the biggest source of confusion in this, is the standards bodies. They all disagree, constantly. At least one of the bodies, JEDEC, uses the same unit notation in Binary, as Decimal uses. so a 1,000 Byte (kilobyte) = 1,024 Byte JEDEC (kilobyte). Talk about making it difficult to keep it straight. Wikipedia has an interesting chart on this as well as links to a couple of the standards' pages.
In kicstart configuration files, you usually manually specify a partitions size in MB on one line.
We've all been there. We've even thought about going back to Web1.0, cause it loads super fast.