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

nuy

CentOS7.9_en

CentOS7.9 ; WEB Server Apache

1.Apache2 installation and virtual host setup1.1 Apache2 Ins...
OracleLinux 8.6_en

OracleLinux8.6 :WEB Server(Apache) Install

1. Apache2 installation and virtual host configuration1.1 Apache2 Install①httpd Install# dnf -y install httpdVersion Check# httpd -vServer version: Apache/2.4.37 (Oracle Linux)Server built: Jun 22 2022 14:35:491.2 Apache Configuration①Edit httpd.conf file
fedora37_en

Fedora37 ; WEB Server(Apache2)

Apache2 installation and virtual host configuration1.Apache2...
Almalinux8.6_en

AlmaLinux 8.6 : WEB Server Install

1. Apache2 installation and virtual host configuration1.1 Apache2 Install①httpd install# dnf -y install httpd# httpd -vServer version: Apache/2.4.37 (AlmaLinux)1.3 Virtual Host SettingsAssign and configure the FQDN [alma.korodes.com] to be operated by the virtual host in the document root [/var/www/html/alam.korodes.com] directory
Almalinux9.1_en

AlmaLinux 9.1 ; WEB Server(Apache2) Install & Virtual Hosts

1.Apache2 Install , Virtual Host Configuration1.1 Apache2 install①httpd install# dnf -y install httpd1.3 Virtual Host SettingsAssign and configure the domain name [alma.korodes.com] to the document root [/var/www/html/alam.korodes.com] directory for virtual host operation2. Use of CGI Scripts①CGI availability check3. PHP installation and configuration1.PHP8 Install4. Digest authentication with Apache2Since Basic Authentication, a well-known authentication authorization method for http, sends authentication information in plain text, there is a risk of ID and password leakage if the packet is intercepted.On the other hand, Digest Authentication encrypts and transmits authentication informa
Rocky Linux9.1_en

RockyLinux 9.1 ; WEB Server(Apache2) Install & Virtual Hosts

1.Apache2 Install , Virtual Host Configuration1.1 Apache2 install①httpd install# dnf -y install httpd1.3 Virtual Host SettingsAssign and configure the domain name [rocky.korodes.com] to the document root [/var/www/html/rocky.korodes.com] directory for virtual host operation2. Use of CGI Scripts①CGI availability check3. PHP installation and configuration1.PHP8 Install4. Digest authentication with Apache2Since Basic Authentication, a well-known authentication authorization method for http, sends authentication information in plain text, there is a risk of ID and password leakage if the packet is intercepted.On the other hand, Digest Authentication encrypts and transmits authentication informa
Debian10.13_en

Debian10.13 ; WEB Server Apache2

WEB Server Apache2Allow http:80 and https:443 ports in UFW b...
Debian11.3_en

Debian11.3 : WEB Server Apache Install

Web server Apache2 installationAllow http:80 and https:443 p...
Debian11.5_en

Debian11.5 ; WEB Server(Apache) Install

Web server Apache2 installationAllow http:80 and https:443 ports in UFW before installation# ufw allow http# ufw allow https# ufw reload1 Apache2 Installation and ConfigurationApache2 Install3. Apache2; Using Perl ScriptsEnable CGI to make Perl scripts available4 Apache2 : Using PHP Scripts①Install PHP# apt -y install php php-cgi libapache2-mod-php php-common php-pear php-mbstring5. Virtual Host SettingsCopy the default configuration file (file name is arbitrary, in this case vhost-yourdomain.conf as an example) and configure the virtual host
openSUSE_15.3_en

Opensuse 15.x ; Zabbix6 Install

Installation of open source integrated monitoring software "Zabbix"Zabbix is an open source integrated monitoring software for centralized monitoring of servers, networks and applications. It provides monitoring, fault detection and notification functions required for integrated monitoring. With Zabbix agent and SNMP support for many platforms, you can monitor your entire system with a single Zabbix.To run Zabbix, you need PHP programming language, MySQL/MariaDB as database server, and a web server such as Apache or Nginx.In this case, we will proceed on the assumption that all of the following conditions have already been configured.・OS : OpenSUSE15.5・Web server : Apache2.4.51・PHP8.0.29・Database : MariaDB10.6Please refer to the following to configure the above
OracleLinux 8.6_en

OracleLinux 8.x ; Icinga2 Monitoring Application Installation

What is Icinga2?It is an open source software for system monitoring, derived and developed from a monitoring software called Nagios.In this article, we will install the Icinga2 monitoring application on OracleLinux8.x with RHEL8.The same can be done on Rocky Linux8.x and AlmaLinux8.x.However, please note that some information related to PowerTools is different from the information on this page.1.Prerequisite.The requirement for installing Icinga2 is that you must have LAMP installed. PHP 7.3 or later version is also required.In this case, it is assumed that the following have been builtMySQL   Ver 8.0.32PHP    7.4.33Httpd   Apache/2.4.37 SELINUX   permissive
OracleLinux 8.8_en

OracleLinux8.8 ; OS Install

OracleLinux9.2Oracle 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.今回は、最新のOracle Linux9.2(2023年5月リリース)で進めていきます。This time, we will proceed with the latest Oracle Linux 9.1.(May 2023 Release)1.Oracle Linux9.2 DownloadOracle Linux 9.2 installation image (OracleLinux-R9-U2-x86_64-dvd.iso ) can be downloaded from the following sitehttps://www.oracle.com/linux/
OracleLinux 8.8_en

OracleLinux8.8 ; Clamav(anti-virus) , Mail Server

Clamav(anti-virus)1.Clam AntiVirus install# dnf -y install clamav clamd clamav-updateMail Server Installation1. Postfix1.1 InstallInstall Postfix and build an SMTP serverMail server : Postfix + Clamav + Amavisd+SpamAssassin1.Real-time scanning of e-mails①Install Amavisd and Clamav Server
OracleLinux 8.8_en

OracleLinux8.8 ; SSL Certificate Acquisition( Let's Encrypt ) , WEB/Mail server SSL

1.Obtain SSL Certificate ( Let's Encrypt )Install the latest open ssl# dnf install openssl-devel1.1 Certificate Installation# dnf -y install certbot# certbot certonly --webroot -w /var/www/html/[FQDN] -d [FQDN]# Registration of e-mail address and agreement to terms of use are required for the first time only.# Specify an email address to receive2. Converting Apache to httpsInstall the following# dnf -y install mod_ssl2.1 Edit ssl.conf file3. 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.
OracleLinux 8.8_en

OracleLinux8.8 ; 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]