{"id":16366353,"url":"https://github.com/centminmod/centminmod-centos7-elevate","last_synced_at":"2025-06-29T15:06:10.641Z","repository":{"id":246086890,"uuid":"820052411","full_name":"centminmod/centminmod-centos7-elevate","owner":"centminmod","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-29T20:48:18.000Z","size":579,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T00:55:11.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/centminmod.png","metadata":{"files":{"readme":"readme-el9.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-25T17:46:25.000Z","updated_at":"2024-08-29T20:48:21.000Z","dependencies_parsed_at":"2024-08-29T22:48:12.574Z","dependency_job_id":null,"html_url":"https://github.com/centminmod/centminmod-centos7-elevate","commit_stats":null,"previous_names":["centminmod/centminmod-centos7-elevate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/centminmod/centminmod-centos7-elevate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fcentminmod-centos7-elevate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fcentminmod-centos7-elevate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fcentminmod-centos7-elevate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fcentminmod-centos7-elevate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/centminmod","download_url":"https://codeload.github.com/centminmod/centminmod-centos7-elevate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centminmod%2Fcentminmod-centos7-elevate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262614456,"owners_count":23337277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T02:46:08.470Z","updated_at":"2025-06-29T15:06:10.589Z","avatar_url":"https://github.com/centminmod.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Centmin Mod based CentOS 7 in-place migration upgrade from [AlmaLinux 8 then to AlmaLinux 9 via AlmaLinux Elevate](https://wiki.almalinux.org/elevate/ELevating-CentOS7-to-AlmaLinux-9.html#migrating-almalinux-8-to-almalinux-9). Do not use on production live servers. Test on a test server first. This is just alpha testing. \n\n**Notes:**\n\n1. EL9+ memory requirements are higher for operating system itself. So paired with Centmin Mod LEMP stack usage, recommended 4GB memory + 4GB swap disk for EL8+. So do not attempt CentOS 7 in-place migration upgrade from AlmaLinux 8 then to AlmaLinux 9 if you have less than 4GB memory + 4GB swap disk.\n   ```\n    free -mlt\n                  total        used        free      shared  buff/cache   available\n    Mem:           3664         766         977           2        1919        2615\n    Low:           3664        2686         977\n    High:             0           0           0\n    Swap:          4095           4        4091\n    Total:         7760         770        5069\n   ```\n2. There are 3 parts to the CentOS 7 in-place migration upgrade from AlmaLinux 8 then to AlmaLinux 9 outlined below. Please do a full data backup for your Nginx vhost sites + MariaDB MySQL databases before attempting the below in-place migration steps from AlmaLinux 8 then to AlmaLinux 9.\n\n# Part 1 - Install AlmaLinux Elevate \u0026 Reboot Server\n\nOn Centmin Mod AlmaLinux 8 that was [just migrated to from CentOS 7 installed server](https://github.com/centminmod/centminmod-centos7-elevate) run the following commands.\n\n\n## Update Centmin Mod System\n\nRebooting server is necessary - especially if you have yum package updates that require a reboot i.e. Kernel updates.\n\n```\ncmupdate\nyum update -y\nreboot\n```\n\n## Install and prep Almalinux Elevate\n\n```\n# backup pure-ftpd files\nmkdir -p /root/tools/pureftpd-el9\ncp -a /etc/pure-ftpd/pure-ftpd.conf /root/tools/pureftpd-el9/pure-ftpd.conf\ncp -a /etc/pure-ftpd/pureftpd.passwd /root/tools/pureftpd-el9/pureftpd.passwd\ncp -a /etc/pure-ftpd/pureftpd.pdb /root/tools/pureftpd-el9/pureftpd.pdb\n\n# remove versionlocks\nyum versionlock delete ImageMagick ImageMagick-devel ImageMagick-c++ ImageMagick-c++-devel ImageMagick-libs LibRaw ImageMagick-djvu\n\nyum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el$(rpm --eval %rhel).noarch.rpm\nsed -i '/exclude=/d' /etc/yum.conf\nsed -i '/exclude=/d' /etc/dnf/dnf.conf\nyum install -y leapp-upgrade leapp-data-almalinux\nrpm -e percona-release\nleapp preupgrade\n# inspect /var/log/leapp/answerfile\ncat /var/log/leapp/answerfile\nyum -y remove make-devel\nleapp upgrade\necho \"rebooting server...\"\nreboot\n```\n\nAn example of the output from `leapp upgrade` and reboot process console output can be seen [here](https://github.com/centminmod/centminmod-centos7-elevate/blob/master/el8-el9-leapp-upgrade-console.md)\n\n# Part 2 - Prep AlmaLinux 9\n\n```\nyum-config-manager --enable crb\nalternatives --set python /usr/bin/python3\nrm -rf /etc/yum.repos.d/epel.repo\nrm -rf /etc/yum.repos.d/epel-testing.repo\nyum -y reinstall epel-release\nyum -y reinstall bash-completion perl-FindBin perl-diagnostics libc-client libc-client-devel systemd-libs open-sans-fonts libidn2-devel libpsl-devel gpgme-devel gnutls-devel virt-what acl libacl-devel attr libattr-devel lz4-devel gawk unzip libuuid-devel sqlite-devel bc wget lynx screen ca-certificates yum-utils bash mlocate subversion rsyslog dos2unix boost-program-options net-tools imake bind-utils libatomic_ops-devel time coreutils autoconf cronie crontabs cronie-anacron gcc gcc-c++ automake libtool make libXext-devel unzip patch sysstat openssh flex bison file libtool-ltdl-devel krb5-devel libXpm-devel nano gmp-devel aspell-devel numactl lsof pkgconfig gdbm-devel tk-devel bluez-libs-devel iptables* rrdtool diffutils which perl-Math-BigInt perl-Test-Simple perl-ExtUtils-Embed perl-ExtUtils-MakeMaker perl-Time-HiRes perl-libwww-perl perl-Net-SSLeay cyrus-imapd cyrus-sasl-md5 cyrus-sasl-plain strace cmake git net-snmp-libs net-snmp-utils iotop libvpx libvpx-devel t1lib t1lib-devel expect readline readline-devel libedit libedit-devel libxslt libxslt-devel openssl openssl-devel curl curl-devel openldap openldap-devel zlib zlib-devel gd gd-devel pcre pcre-devel gettext gettext-devel libidn libidn-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel e2fsprogs e2fsprogs-devel libc-client libc-client-devel cyrus-sasl cyrus-sasl-devel pam pam-devel libaio libaio-devel libevent libevent-devel recode recode-devel libtidy libtidy-devel net-snmp net-snmp-devel enchant enchant-devel lua lua-devel mailx perl-LWP-Protocol-https OpenEXR-devel OpenEXR-libs atk cups-libs fftw-libs-double fribidi gdk-pixbuf2 ghostscript-devel gl-manpages graphviz gtk2 hicolor-icon-theme ilmbase ilmbase-devel jasper-devel jasper-libs jbigkit-devel jbigkit-libs lcms2 lcms2-devel libICE-devel libSM-devel libXaw libXcomposite libXcursor libXdamage-devel libXfixes-devel libXi libXinerama libXmu libXrandr libXt-devel libXxf86vm-devel libdrm-devel libfontenc librsvg2 libtiff libtiff-devel libwebp libwebp-devel libwmf-lite mesa-libGL-devel mesa-libGLU mesa-libGLU-devel poppler-data urw-fonts xorg-x11-font-utils --skip-broken\nyum -y install screen checksec systemd-libs xxhash-devel libzstd xxhash libzstd-devel datamash qrencode jq clang clang-devel jemalloc jemalloc-devel zstd python2-pip libmcrypt libmcrypt-devel libraqm oniguruma5php oniguruma5php-devel figlet moreutils nghttp2 libnghttp2 libnghttp2-devel pngquant optipng jpegoptim pwgen pigz pbzip2 xz pxz lz4 bash-completion mlocate re2c kernel-headers kernel-devel --skip-broken\nyum -y module disable nginx mariadb php\nsystemctl restart NetworkManager\nsystemctl status NetworkManager --no-pager\n\nex -s /etc/yum.repos.d/epel.repo \u003c\u003c EOF\n:/\\[epel\\]/ , /gpgkey/\n:a\npriority=3\nexclude=ImageMagick*\n.\n:w\n:q\nEOF\n```\n\n# Part 3 - Prep Centmin Mod for AlmaLinux 9\n\n```\nCCACHE_VER=\"3.7.12\"\nDIR_TMP=/svr-setup\nCCCACHELINK=\"https://centminmod.com/centminmodparts/ccache/ccache-${CCACHE_VER}.tar.gz\"\nwget -O \"${DIR_TMP}/ccache-${CCACHE_VER}.tar.gz\" \"$CCCACHELINK\"\ncd ${DIR_TMP}\ntar -xzf \"ccache-${CCACHE_VER}.tar.gz\"\ncd ccache-${CCACHE_VER}\nmake clean -s\n./configure\nmake -j$(nproc) -s\nmake install -s\nccache -V\n\ncd /usr/local/src\nmv centminmod centminmod.old\ngit clone -b 140.00beta01 --depth=1 https://github.com/centminmod/centminmod centminmod\ncat /etc/centminmod/custom_config.inc\necho \"CENTOS_ALPHATEST='y'\" \u003e /etc/centminmod/custom_config.inc\necho \"SELFSIGNEDSSL_ECDSA='y'\" \u003e\u003e /etc/centminmod/custom_config.inc\necho \"PHPFINFO='y'\" \u003e\u003e /etc/centminmod/custom_config.inc\necho \"PHP_OVERWRITECONF='n'\" \u003e\u003e /etc/centminmod/custom_config.inc\necho \"OPENSSL_SYSTEM_USE='y'\" \u003e\u003e /etc/centminmod/custom_config.inc\necho \"NGINX_GEOIPTWOLITE='y'\" \u003e\u003e /etc/centminmod/custom_config.inc\necho \"NGXDYNAMIC_GEOIPTWOLITE='y'\" \u003e\u003e /etc/centminmod/custom_config.inc\ncat /etc/centminmod/custom_config.inc\ncd /usr/local/src/centminmod\n\necho \"1\" \u003e /etc/centminmod/email-primary.ini\necho \"2\" \u003e /etc/centminmod/email-secondary.ini\n# reinstall pcre\n/usr/local/src/centminmod/addons/wget.sh install\n# reinstall custom wget and any centmin mod configured auto applied and installed settings/packages\necho 24 | /usr/local/src/centminmod/centmin.sh\n\nwget -O centmin-option-4.sh https://github.com/centminmod/centminmod-centos7-elevate/raw/master/scripts/centmin-option-4.sh\nwget -O centmin-option-5.sh https://github.com/centminmod/centminmod-centos7-elevate/raw/master/scripts/centmin-option-5.sh\nwget -O centmin-option-10.sh https://github.com/centminmod/centminmod-centos7-elevate/raw/master/scripts/centmin-option-10.sh\nwget -O centmin-option-15.sh https://github.com/centminmod/centminmod-centos7-elevate/raw/master/scripts/centmin-option-15.sh\n\nchmod +x centmin-option-4.sh centmin-option-5.sh centmin-option-10.sh centmin-option-15.sh\n\n# reinstall Nginx\nyum -y install GeoIP GeoIP-devel bash-completion jemalloc-devel --enablerepo=remi\n/usr/local/src/centminmod/tools/geoipdb-update.sh\n/usr/local/src/centminmod/tools/geoip2db-update.sh\ncmupdate\n./centmin-option-4.sh\n\n# create a mariadb 10.6 el8/el9 reinstall\n# install mariadb 10.6 version to centos 7 for compatibility first\nMDB_MIRROR_BASEURL='https://mirror.rackspace.com/mariadb/yum'\nMDB_REPOMD_URL=\"${MDB_MIRROR_BASEURL}/${MDB_REPO_DIR}/repodata/repomd.xml\"\n# fallback check of repomd.xml\ncurl -s \"$MDB_REPOMD_URL\" -o repomd.xml\nMDB_REPOMD_URL_CHECK=$(xmllint --format repomd.xml \u003e/dev/null 2\u003e\u00261 ; echo $?)\nrm -f repomd.xml\nif [[ \"$MDB_REPOMD_URL_CHECK\" -ne '0' ]]; then\n    MDB_MIRROR_BASEURL='https://yum.mariadb.org'\nfi\necho \"rpm --import ${MDB_MIRROR_BASEURL}/RPM-GPG-KEY-MariaDB\"\nrpm --import \"${MDB_MIRROR_BASEURL}/RPM-GPG-KEY-MariaDB\"\n# https://mariadb.com/kb/en/gpg/#rpm-source-key-pre-2023\necho \"rpm --import https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY\"\nrpm --import https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY\n\ncat \u003e \"/etc/yum.repos.d/mariadb.repo\" \u003c\u003cEOF\n[mariadb]\nname = MariaDB\nbaseurl = ${MDB_MIRROR_BASEURL}/10.6/rhel9-amd64\nmodule_hotfixes=1\ngpgkey=${MDB_MIRROR_BASEURL}/RPM-GPG-KEY-MariaDB\ngpgcheck=1\nEOF\n\ncat /etc/yum.repos.d/mariadb.repo\n\nyum -y install MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared\n\ncp -a /etc/my.cnf /etc/my.cnf-newold-elevated-el9\n\nsystemctl start mariadb\nsystemctl status mariadb --no-pager\nsystemctl enable mariadb\nmysql_upgrade --force\n\necho \"------------------------------------------------\"\necho \"Installing MariaDB 10 plugins\"\necho \"------------------------------------------------\"\necho \"mysql -e \\\"INSTALL SONAME 'metadata_lock_info';\\\"\"\nmysql -e \"INSTALL SONAME 'metadata_lock_info';\"\necho \"mysql -e \\\"INSTALL SONAME 'query_cache_info';\\\"\"\nmysql -e \"INSTALL SONAME 'query_cache_info';\"\necho \"mysql -e \\\"INSTALL SONAME 'query_response_time';\\\"\"\nmysql -e \"INSTALL SONAME 'query_response_time';\"\necho \"mysql -t -e \\\"SELECT * FROM mysql.plugin;\\\"\"\nmysql -t -e \"SELECT * FROM mysql.plugin;\"\necho \"mysql -t -e \\\"SHOW PLUGINS;\\\"\"\nmysql -t -e \"SHOW PLUGINS;\"\necho \"mysql -t -e \\\"SHOW ENGINES;\\\"\"\nmysql -t -e \"SHOW ENGINES;\"\n\n# Remi YUM repo resetup\nrm -rf /etc/yum.repos.d/remi*\nrpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi2018\nrpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi2019\nrpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi2020\nrpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi2021\nrpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi2022\nrpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi2023\nyum -y install https://rpms.remirepo.net/enterprise/remi-release-9.rpm\nsed -i 's|repo_gpgcheck=1|repo_gpgcheck=0|g' /etc/yum.repos.d/remi*.repo\nyum clean all\nyum makecache\ngrep repo_gpgcheck /etc/yum.repos.d/remi*.repo\nyum -y module disable composer\nyum -y module reset redis\nyum -y module enable redis:remi-7.2\nyum -y install libc-client uw-imap-devel --enablerepo=remi,remi-safe\n\n# Percona YUM repo resetup\nrm -rf /etc/yum.repos.d/percona-*\nyum -y install https://repo.percona.com/yum/percona-release-latest.noarch.rpm\npercona-release show\npercona-release disable all\npercona-release enable tools\n\n# re-install redis server\n/usr/local/src/centminmod/addons/redis-server-install.sh install\nredis-cli info server\n\n# re-install php-fpm\nyum -y install libtidy-devel libraqm-devel\nyum -y reinstall ImageMagick ImageMagick-devel ImageMagick-c++ ImageMagick-c++-devel ImageMagick-libs LibRaw --enablerepo=remi --disableplugin=priorities,versionlock -x ImageMagick7* --disablerepo=base\n./centmin-option-15.sh\n./centmin-option-5.sh\n\n# re-install memcached server\n./centmin-option-10.sh\nsystemctl restart memcached\nchkconfig memcached on\n\n# create a pure-ftpd el8/el9 reinstall\nyum -y install pure-ftpd\n\n\\cp -af /etc/pure-ftpd/pure-ftpd.conf /etc/pure-ftpd/pure-ftpd.conf-old-el8\n\\cp -af /root/tools/pureftpd-el9/pure-ftpd.conf /etc/pure-ftpd/pure-ftpd.conf\n\\cp -af /root/tools/pureftpd-el9/pureftpd.passwd /etc/pure-ftpd/pureftpd.passwd\n\\cp -af /root/tools/pureftpd-el9/pureftpd.pdb /etc/pure-ftpd/pureftpd.pdb\nchmod 0600 /etc/pure-ftpd/pureftpd.passwd\npure-pw mkdb\n\nsed -i '/UseFtpUsers/d' /etc/pure-ftpd/pure-ftpd.conf\n\nsed -i 's/# UnixAuthentication  /UnixAuthentication  /' /etc/pure-ftpd/pure-ftpd.conf\nsed -i 's/VerboseLog .*/VerboseLog yes/' /etc/pure-ftpd/pure-ftpd.conf\nsed -i 's/# PureDB                       \\@sysconfigdir\\@\\/pureftpd.pdb/PureDB                        \\/etc\\/pure-ftpd\\/pureftpd.pdb/' /etc/pure-ftpd/pure-ftpd.conf\n\nsed -i 's/# CreateHomeDir .*/CreateHomeDir               yes/' /etc/pure-ftpd/pure-ftpd.conf\nsed -i 's/# TLS .*/TLS                      2/' /etc/pure-ftpd/pure-ftpd.conf\nsed -i 's/# PassivePortRange .*/PassivePortRange    30001 50011/' /etc/pure-ftpd/pure-ftpd.conf\nsed -i 's/^PassivePortRange    3000 3050/PassivePortRange    30001 50011/' /etc/pure-ftpd/pure-ftpd.conf\nsed -i 's|MaxClientsNumber .*|MaxClientsNumber            1000|' /etc/pure-ftpd/pure-ftpd.conf\nsed -i 's|MaxClientsPerIP .*|MaxClientsPerIP             500|' /etc/pure-ftpd/pure-ftpd.conf\nsed -i 's|NoAnonymous .*|NoAnonymous                 yes|' /etc/pure-ftpd/pure-ftpd.conf\n\n# fix default file/directory permissions\nsed -i 's/Umask .*/Umask                       137:027/' /etc/pure-ftpd/pure-ftpd.conf\n\nif [[ \"$(grep 'TLSCipherSuite' /etc/pure-ftpd/pure-ftpd.conf | grep -o HIGH)\" != 'HIGH' ]]; then\n  # echo 'TLSCipherSuite           HIGH:MEDIUM:+TLSv1:!SSLv2:!SSLv3' \u003e\u003e /etc/pure-ftpd/pure-ftpd.conf\n  sed -i 's|# TLSCipherSuite .*|TLSCipherSuite               HIGH|' /etc/pure-ftpd/pure-ftpd.conf\nfi\n\nmkdir -p /etc/ssl/private\n# time openssl dhparam -out /etc/ssl/private/pure-ftpd-dhparams.pem 2048\nCNIP=$(curl -s -A \"el9 elevated pure-ftpd\" https://geoip.centminmod.com/v4 | jq -r '.ip')\nopenssl req -x509 -days 7300 -sha256 -nodes -subj \"/C=US/ST=California/L=Los Angeles/O=Default Company Ltd/CN=$CNIP\" -newkey rsa:2048 -keyout /etc/pki/pure-ftpd/pure-ftpd.pem -out /etc/pki/pure-ftpd/pure-ftpd.pem\nchmod 600 /etc/pki/pure-ftpd/*.pem\nopenssl x509 -in /etc/pki/pure-ftpd/pure-ftpd.pem -text -noout\necho \nls -lah /etc/pki/pure-ftpd\n\nmkdir -p /etc/systemd/system/pure-ftpd.service.d\necho '[Service]' \u003e /etc/systemd/system/pure-ftpd.service.d/pidfile.conf\necho 'PIDFile=/run/pure-ftpd.pid' \u003e\u003e /etc/systemd/system/pure-ftpd.service.d/pidfile.conf\n\nsystemctl daemon-reload\nsystemctl restart pure-ftpd\nsystemctl enable pure-ftpd\nsystemctl status pure-ftpd --no-pager\n\n# haveged\nyum -y install haveged rng-tools\nmkdir -p /etc/systemd/system/haveged.service.d\ncat \u003e \"/etc/systemd/system/haveged.service.d/haveged.conf\" \u003c\u003cEFF\n[Service]\nExecStart=\nExecStart=/usr/sbin/haveged -w 4067 -v 1 --Foreground\nEFF\nsystemctl daemon-reload\nsystemctl enable haveged\nsystemctl restart haveged\n\n# remove left over el9 and elevate/leapp packages\nrpm -e --nodeps $(rpm -qa | egrep 'el9|elevate|leapp' | sort |xargs)\nsudo rm -rf /root/tmp_leapp_py3\nsed -i '/exclude=/d' /etc/yum.conf\nsed -i '/exclude=/d' /etc/dnf/dnf.conf\nrm -rf /opt/rh/devtoolset*\n\n# yum update\nyum -y update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi\n```\n\nAlmaLinux 8 to AlmaLinux 9 via AlmaLinux Elevate is work in progress so not 100% tested right now.\n\n# Centmin Mod LEMP Stack On AlmaLinux 9 Elevated\n\n```\ncat /etc/redhat-release \nAlmaLinux release 9.4 (Seafoam Ocelot)\n```\n```\ncat /etc/os-release\nNAME=\"AlmaLinux\"\nVERSION=\"9.4 (Seafoam Ocelot)\"\nID=\"almalinux\"\nID_LIKE=\"rhel centos fedora\"\nVERSION_ID=\"9.4\"\nPLATFORM_ID=\"platform:el9\"\nPRETTY_NAME=\"AlmaLinux 9.4 (Seafoam Ocelot)\"\nANSI_COLOR=\"0;34\"\nLOGO=\"fedora-logo-icon\"\nCPE_NAME=\"cpe:/o:almalinux:almalinux:9::baseos\"\nHOME_URL=\"https://almalinux.org/\"\nDOCUMENTATION_URL=\"https://wiki.almalinux.org/\"\nBUG_REPORT_URL=\"https://bugs.almalinux.org/\"\n\nALMALINUX_MANTISBT_PROJECT=\"AlmaLinux-9\"\nALMALINUX_MANTISBT_PROJECT_VERSION=\"9.4\"\nREDHAT_SUPPORT_PRODUCT=\"AlmaLinux\"\nREDHAT_SUPPORT_PRODUCT_VERSION=\"9.4\"\nSUPPORT_END=2032-06-01\n```\n\n```\nyum repolist all\nrepo id                                     repo name                                                                                    status\nappstream                                   AlmaLinux 9 - AppStream                                                                      enabled\nappstream-debuginfo                         AlmaLinux 9 - AppStream - Debug                                                              disabled\nappstream-source                            AlmaLinux 9 - AppStream - Source                                                             disabled\nbackports-rsync                             AlmaLinux 9 Backports - rsync                                                                enabled\nbaseos                                      AlmaLinux 9 - BaseOS                                                                         enabled\nbaseos-debuginfo                            AlmaLinux 9 - BaseOS - Debug                                                                 disabled\nbaseos-source                               AlmaLinux 9 - BaseOS - Source                                                                disabled\ncrb                                         AlmaLinux 9 - CRB                                                                            enabled\ncrb-debuginfo                               AlmaLinux 9 - CRB - Debug                                                                    disabled\ncrb-source                                  AlmaLinux 9 - CRB - Source                                                                   disabled\nepel                                        Extra Packages for Enterprise Linux 9 - x86_64                                               enabled\nepel-cisco-openh264                         Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64                         enabled\nepel-cisco-openh264-debuginfo               Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 - Debug                 disabled\nepel-cisco-openh264-source                  Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 - Source                disabled\nepel-debuginfo                              Extra Packages for Enterprise Linux 9 - x86_64 - Debug                                       disabled\nepel-source                                 Extra Packages for Enterprise Linux 9 - x86_64 - Source                                      disabled\nepel-testing                                Extra Packages for Enterprise Linux 9 - Testing - x86_64                                     disabled\nepel-testing-debuginfo                      Extra Packages for Enterprise Linux 9 - Testing - x86_64 - Debug                             disabled\nepel-testing-source                         Extra Packages for Enterprise Linux 9 - Testing - x86_64 - Source                            disabled\nextras                                      AlmaLinux 9 - Extras                                                                         enabled\nextras-debuginfo                            AlmaLinux 9 - Extras - Debug                                                                 disabled\nextras-source                               AlmaLinux 9 - Extras - Source                                                                disabled\nhighavailability                            AlmaLinux 9 - HighAvailability                                                               disabled\nhighavailability-debuginfo                  AlmaLinux 9 - HighAvailability - Debug                                                       disabled\nhighavailability-source                     AlmaLinux 9 - HighAvailability - Source                                                      disabled\nmariadb                                     MariaDB                                                                                      enabled\nnfv                                         AlmaLinux 9 - NFV                                                                            disabled\nnfv-debuginfo                               AlmaLinux 9 - NFV - Debug                                                                    disabled\nnfv-source                                  AlmaLinux 9 - NFV - Source                                                                   disabled\nplus                                        AlmaLinux 9 - Plus                                                                           disabled\nplus-debuginfo                              AlmaLinux 9 - Plus - Debug                                                                   disabled\nplus-source                                 AlmaLinux 9 - Plus - Source                                                                  disabled\nprel-release-noarch                         Percona Release release/noarch YUM repository                                                enabled\nremi                                        Remi's RPM repository for Enterprise Linux 9 - x86_64                                        disabled\nremi-debuginfo                              Remi's RPM repository for Enterprise Linux 9 - x86_64 - debuginfo                            disabled\nremi-modular                                Remi's Modular repository for Enterprise Linux 9 - x86_64                                    enabled\nremi-modular-debuginfo                      Remi's Modular repository for Enterprise Linux 9 - x86_64 - debuginfo                        disabled\nremi-modular-test                           Remi's Modular testing repository for Enterprise Linux 9 - x86_64                            disabled\nremi-modular-test-debuginfo                 Remi's Modular testing repository for Enterprise Linux 9 - x86_64 - debuginfo                disabled\nremi-safe                                   Safe Remi's RPM repository for Enterprise Linux 9 - x86_64                                   disabled\nremi-safe-debuginfo                         Remi's RPM repository for Enterprise Linux 9 - x86_64 - debuginfo                            disabled\nremi-test                                   Remi's test RPM repository for Enterprise Linux 9 - x86_64                                   disabled\nremi-test-debuginfo                         Remi's test RPM repository for Enterprise Linux 9 - x86_64 - debuginfo                       disabled\nresilientstorage                            AlmaLinux 9 - ResilientStorage                                                               disabled\nresilientstorage-debuginfo                  AlmaLinux 9 - ResilientStorage - Debug                                                       disabled\nresilientstorage-source                     AlmaLinux 9 - ResilientStorage - Source                                                      disabled\nrt                                          AlmaLinux 9 - RT                                                                             disabled\nrt-debuginfo                                AlmaLinux 9 - RT - Debug                                                                     disabled\nrt-source                                   AlmaLinux 9 - RT - Source                                                                    disabled\nsap                                         AlmaLinux 9 - SAP                                                                            disabled\nsap-debuginfo                               AlmaLinux 9 - SAP - Debug                                                                    disabled\nsap-source                                  AlmaLinux 9 - SAP - Source                                                                   disabled\nsaphana                                     AlmaLinux 9 - SAPHANA                                                                        disabled\nsaphana-debuginfo                           AlmaLinux 9 - SAPHANA - Debug                                                                disabled\nsaphana-source                              AlmaLinux 9 - SAPHANA - Source                                                               disabled\ntools-release-sources                       Percona Tools release/sources YUM repository                                                 disabled\ntools-release-x86_64                        Percona Tools release/x86_64 YUM repository                                                  enabled\n```\n\n```\nnginx -V\nnginx version: nginx/1.27.0 (260624-063334-almalinux9-kvm-ed365ca)\nbuilt by gcc 13.2.1 20231205 (Red Hat 13.2.1-6) (GCC) \nbuilt with OpenSSL 3.0.7 1 Nov 2022\nTLS SNI support enabled\n```\n\u003e configure arguments: --with-ld-opt='-Wl,-E -L/usr/local/zlib-cf/lib -L/usr/local/nginx-dep/lib -ljemalloc -Wl,-z,relro,-z,now -Wl,-rpath,/usr/local/zlib-cf/lib:/usr/local/nginx-dep/lib -pie -flto=2 -flto-compression-level=3 -fuse-ld=gold' --with-cc-opt='-I/usr/local/zlib-cf/include -I/usr/local/nginx-dep/include -m64 -march=native -fPIC -g -O3 -fstack-protector-strong -flto=2 -flto-compression-level=3 -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Wno-pointer-sign -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-cast-align -Wno-builtin-declaration-mismatch -Wno-deprecated-declarations -Wno-int-conversion -Wno-unused-result -Wno-vla-parameter -Wno-maybe-uninitialized -Wno-return-local-addr -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-field-initializers -Wno-unused-variable -Wno-format -Wno-error=unused-result -Wno-missing-profile -Wno-stringop-overflow -Wno-free-nonheap-object -Wno-discarded-qualifiers -Wno-bad-function-cast -Wno-dangling-pointer -Wno-array-parameter -fcode-hoisting -Wno-cast-function-type -Wno-format-extra-args -Wp,-D_FORTIFY_SOURCE=2' --prefix=/usr/local/nginx --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --build=260624-063334-almalinux9-kvm-ed365ca --with-compat --without-pcre2 --with-http_stub_status_module --with-http_secure_link_module --with-libatomic --with-http_gzip_static_module --add-dynamic-module=../ngx_http_geoip2_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-stream_geoip_module --with-stream_realip_module --with-stream_ssl_preread_module --with-threads --with-stream --with-stream_ssl_module --with-http_realip_module --add-dynamic-module=../ngx-fancyindex-0.4.2 --add-module=../ngx_cache_purge-2.5.1 --add-dynamic-module=../ngx_devel_kit-0.3.2 --add-dynamic-module=../set-misc-nginx-module-0.33 --add-dynamic-module=../echo-nginx-module-0.63 --add-module=../redis2-nginx-module-0.15 --add-module=../ngx_http_redis-0.4.0-cmm --add-module=../memc-nginx-module-0.20 --add-module=../srcache-nginx-module-0.33 --add-dynamic-module=../headers-more-nginx-module-0.37 --with-pcre-jit --with-zlib=../zlib-cloudflare-1.3.3 --with-zlib-opt=-fPIC --with-http_ssl_module --with-http_v2_module\n\n```\nphp-config\nUsage: /usr/local/bin/php-config [OPTION]\nOptions:\n  --prefix            [/usr/local]\n  --includes          [-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib]\n  --ldflags           [ -Wl,-z,relro,-z,now -pie -L/opt/openssl/lib -L/usr/lib64/../lib64 -L/usr/local/lib64]\n  --libs              [-lcrypt  -lc-client  -ltidy -largon2 -lncurses -laspell -lpspell -lrt -lldap -llber -lstdc++ -lcrypt -lpam -lgmp -lbz2 -lrt -lm  -lsystemd -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lpthread -lsqlite3 -lz -lcurl -lssl -lcrypto -ldl -lpthread -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lffi -lssl -lcrypto -ldl -lpthread -lz -lpng16 -lwebp -ljpeg -lXpm -lX11 -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lpthread -licuio -licui18n -licuuc -licudata -lonig -lsqlite3 -ledit -lxml2 -lnetsnmp -lm -lm -lssl -lssl -lcrypto -lxml2 -lsodium -largon2 -lxml2 -lxml2 -lxml2 -lxslt -lxml2 -lexslt -lxslt -lxml2 -lzip -lz -lssl -lcrypto -ldl -lpthread -lcrypt ]\n  --extension-dir     [/usr/local/lib/php/extensions/no-debug-non-zts-20200930]\n  --include-dir       [/usr/local/include/php]\n  --man-dir           [/usr/local/php/man]\n  --php-binary        [/usr/local/bin/php]\n  --php-sapis         [ cli embed fpm phpdbg cgi]\n  --ini-path          [/usr/local/lib]\n  --ini-dir           [/etc/centminmod/php.d]\n  --configure-options [--enable-fpm --enable-opcache --enable-intl --enable-pcntl --with-mcrypt --with-snmp --enable-embed=shared --with-mhash --with-zlib --with-gettext --enable-exif --with-zip --with-libzip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-mysql-sock=/var/lib/mysql/mysql.sock --with-curl --enable-gd --with-xmlrpc --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --with-freetype --with-jpeg --with-png-dir=/usr --with-xpm --with-webp --with-t1lib=/usr --enable-shmop --with-pear --enable-mbstring --with-openssl=/opt/openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --with-readline --with-libedit --with-gmp --with-pspell --with-tidy --with-enchant --with-fpm-user=nginx --with-fpm-group=nginx --with-ldap --with-ldap-sasl --with-password-argon2 --with-sodium=/usr/local --with-pic --with-config-file-scan-dir=/etc/centminmod/php.d --with-fpm-systemd --with-ffi --with-xsl PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/opt/openssl/lib/pkgconfig OPENSSL_CFLAGS=-I/opt/openssl/include OPENSSL_LIBS=-L/opt/openssl/lib -lssl -lcrypto -ldl -lpthread PNG_CFLAGS=-I/usr/include PNG_LIBS=-L/usr/lib64 -lpng16 ICU_CFLAGS=-fPIC ICU_LIBS=-L/usr/lib64 -licuio -licui18n -licuuc -licudata ONIG_CFLAGS=-I/usr/include ONIG_LIBS=-L/usr/lib64 -lonig LIBSODIUM_CFLAGS=-fPIC LIBSODIUM_LIBS=-L/usr/local/lib64 -lsodium LIBZIP_CFLAGS=-fPIC LIBZIP_LIBS=-L/usr/local/lib64 -lzip]\n  --version           [8.0.30]\n  --vernum            [80030]\n```\n\n```\nphp -v\nPHP 8.0.30 (cli) (built: Jun 26 2024 06:46:25) ( NTS )\nCopyright (c) The PHP Group\nZend Engine v4.0.30, Copyright (c) Zend Technologies\n    with Zend OPcache v8.0.30, Copyright (c), by Zend Technologies\n```\n\n```\nwget -V\nGNU Wget 1.21.4 built on linux-gnu.\n\n-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls \n+ntlm +opie +psl +ssl/openssl \n\nWgetrc: \n    /root/.wgetrc (user)\n    /usr/local/etc/wgetrc (system)\nLocale: \n    /usr/local/share/locale \nCompile: \n    ccache gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" \n    -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I../lib -I../lib \n    -DHAVE_LIBSSL -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \n    -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 \n    -grecord-gcc-switches -mtune=generic \nLink: \n    ccache gcc -DHAVE_LIBSSL -DNDEBUG -O2 -g -pipe -Wall \n    -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \n    --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic \n    -lpcre2-8 -luuid -lidn2 -lssl -lcrypto -lz -lpsl ../lib/libgnu.a \n\nCopyright (C) 2015 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later\n\u003chttp://www.gnu.org/licenses/gpl.html\u003e.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nOriginally written by Hrvoje Niksic \u003chniksic@xemacs.org\u003e.\nPlease send bug reports and questions to \u003cbug-wget@gnu.org\u003e.\n```\n\n```\nmemcached -V\nmemcached 1.6.22\n```\n\n```\nredis-cli info server\n# Server\nredis_version:7.2.5\nredis_git_sha1:00000000\nredis_git_dirty:0\nredis_build_id:ce975a21d248780e\nredis_mode:standalone\nos:Linux 5.14.0-362.24.2.el9_3.x86_64 x86_64\narch_bits:64\nmonotonic_clock:POSIX clock_gettime\nmultiplexing_api:epoll\natomicvar_api:c11-builtin\ngcc_version:11.4.1\nprocess_id:61019\nprocess_supervised:systemd\nrun_id:74af066a89be726498b84e750fc4b9b5f9153df0\ntcp_port:6379\nserver_time_usec:1719384924390619\nuptime_in_seconds:2611\nuptime_in_days:0\nhz:10\nconfigured_hz:10\nlru_clock:8108892\nexecutable:/usr/bin/redis-server\nconfig_file:/etc/redis/redis.conf\nio_threads_active:0\nlistener0:name=tcp,bind=127.0.0.1,bind=-::1,port=6379\n```\n\n```\nmysqladmin ver\nmysqladmin  Ver 10.0 Distrib 10.6.18-MariaDB, for Linux on x86_64\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\n\nServer version          10.6.18-MariaDB\nProtocol version        10\nConnection              Localhost via UNIX socket\nUNIX socket             /var/lib/mysql/mysql.sock\nUptime:                 50 min 36 sec\n\nThreads: 1  Questions: 786  Slow queries: 0  Opens: 219  Open tables: 60  Queries per second avg: 0.258\n```\n\n# EL9 \u0026 Elevate Left Over Packages\n\nEL9 \u0026 Elevate packages\n\n```\nrpm -qa | egrep 'el9|elevate|leapp' | sort\n```\n\nRemove these packages \u0026 verify their removal\n\n```\nrpm -e --nodeps $(rpm -qa | egrep 'el9|elevate|leapp' | sort |xargs)\nrpm -qa | egrep 'el9|elevate|leapp' | sort\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentminmod%2Fcentminmod-centos7-elevate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcentminmod%2Fcentminmod-centos7-elevate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentminmod%2Fcentminmod-centos7-elevate/lists"}