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

nuy

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).
FreeBSD14.1_en

FreeBSD14.1 : Jail Install

JailIt is a mechanism that allows multiple virtual FreeBSD environments to be created on a FreeBSD environment.A jail is an extension of chroot, and a jail environment (called a prisoners) built on a host ring (called a jailer) behaves as a FreeBSD machine running separately from the host environment.The prisoner cannot directly attach to the jailer or another parallel prisoner.Features of JAIL・High speed operation because it is not emulation.・Each prisoner can be assigned an IP address different from that of the jailer.・Since the same file system is used for a jailer and a prisoner, it is necessary to be careful about the assignment of UID/GID.This time, build two prisoners (prisoner1 and prisoner2) in jailer (FreeBSD14.1)
FreeBSD14.1_en

FreeBSD14.1 : Postfix ClamAV + Amavis + SpamassAssin

Install ClamAV on FreeBSD 14.1 and link it with Amavis against Postfix.ClamAV is anti-virus software.We will proceed on the assumption that you have already implemented Postfix.Before proceeding, update the Ports Collection.1. ClamAV1.1 Install# cd /usr/ports/security/clamav# make install cleanEach option is installed by default for nowclamav version check
FreeBSD14.1_en

FreeBSD14.1 : 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.1_en

FreeBSD14.1 : FTP Server , Samba Fileserver

1. FTP Server(Vsftpd)1.1 advance preparation①Private Key Cre...
FreeBSD14.1_en

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

After 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).
FreeBSD14.2_en

FreeBSD14.2 : Jail Install

JailIt is a mechanism that allows multiple virtual FreeBSD environments to be created on a FreeBSD environment.A jail is an extension of chroot, and a jail environment (called a prisoners) built on a host ring (called a jailer) behaves as a FreeBSD machine running separately from the host environment.The prisoner cannot directly attach to the jailer or another parallel prisoner.Features of JAIL・High speed operation because it is not emulation.・Each prisoner can be assigned an IP address different from that of the jailer.・Since the same file system is used for a jailer and a prisoner, it is necessary to be careful about the assignment of UID/GID.This time, build two prisoners (prisoner1 and prisoner2) in jailer (FreeBSD14.2)Building Jail1.Creation of PRISONER base directoryCreate a directory (jail) that will be the root directory for prisoner1 and prisoner2. In this case, we will create them in /home, but you can create them anywhere you like.
CentOS9_en

CentOS Stream9 : MySQL8 , WordPress

Mysql8 Installcharset.cnf Create a new one with the followin...
CentOS7.9_en

CentOS7.9 : Logwatch , Disk usage check script

1. Logwatch①Install②Edit configuration file③Output Logwatch ...
CentOS7.9_en

CentOS7.9 : System Backup and Restore

1.Website data backup1.1 Backup under /var/www/html①Creating...
CentOS7.9_en

CentOS7.9 : MySQL8 , WordPress

Mysql8 Install1.Preparation and ConfirmationIf MariaDB is al...
CentOS7.9_en

CentOS7.9 : Initial Settings

1.Disable SELinuxFirst, disable selinux. selinux is a featur...
OracleLinux 8.6_en

OracleLinux8.6 : Logwatch , DNS update ・disk usage check script

1. Logwatch①Install# dnf install logwatch②Editing Configuration Files2.Automatic DNS update scriptWhenever the global IP changes, which happens when the network is disconnected or the router is disconnected and rebooted, we need to access Dynamic DNS to inform the user that the global IP has changed. We will install a script that will do this automatically.This time, we assume that you will use Value Domain as your DNS service.3.Disk Usage Check Script3.1 script# cd /var/www/system# vi disk_capacity_check.sh
OracleLinux 8.6_en

OracleLinux8.6 : Mysql8 , WordPress installation

Mysql8 Install# dnf module -y install mysql:8.0Create a new charset.cnf with the following contents# vi /etc/my.cnf.d/charset.cnf2.Wordpress Install# cd /var/www/html/oracle.korodes.com# wget http://wordpress.org/latest.tar.gz# tar xvf latest.tar.gz3.Edit Wordpress configuration file