Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".(Japanese Version)

miracle8.4_en

miracle8.4_en

MiracleLinux8.4 ; SNORT ,Tripwire , Checkrootkit

Install  SNORT 1.Preliminary preparations ①Add the CodeReady...
miracle8.4_en

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. 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
miracle8.4_en

MiracleLinux8.4 ; Install

What is MiracleLinux? MIRACLE LINUX is a Japanese Linux distribution provided by Cybertrust Corporation. Miracle Linux (now Cybertrust), established by Oracle Japan and NEC in June 2000, began development of Oracle Database for business and enterprise use with the aim of ensuring stable operation. It has been based on RHEL since Version 2.0 released in May 2001, and has been a full RHEL clone since Version 6.0 released in January 2012, with the latest version being 8.4 as of December 2021. MIRACLE LINUX, the famous domestic RHEL clone, was initially a commercial OS with a paid license, but following the termination of CnetOS8, it was announced that it would be offered free of charge starting with the latest 8.4. For this reason, it is currently in the limelight as a candidate for migration from CentOS8.
miracle8.4_en

MiracleLinux8.4 ; Vsftpd (FTP server installation)

FTP Server Installation 1. Install vsftpd Download vsftpd-3.0.3-33.el8.x86_64.rpm from the download site to /usr/local/src/. # cd /usr/local/src/ # wget ftp://ftp.pbone.net/mirror/ftp.centos.org/8-stream/AppStream/x86_64/os/Packages/vsftpd-3.0.3-33.el8.x86_64.rpm # rpm -ivh vsftpd-3.0.3-33.el8.x86_64.rpm 2.Configuring vsftpd
miracle8.4_en

MiracleLinux8.4 ; Firewall , SSH , NTP server

1.Setting up SSH remote connection SSH is a service to connect to a server remotely, and is basically running right after the OS installation, but the default settings are somewhat insecure. In this section, we will configure the settings to change the default settings and increase the security of the ssh connection. 1.1 Change the configuration file of SSH service. 2.How to set up a firewall (firewalld) In MiracleLinux, the firewall is set to firewalld by default, which is enabled when the OS is installed. To briefly explain firewalld, when setting up a communication control policy, communication permission/blocking rules are applied to predefined zones, and the zones are assigned to each NIC (network adapter). 3.Synchronize the server time with Japan Standard Time. ① Change the configuration file as follows
miracle8.4_en

MiracleLinux8.4 ; Mysql , WordPress

Install  Mysql8 # dnf module -y install mysql:8.0 # vi /etc/my.cnf.d/charset.cnf Create a new "charset.cnf" with the following contents [mysqld] character-set-server = utf8mb4[client] default-character-set = utf8mb4
miracle8.4_en

MiracleLinux8.4 ; SSH public key cryptography setting

Public key 1.Create a key pair with RSA Become an ordinary user and create a key pair with RSA 2.Private Key Login Settings 3.Change to login only with private key # vi /etc/ssh/sshd_config ●Per line 69 4.Creating a private key using PuTTYgen Launch Winscp and start puttygen.exe from Tools
miracle8.4_en

MiracleLinux8.4; Web Server Installation, Virtual Host

Installa apache2 and virtual host configuration 1.Install ap...
miracle8.4_en

MiracleLinux8.4 ; Anti-virus, mail server

Install clamav (anti-virus software) 1.Install Clam AntiViru...
miracle8.4_en

MiracleLinux8.4 ; Let’s Encrypt , Apache Mail SSL

1.Obtain SSL Certificate ( Let's Encrypt ) Install the latest open ssl # dnf install openssl-devel
miracle8.4_en

MiracleLinux8.4 ; System Backup & Restore

Web configuration file (under html) backup ①Create a backup script file under html # cd /var/www/system/ # vi html_backup.sh Contents of html_backup.sh #!/bin/bash #Date processing (save 10 days) TODAY=`/bin/date +%Y%m%d` DAY_AGO=`/bin/date --date '10day ago' +%Y%m%d`