build_an_alma-9_box_for_development
This is an old revision of the document!
Build an Alma-9 box for Development
This is, of course a VM, in this case under esxi.
- Define a new machine with 8 CPU / 4 GB RAM / 100 GB drive space.
- Initially, set up the network on the Management Network, use BIOS boot, add a few seconds delay.
- Mount the Alma-9 .iso file, and power on the VM
- After the .iso boots, skip the disk check, go into 'Install AlmaLinux 9'
- Don't change anything in the package list, stay with 'Minimal Install'
-
- Remove the 'Home' partition, enlarge 'Swap' to 8 GiB 1), 'Boot' to 2 GiB, and 'Root' to 90 GiB.
- Log in as root at the console, don't lose that password yet!
- Update to current with
yum update echo "PermitRootLogin yes" > /etc/ssh/sshd_config.d/01-permitrootlogin.conf systemctl restart sshd # And just to be safe; reboot
- On the Server Oxygen (Chef Server), run;
* knife bootstrap 10.0.5.229 -U root -N <hostname> Connecting to 10.0.5.229 WARNING: Failed to authenticate root to 10.0.5.229 - trying password auth Enter password for root@10.0.5.229. # And type the password
[root@oxygen chefnew]# knife bootstrap 10.0.5.229 -U root -N cndevndt-rtp09
Connecting to 10.0.5.229
WARNING: Failed to authenticate root to 10.0.5.229 - trying password auth
Enter password for root@10.0.5.229.
Connecting to 10.0.5.229
The authenticity of host '10.0.5.229 ()' can't be established.
fingerprint is SHA256:CsGyiUFq4pE5M8SKCy9qyyu/XnUNsl72abD2Wao0rLw.
Are you sure you want to continue connecting
? (Y/N) y
Connecting to 10.0.5.229
Creating new client for cndevndt-rtp09
Creating new node for cndevndt-rtp09
Bootstrapping 10.0.5.229
[10.0.5.229] -----> Installing Chef Omnibus (stable/15)
[10.0.5.229] downloading https://chef.io/chef/install.sh
to file /tmp/install.sh.2285/install.sh
[10.0.5.229] trying curl...
[10.0.5.229] el 9 x86_64
[10.0.5.229] Getting information for chef stable 15 for el...
[10.0.5.229] downloading https://omnitruck.chef.io/stable/chef/metadata?v=15&p=el&pv=9&m=x86_64
to file /tmp/install.sh.2315/metadata.txt
[10.0.5.229] trying curl...
[10.0.5.229] sha1 9e066d888611971a1dceb7c3eaf0375a6c61ebd0
sha256 0aaf56d149bdddc73b501322777ac378e2ffb63aa6eb714d93b16714e166e4f0
url https://packages.chef.io/files/stable/chef/15.17.4/el/8/chef-15.17.4-1.el7.x86_64.rpm
version 15.17.4
[10.0.5.229]
[10.0.5.229] downloaded metadata file looks valid...
[10.0.5.229] downloading https://packages.chef.io/files/stable/chef/15.17.4/el/8/chef-15.17.4-1.el7.x86_64.rpm
to file /tmp/install.sh.2315/chef-15.17.4-1.el7.x86_64.rpm
[10.0.5.229] trying curl...
[10.0.5.229] Comparing checksum with sha256sum...
[10.0.5.229] Installing chef 15
installing with rpm...
[10.0.5.229] warning: /tmp/install.sh.2315/chef-15.17.4-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
[10.0.5.229] Verifying...
[10.0.5.229] ########################################
[10.0.5.229] Preparing...
[10.0.5.229] ########################################
[10.0.5.229] Updating / installing...
chef-15.17.4-1.el7
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] #
[10.0.5.229] Thank you for installing Chef Infra Client! For help getting started visit https://learn.chef.io
[10.0.5.229] Starting the first Chef Infra Client Client run...
[10.0.5.229] /opt/chef/embedded/bin/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
ERROR: The following error occurred on 10.0.5.229:
ERROR: warning: /tmp/install.sh.2315/chef-15.17.4-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
/opt/chef/embedded/bin/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
[root@oxygen chefnew]#
Connecting to 10.0.5.229 The authenticity of host '10.0.5.229 ()' can't be established. fingerprint is SHA256:CsGyiUFq4pE5M8SKCy9qyyu/XnUNsl72abD2Wao0rLw.
Are you sure you want to continue connecting ? (Y/N) y Connecting to 10.0.5.229
1)
Twice whatever RAM is, to a max of 8 GiB, unless there is a specific need otherwise
build_an_alma-9_box_for_development.1688417404.txt.gz · Last modified: by steve









