djflux / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

Modify getmeza.sh to install on Rocky Linux and RHEL 8.x #1

Closed djflux closed 2 years ago

djflux commented 2 years ago

Environment

Issue details

Start the process of updating Meza to run on RHEL and Rocky Linux 8.x.

Commit 86ef6b3 adds support for Rocky Linux. Tested on Rocky 8.6.

djflux commented 2 years ago

Still need to check on RHEL/CentOS 7.x and RHEL 8.x before closing this one.

djflux commented 2 years ago

Done!

Fixed. Commit 336c3c9 can be used to install a Demo Wiki from scratch on Rocky Linux 8.6.

Kickstart file used

lang en_US
keyboard us
timezone America/Chicago --isUtc
rootpw INSERT_YOUR_CRYPTED_PASSWORD_HERE --iscrypted
#platform x86_64
reboot
text
url --url=https://ord.mirror.rackspace.com/rocky/8/BaseOS/x86_64/os
bootloader --append="rhgb quiet crashkernel=auto"
zerombr
clearpart --all --initlabel
autopart
auth --passalgo=sha512 --useshadow
selinux --enforcing
firewall --enabled --http --ssh
skipx
firstboot --disable
%packages
@^minimal-environment
@network-tools
git
vim-enhanced
net-tools
%end

%post --nochroot --log=/mnt/sysimage/var/log/ks-post.log
cat >> /mnt/sysimage/etc/profile.d/fluxstuff.sh << EOF
alias dir='ls --color -la | more'
alias vi=vim

export PS1="[\u@\h \w]\\\\$ "
EOF
%end