Click here for "Error Codes for Commercial Air Conditioners".(Japanese Version)

MiracleLinux8.4 ; Initial Setup

1. Disable SELinux

selinux is a feature that improves auditing and security in Linux, but when it is enabled, it can be quite restrictive in how services work and what settings are available.
Therefore, in many cases, it is basically invalidated.  If you build a server while looking at a website and it doesn't work as expected, it may be because this selinux is enabled.
Therefore, remember to disable it after installation.

If this is the case, seinux will be enabled again when the server is restarted, so to permanently disable selinux, modify the /etc/sysconfig/selinux file.

2. Services stopped for system modernization and security measures.

2.1 system updating

2.2 Services stopped for security measures.

3. Adding Repositories

3.1 PowerTools / HighAvailability
This is a repository that has been newly provided with MIRACLE LINUX 8.4.
Utilization Method
PowerTools and HighAvailability can be used by updating miraclelinux-repos and enabling the repositories.
Update miraclelinux-repos to 8.4-3.el8 or later.
After the update, the following repository files will be added to /etc/yum.repos.d.
miraclelinux-powertools.repo
miraclelinux-highavailability.repo

①PowerTools can be used by activating the repository as follows

※ If you want to install istack-commons provided by PowerTools, you need to enable the javapackages-tools module manually beforehand.
Since istack-commons is also a necessary package for the installation of the "MIRACLE LINUX PowerTools" group, we will also activate the javapackages-tools module after activating the PowerTools repository.

②HighAvailability can be used by enabling the repository as follows

3.2 EPEL
EPEL provides a package for adding repositories for RHEL 8, so you only need to install the package to use it on MIRACLE LINUX 8.4.
After installation, the following repository files will be added to /etc/yum.repos.d and will be ready for use.
epel.repo
epel-modular.repo
epel-playground.repo
epel-testing-modular.repo
epel-testing.repo
3.3 Remi
This repository is unique in that it provides multiple versions of PHP packages, including the latest ones.  The following packages are provided as examples.
php5.6 php7.0 php7.1 php7.2 php7.3 php7.4 php8.0 php8.1
Remi provides a package for adding repositories for RHEL 8, so you only need to install the package to use it on MIRACLE LINUX 8.4.
After installation, the following repository files will be added to /etc/yum.repos.d and will be ready for use.
remi.repo
remi-modular.repo
remi-safe.repo

4. Setting  Vim

①Install Vim
● Reflect changes
②Setting up Vim
Copied title and URL