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

nuy

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.
Almalinux8.6 Building a server

AlmaLinux 8.6 : Public key SSH connection

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 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 (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.
fedora36_en

Fedora36 ; System Backup and Restore

Web configuration file (under html) backup ①Create backup script file # cd /var/www/system/ # vi html_backup.sh Contents of html_backup.sh MySQL database backup ①Create backup script file Web configuration file (under html) restored ① Copy the HTML backup file to the "/ (root)" directory of the server to be used for restoration Restore MySQL data ① Save database backup file to any directory
fedora36_en

Fedora36 ; SSL Certificate ( Let's Encrypt ) , Apache ・Mail Server SSL

1.Obtain SSL Certificate ( Let's Encrypt ) Install the latest open ssl # dnf install openssl-devel 2. Apache SSL Install the following just in case # dnf -y install mod_ssl 3.Mail SSL/TLS(Let's Encrypt) 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.
fedora36_en

Fedora36 ; Mysql8 , WordPress Install

Mysql8 installation #dnf module -y install mysql:8.0 #vi /etc/my.cnf.d/charset.cnf Create a new charset.cnf with the following contents # Set default character encoding # To handle 4-byte characters such as pictographs, use [utf8mb4]. [mysqld] character-set-server = utf8mb4 [client] default-character-set = utf8mb4 WordPress Installation 1. Create a database for WordPress As an example, assume database [wp_db] database user [wp_user] password [?W123456]