各アプリケーションを以下のようにしてインストールした。 以下、yumとdnfが混同しているが両方ともdnf-3へのシンボリックリンクで動いているものは変わらない。 *MySQL : yumからインストール
$yum info mysql
Installed Packages
Name : mysql
Version : 8.0.30
Release : 1.module_el8.6.0+3340+d764b636
Architecture : x86_64
Size : 65 M
Source : mysql-8.0.30-1.module_el8.6.0+3340+d764b636.src.rpm
Repository : @System
From repo : appstream
Summary : MySQL client programs and shared libraries
URL : http://www.mysql.com
License : GPLv2 with exceptions and LGPLv2 and BSD
Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
: client/server implementation consisting of a server daemon (mysqld)
: and many different client programs and libraries. The base package
: contains the standard MySQL client programs and generic MySQL files.
- apache(httpd) : yumからインストール バージョン2.4であることを確認
$yum info httpd Installed Packages Name : httpd Version : 2.4.37 Release : 51.module_el8.7.0+3405+9516b832.1 Architecture : x86_64 Size : 4.3 M Source : httpd-2.4.37-51.module_el8.7.0+3405+9516b832.1.src.rpm Repository : @System From repo : appstream Summary : Apache HTTP Server URL : https://httpd.apache.org/ License : ASL 2.0 Description : The Apache HTTP Server is a powerful, efficient, and extensible : web server.
php(7.4) : dnf module listを用いてインストール 7.4のインストールにはサードパーティリポジトリを通したDLが必要になるが、Appstreamからモジュールとしていれれば、パッケージマネージャから特別なことをせずにインストールできる。今回はその方法でインストールした。 RHEL8へのphpやapacheの、比較的新しいバージョンのインストールでは、サードパーティレポジトリであるremiを用いるのが一般的であった。 しかし、RHEL8からのAppstreamにその機能がついているため、かなり楽にインストールができるようになった。
Name : php
Version : 7.4.30
Release : 1.module_el8.7.0+3286+227f3cf0
Architecture : x86_64
Size : 1.5 M
Source : php-7.4.30-1.module_el8.7.0+3286+227f3cf0.src.rpm
Repository : appstream
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0 and NCSA
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated web pages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module (often referred to as mod_php)
: which adds support for the PHP language to Apache HTTP Server when
: running in prefork mode.


