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

nuy

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

OpenSUSE15.4 ; OS download and installation

OpenSUSE is a Linux distribution that is community-based, free to the public, and active in adopting the latest technologies. It is sponsored by Novell and developed by the community. Originally, SUSE Linux was developed by SUSE, but after the acquisition of SUSE by Novell in 2003, Novell shifted the development structure to community-based by the OpenSUSE project as a distribution aiming for 100% open source, and changed the name from SUSE Linux to OpenSUSE Linux The name was changed to the current name. openSUSE is available as Leap, the stable version, and Tumbleweed, which uses a rolling-release model and is also the basis for the paid-for version of SUSE Linux Enterprise. The openSUSE project announced the official release of "openSUSE Leap 15.4" on June 8, 2022. This is the fourth point release of the community version of the "openSUSE 15" series, built from the same source code and the same binary packages as the enterprise version "SUSE Linux Enterprise 15 SP4".
Almalinux9.1_en

RHEL9.x compatible Linux : Nagios Server

Nagios Server, open source integrated monitoring software Nagios is an open source monitoring solution running on Linux. Nagios is designed to periodically check critical network, application, or server parameters. These parameters include microprocessor load, number of running processes, log files, disk and memory usage, as well as many other services such as SMTP (Simple Mail Transfer Protocol), HTTP (Hypertext Transfer Protocol), POP3 (Post Office Protocol 3), etc. can be checked. These parameters require a microprocessor load, a database such as PHP or MySQL to run Nagois, and a web server such as Apache or Nginx. We will proceed under the assumption that all of these have already been configured. SELinux must be set to permissive
Debian11.5 Building a server

Debian11.5 ; MySQL8 , WordPress Install

1. Install MySQL 8 1. 1 Install The MySQL team provides the official MySQL PPA for Debian Linux. After downloading and installing the package on your Debian system, the PPA file will be added to your system. To enable the PPA, run the following command 1.2. MySQL Server Security Settings Run the tool mysql_secure_installation to configure security-related settings for the MySQL server. Once executed, several security settings are initiated in the form of questions. First, you will be asked if you want to use a plugin for password validation as follows 2.Install WordPress 2.1 Database Creation Create a database for Word Press (for example, in this case, the database name is "wp_db", the user name is "wp_user", and the password is "?Y123456y") 2.2 Wordpress Download and Installation ①Download and Deployment
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`
Almalinux8.6 Building a server

AlmaLinux 8.6 : Logwatch , Disk Usage Check Script

1. Logwatch Install ① Install # dnf install logwatch ② Edit configuration file 2. Introduce disk usage check script 2.1 Script Creation # cd /var/www/system # vi disk_capacity_check.sh
Almalinux8.6 Building a server

AlmaLinux 8.6 : SSL Certificate Acquisition , WEB・Mail SSL

1. Obtain an SSL certificate ( Let's Encrypt ) Install the latest open ssl # dnf install openssl-devel 1.1 Certificate Installation # dnf -y install certbot 2. Converting Apache to https Install the following # dnf -y install mod_ssl 3. SSL/TLS (Let's Encrypt) settings on the mail server 3.1 Obtaining a certificate for the mail server Obtain a certificate for the mail server, but it cannot be obtained in the same way as above, so the following with the "--standalone" option fails.
Ubuntu22.04_en

Ubuntu Server 22.04 : SSH public key cryptosystem

SSH connection with authentication using RSA public key cryptography Creation of public and private key pairs Create a public/private key pair for a user connecting to a Linux server using OpenSSH. Use ssh-keygen to create key pairs. This time, we will create a key set using the RSA cipher used in the SSH protocol Version 2. Creation of public/private key pairs is performed with remote login user privileges (huong). If you do not specify the destination and file name, id_rsa and id_rsa.pub will be created in /home/huong/.ssh/. On the way, enter the password for the key.
Debian11.5 Building a server

Debian11.5 ; SSH connection using public key cryptography

RSA SSH connection with authentication using public key cryptography Create public and private key pairs Create a public/private key pair for a user connecting to a Linux server using OpenSSH. Use ssh-keygen to create the key pair. This time, we will create a key set using the RSA cipher used in the SSH protocol Version 2. The creation of a public/private key pair is performed with remote login user privileges (e.g., huong). If you do not specify the destination and file name, id_rsa and id_rsa.pub will be created in /home/huong/.ssh/. On the way, enter the password for the key.
Debian11.3 Building a server

Debian11.3 : SSH public key cryptosystem

RSA SSH connection with authentication using public key cryptography Create public and private key pairs Create a public/private key pair for a user connecting to a Linux server using OpenSSH. Use ssh-keygen to create the key pair. This time, we will create a key set using the RSA cipher used in the SSH protocol Version 2. The creation of a public/private key pair is performed with remote login user privileges (e.g., huong). If you do not specify the destination and file name, id_rsa and id_rsa.pub will be created in /home/huong/.ssh/. On the way, enter the password for the key.