User Tools

Site Tools


vm:rhel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vm:rhel [2023/02/16 15:54] – created warnaudvm:rhel [2023/02/17 05:40] (current) warnaud
Line 1: Line 1:
 +====== RedHat Enterprise Linux ======
 +version 9.1\\
 +On proxmox\\
 +IP: 192.168.1.68/24\\
 +32GB Disk, 4GB RAM, 2CPUs 2 cores each
  
 +Subtilité : put the "Type of Processor" to **host** or the install will Kernel panic\\
 +
 +Ref:
 +  * https://access.redhat.com/discussions/6959360?tour=8
 +  * https://bugzilla.redhat.com/show_bug.cgi?id=2060839
 +
 +===== post Install =====
 +==== Update ====
 +<code bash> dnf update</code>
 +==== ntp ====
 +<code bash> vi /etc/chrony.conf</code>
 +==== SSH ====
 +
 +On server
 +<code bash> vi /etc/ssh/sshd_config </code>
 +<code perl>
 +PermitRootLogin Yes</code>
 +<code bash> systemctl restart sshd</code>
 +On client
 +<code bash>ssh-copy-id rhel.fortier-family.com</code>
 +On server
 +<code bash> vi /etc/ssh/sshd_config </code>
 +<code perl>
 +PermitRootLogin prohibit-password</code>
 +<code bash> systemctl restart sshd</code>
 +==== IPv6 ====
 +<code bash> sysctl -w net.ipv6.conf.all.disable_ipv6=1 && sysctl -w net.ipv6.conf.default.disable_ipv6=1 && sysctl -w net.ipv6.conf.lo.disable_ipv6=1</code>
 +==== EPEL ====
 +<code bash>
 +dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm</code>
 +==== Extra packages ====
 +<code bash>
 +dnf install -y lsof htop</code>