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

2023

Slackware 15.0_en

Slackware 15.0 : Disk partitioning

PartitioningFirst, basic partitioning divides the disk space into two parts: / (root) and a partition for swap. The partition for swap must be prepared.1.Using gdisk commandsWhen gdisk is invoked, the following is displayed.gdisk always requires a device file name as an argument
Slackware 15.0_en

Slackware15.0 : OS image download, boot

About SlackwareSlackware is one of the Linux distributions.However, in the early days of Linux, it was one of the two major distributions so commonly used that it was said that Linux was either Slackware or Red Hat Linux.Launched in 1992, Slackware celebrates its 31st anniversary this year.The latest version is 15.0, released on February 4, 2022.Forte・High stability・Secure with few bugs and security holes・It is capable of high operating speeds. Slackware is fast because it installs only the components that users need.・Highly compliant with standards and suitable for servers・Slackware is simple to use, and if you can master it, you can create your own environment.・SlackBuilds, which automates the installation of apps, is available, and the SlackBuilds site has a database of scripts for creating various packages on your own. Furthermore, if you install sbopkg, you can browse the Slackbuilds database with a single command and automatically download, generate, and install packages.・Slackware allows you to use emacs, vim, and gimp, which are standard Linux applications.
FreeBSD13.2_en

FreeBSD13.2 : WEB Server(Apache2) , MySQL8

1. Apache21.1 Install2. MySQL InstallInstall MySQL before installing PHP3. apache24 - PHP 8.03.1 PHP Install
FreeBSD14_en

FreeBSD14 : Web Server SSL、Webmin

1. Web server (Apache) SSL conversionThe ports can be further updated with FreeBSD's periodic job settings.Install certbot via pkg, and include a plugin for apache to update in webroot mode.1.1 Installing the Certbot tool for Let's EncryptRun the following command to install the Certbot package and the Apache HTTP plug-in
FreeBSD14_en

FreeBSD14 : Initial setting (Update binaries, Packages and Ports Collection)

First do the followingAfter installing FreeBSD, we will start building the server, but it is difficult to work on the console screen, so we will change the SSH connection settings for now in order to operate the server from Windows using TeraTerm or other software.Enter the following command on the FreeBSD console screen# vi /etc/ssh/sshd_configLine 61.#PasswordAuthentication no → PasswordAuthentication yes Make the changes and reflect the settings with the following command# service sshd restartNow you can connect via SSH from TeraTerm on Windows (see the default settings for other operating systems for settings in TeraTerm).
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]
fedora39_en

Fedora39 : Logwatch , Disk Usage Check Script

Fedora39 ; Logwatch , Disk Usage Check Script
Debian10.13_en

Debian10.13 : System Backup and Restore

1. System Backup1.1 Backup under /var/www/html① Create backu...
Debian10.13_en

Debian10.13 : logwatch ,Disk Usage Check Script

1. Disk Usage Check Script1.1 Script CreationContents of dis...
Almalinux9.2_en

AlmaLinux9.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.Tripwire1.Download and installationChkrootkit①Download and install chkrootkit
Almalinux9.2_en

AlmaLinux9.2 ; SSL Certificate Acquisition( Let's Encrypt ) , Apache SSL , Mail SSL/TLS

1. .Obtain an SSL certificate ( Let's Encrypt )Install the latest open ssl1.1 advance preparation1.Package management system Snappy installedSince the SSL certificate issuing tool "certbot" of Let's Encrypt is recommended to be installed using "snap" after 2021, install Snapd first.(Can also be installed the traditional way with dnf or yum)2. Converting Apache to httpsInstall the following just in case3. 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 it cannot be obtained in the same way as above, so the following with the "--standalone" option fails.
Almalinux9.2_en

AlmaLinux9.2 ; OS Install

AlmaLinux 9.2 InstallAlmaLinux OS is a project launched by CloudLinux in the US as an alternative to CentOS. Currently, the AlmaLinux OS Foundation is the development parent organization.Following the general availability of Red Hat Enterprise Linux 9.0, AlmaLinux 9.0 was released on May 26, 2022.Like Red Hat Enterprise Linux 9, AlmaLinux 9 utilizes the same package versions as the Linux 5.14 kernel, GCC 11, Python 3.9, and RHEL9.Cockpit web management interface, enhanced kernel live patching, improved container and cloud integration, OpenSSL 3, and other security improvements.This time we will install AlmaLinux 9.2 with a minor upgrade on May 11, 2023.
Almalinux9.2_en

AlmaLinux9.2 ; Various settings after installation

1.Disabling SELinuxFirst, disable selinux. selinux is a feature that improves auditing and security in Linux, but when enabled, it places considerable restrictions on the behavior of services and on what can be configured. Therefore, it is basically disabled in many cases.SELinux Operation ModeEnforcing : SELinux functionality is enabled and access control is enabledPermissive : SElinux will warn, but no access restrictions will be placeddisabled : Both SElinux function and access control are disabled
Rocky Linux9.2_en

Rocky Linux9.2 ; MySQL8 , WordPress Install

MySQL8 Installcharset.cnf Create a new one with the followin...
Rocky Linux9.2_en

Rocky Linux9.2 ; 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