業務用エアコン関連の技術情報、エラーコード、環境問題対策に関する別サイト「エアコンの安全な修理・適切なフロン回収」

nuy

OracleLinux8.10_en

OracleLinux8.10 : SSH Remote connection , Firewalld , NTP Server

1.Setting up a remote connection via SSHSSH is a service for connecting remotely to a server and is basically running immediately after the OS is installed, but the default settings are somewhat insecure.Here we will configure the default settings to increase the security of SSH connections.2.Firewall (Firewalld) settingsIn Oracle, the firewall is firewalld configured by default and enabled during OS installation.To briefly explain "firewalld," when setting communication control policies, communication permission/blocking rules are applied to predefined zones, and these zones are then assigned to each NIC (network adapter).
OracleLinux8.10_en

OracleLinux8.10 : OS Install & Initial settings

OracleLinux8.10 InstallOracle Linux provides a 100% application binary compatible alternative to Red Hat Enterprise Linux and CentOS Linux for both hybrid and multi-cloud environments.Since 2006, Oracle Linux has been completely free to download and use. Source code, binaries and updates are provided free of charge. It is freely redistributable. Free for use in production environments.We will proceed with the latest updated Oracle Linux 8.10 (released August 29, 2024) with Vo.8.Oracle Linux 8.10 installation image (OracleLinux-R8-U10-x86_64-dvd.iso ) can be downloaded from the following sitehttps://www.oracle.com/linux/The installation process is the same as for OracleLinux8.8, so please refer to the following page.
OracleLinux9.1-en

OracleLinux9.1 : System Backup and Restore

1.Website data backup1-1.Backup under /var/www/html①Create backup script file2.MySQL database backup①Create backup script file# cd /var/www/system# vi db_my_backup.sh3.Restore backup files under html① Store HTML backup files in "/ (root)" directory# cd /var/www/backup/html_bak# cp html_back_20220610.tar.gz / ←Specify the backup file with the latest date4.Restore Mysql backup file①Save the database backup file to any directory and(In the example, the directory is "/var/www/backup/db_bak".)Extracting data# cd /var/www/backup/db_bak
OracleLinux9.1-en

OracleLinux9.1 : MySQL8 , WordPress Install

Mysql8 Install# dnf -y install mysql-serverCreate a new charset.cnf with the following contentsWordPress Install1. Create database for Word PressAs an example, assume database [wp_db] database user [wp_user] password [?W123456]
OracleLinux9.2-en

OracleLinux9.2 : MySQL8 , WordPress Install

Mysql8 Install# dnf -y install mysql-serverCreate a new charset.cnf with the following contentsWordPress Install1. Create database for Word PressAs an example, assume database [wp_db] database user [wp_user] password [?W123456]
OracleLinux9.3_en

OracleLinux9.3 : System Backup and Restore

1.Website data backup1-1.Backup under /var/www/html①Create backup script file2.MySQL database backup①Create backup script file# cd /var/www/system# vi db_my_backup.sh3.Restore backup files under html① Store HTML backup files in "/ (root)" directory# cd /var/www/backup/html_bak# cp html_back_20220610.tar.gz / ←Specify the backup file with the latest date4.Restore Mysql backup file①Save the database backup file to any directory and(In the example, the directory is "/var/www/backup/db_bak".)Extracting data# cd /var/www/backup/db_bak
OracleLinux9.3_en

OracleLinux9.3 : MySQL8 , WordPress Install

Mysql8 Install# dnf -y install mysql-serverCreate a new charset.cnf with the following contentsWordPress Install1. Create database for Word PressAs an example, assume database [wp_db] database user [wp_user] password [?W123456]
OracleLinux9.4_en

OracleLinux9.4 : System Backup and Restore

1.Website data backup1-1.Backup under /var/www/html①Create backup script file2.MySQL database backup①Create backup script file# cd /var/www/system# vi db_my_backup.sh3.Restore backup files under html① Store HTML backup files in "/ (root)" directory# cd /var/www/backup/html_bak# cp html_back_20220610.tar.gz / ←Specify the backup file with the latest date4.Restore Mysql backup file①Save the database backup file to any directory and(In the example, the directory is "/var/www/backup/db_bak".)Extracting data# cd /var/www/backup/db_bak
OracleLinux9.4_en

OracleLinux9.4 : MySQL8 , WordPress

MySQL8 Install# dnf -y install mysql-servercharset.cnf   Create a new one with the fWordPress Install1. Create database for Word PressAs an example, assume database [wp_db] database user [wp_user] password [?W123456]
OracleLinux9.5_en

OracleLinux9.5 : System Backup and Restore

1.Website data backup1-1.Backup under /var/www/html①Create backup script file2.MySQL database backup①Create backup script file# cd /var/www/system# vi db_my_backup.sh3.Restore backup files under html① Store HTML backup files in "/ (root)" directory# cd /var/www/backup/html_bak# cp html_back_20220610.tar.gz / ←Specify the backup file with the latest date4.Restore Mysql backup file①Save the database backup file to any directory and(In the example, the directory is "/var/www/backup/db_bak".)Extracting data# cd /var/www/backup/db_bak
OracleLinux9.5_en

OracleLinux9.5 : SSH Remote connection , Firewalld , NTP Server

1. Setting up a remote connection via SSHSSH is a service for connecting remotely to a server and is basically running immediately after the OS is installed, but the default settings are somewhat insecure.Here we will configure the default settings to increase the security of SSH connections.1.1 SSH service configuration file changesThe SSH service configuration file is "/etc/ssh/sshd_config".
openSUSE15.4_en

OpenSUSE15.4 : Server backup and restore

1. Server Backup1.1 Backup under /srv/www/①Create backup script file1.2. MariaDB Database Backup①Create backup script file2.1 Restore backup files under www① Save backup files used for restore to the "/ (root)" directory of the server2.2 Restore MariaDB data① Save the database backup file to any directoryExtract data
openSUSE15.4_en

OpenSUSE15.4 : Obtain SSL Certificate (Let's Encrypt) 、Web Server SSL

1.Obtain an SSL Certificate (Let's Encrypt)PreparationEnable mod_ssl# a2enmod ssl1.1 Certificate Installation# zypper -n install certbot# certbot certonly --webroot -w /srv/www/htdocs/[Website Public Directory] -d 2. Web server SSL conversion2.1 SSL Configuration# a2enmod ssl# a2enmod -lactions alias auth_basic authn_core authn_file authz_host authz_groupfile authz_
openSUSE15.4_en

OpenSUSE15.4 : Initialization

1. su コマンド利用Not required if root password is set at the time of installationIf you set a root password, set it as followsLog in as a general user2. Modernize the systemTo modernize the system, enter the following command
OpenSUSE15.5_en

OpenSUSE15.5 : Server backup and restore

1. Server Backup1.1 Backup under /srv/www/①Create backup script file1.2. MariaDB Database Backup①Create backup script file2.Data Restore2.1 Restore backup files under www① Save backup files used for restore to the "/ (root)" directory of the server2.2 Restore MariaDB data① Save the database backup file to any directoryExtract data