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

nuy

OpenSUSE15.5_en

OpenSUSE15.5 ; MariaDB , WordPress Install

1. MariaDB InstallUpdate the server package1.2 phpMyAdmin InstallInstalled phpMyAdmin and configured it to operate MariaDB via web browser2. Wordpress Install2.1 Required library installation
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; Tripwire Chkrootkit Logwatch Install

1. TripwireTripwire is a host-based intrusion detection system (IDS) that monitors files and directories and notifies you when changes are made.1.1 Install and configuration① install2. chkrootkit インストールInstall a rootkit detection tool called chkrootkit to check whether a rootkit has been installed on the Linux server.①chkrootkit download,install3. Logwatchlogwatch is a software program that automatically analyzes logs and reports the results to support operations.
openSUSE15.4_en

OpenSUSE15.4 ; SSH connection with public key

Create a private key for the client and a public key for the server to allow login with key pair authentication1.key pair creationCreate a public/private key pair for a user connecting to the Linux server using OpenSSH.Use ssh-keygen to create key pairs.Creation of public/private key pairs is performed with remote login user privileges.If you do not specify the creation destination and file name, id_ecdsa and id_ecdsa.pub will be created in /home/(user name)/.ssh/.On the way, also enter the password for the key.
openSUSE15.4_en

OpenSUSE15.4; Clamav , Mail Server Install

1. clamav ( anti-virus software )1.1 Clamav install2.  Mail server Install2.1 Postfix install①Install Postfix and build an SMTP server3. Mail Server: Postfix + Clamav + AmavisdSet up Postfix and Clamav to work together to scan incoming and outgoing mail in real time.4.virus scan script substitutionSet up a notification to a specified e-mail address after virus check scan.
Rocky Linux9.2_en

Rocky Linux9.2 ; FTP Server , Samba File Server

1.FTP Server1. 1 Vsftpd Install# dnf -y install vsftpd1.2 Configure VsftpdSave the unedited vsftpd.conf with .bak3. File server installation with SambaBuild a file server with access rights that requires user authentication with Samba.Installation Procedure①Create shared folders with access rights that require user authentication②Accessible group creation③Creation of users belonging to accessible groups④Configuration File Editing
Rocky Linux9.2_en

Rocky Linux9.2 ; Suricata , Tripwire , Chkrootkit

SuricataSURICATA IDS/IPS is an open source IDS that monitors communications on the network and detects suspicious traffic.The basic mechanism is signature-based, so it can detect predefined unauthorized communications. Suricata is also characterized by its ability to provide protection as well as detection.1.advance preparation①Activate the EPEL RepositoryTripwire1.Installation# dnf install -y tripwireChkrootkit①Download and install chkrootkit
Rocky Linux9.2_en

Rocky Linux9.2 ; System Backup and Restore

1.Website data backup1-1.Backup under /var/www/html①Create backup script file# cd /var/www/system# vi backup_html.sh2.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)" directory4.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
Almalinux9.2_en

AlmaLinux9.2 ; MySQL8 , WordPress Install

Mysql8 , WordPress InstallWordPress Install1. Create database for Word PressAs an example, assume database [wp_db] database user [wp_user] password [?Ww123456]
Rocky Linux9.1_en

RockyLinux 9.1 ; Anti-virus(Clamav) , Mail Server

clamav (anti-virus software] Install1.Clam AntiVirus install# dnf -y install clamav clamd clamav-update2.Clam AntiVirus  Configuration File EditMail Server Install1. Postfix1.1 InstallInstall Postfix and build an SMTP server
Almalinux9.2_en

AlmaLinux9.2 ; Authenticated SSH connection with key pair

SSH connection with authentication using public key cryptography Create public and private key pairsCreate a public/private key pair for a user connecting to a Linux server using OpenSSH.Use ssh-keygen to create the key pair.The creation of a public/private key pair must be done as a user with remote login privileges.If you do not specify the destination and file name, id_ed25519 and id_ed25519.pub will be created in /home/(user name)/.ssh/. On the way, enter the password for the key.
Almalinux9.1_en

AlmaLinux 9.1 ; Anti-virus(Clamav) , Mail Server

clamav (anti-virus software] Install1.Clam AntiVirus install# dnf -y install clamav clamd clamav-update2.Clam AntiVirus  Configuration File EditMail Server Install1. Postfix1.1 InstallInstall Postfix and build an SMTP server
fedora38_en

Fedora38 ; OS Install

Fedora ; DownloadFedora38 can be downloaded from the following mirror siteshttp://ftp.riken.jp/Linux/fedora/releases/38/Server/x86_64/iso/The file to download is the "Fedora-Server-netinst-x86_64-38-1.6.iso" imageCreate an installation disk from the downloaded "Fedora-Server-netinst-x86_64-38-1.6.iso" image on a USB disk and install it on the actual device.
fedora38_en

Fedora38 ; SSL Certificate Acquisition( Let's Encrypt ) , Apache / Mail SSL/TLS

1.Obtain an SSL certificate ( Let's Encrypt )Install the latest open ssl3. SSL/TLS (Let's Encrypt) settings on the mail server3.1 Obtaining a certificate for the mail serverObtain a certificate for the mail server, but since it cannot be obtained in the same way as above, stop the web server once and add the "--standalone" option.2. Converting Apache to httpsInstall the following just in case
fedora38_en

Fedora38 ; Mysql8 , WordPress Install

MySQL8 Install①Install➁MySQL Server start➂Check mysql versio...