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

nuy

fedora35_en

Fedora35 : Logwatch , DiCE

Logwatch Introduction①Install# dnf install logwatch②Edit configuration file# cat /usr/share/logwatch/default.conf/logwatch.conf >> /etc/logwatch/conf/logwatch.conf# vi /etc/logwatch/conf/logwatch.conf
fedora36_en

Fedora36 ; Logwatch , DiCE Install

Logwatch Introduction①Install# dnf install logwatch②Edit configuration fileInstalling DiCEWhenever the global IP changes, which happens when the network is disconnected or the router is disconnected and rebooted, the dynamic DNS must be accessed to inform the user that the global IP has changed. DiCE does this automatically!①Download and install Dice
Almalinux9.1_en

AlmaLinux 9.1 ; Logwatch , DiCe , Disk Usage Check Script

1. Logwatch①Install# dnf install logwatch②Edit configuration file2. DiCEWhenever the global IP changes, which happens when the network is disconnected or the router is disconnected and rebooted, the dynamic DNS must be accessed to inform the user that the global IP has changed. DiCE does this automatically!3.Introduce disk usage check script3.1 Script Creation# cd /var/www/system# vi disk_capacity_check.sh
Almalinux9.2_en

AlmaLinux9.2 ; Logwatch , DiCe , Disk Usage Check Script

Logwatch , DiCe , Disk Usage Check Script
Rocky Linux9.1_en

RockyLinux 9.1 ; Logwatch , DiCE , Disk Usage Check Script

1. Logwatch①Install# dnf install logwatch②Edit configuration file2. DiCEWhenever the global IP changes, which happens when the network is disconnected or the router is disconnected and rebooted, the dynamic DNS must be accessed to inform the user that the global IP has changed. DiCE does this automatically!3.Introduce disk usage check script3.1 Script Creation# cd /var/www/system# vi disk_capacity_check.sh
Rocky Linux9.2_en

Rocky Linux9.2 ; Logwatch , DiCE , Disk Usage Check Script

1. Logwatch①Install# dnf install logwatch②Edit configuration file2. DiCEWhenever the global IP changes, which happens when the network is disconnected or the router is disconnected and rebooted, the dynamic DNS must be accessed to inform the user that the global IP has changed. DiCE does this automatically!3.Introduce disk usage check script3.1 Script Creation# cd /var/www/system# vi disk_capacity_check.sh
MiracleLinux8.4_en

MiracleLinux8.4 ; SNORT ,Tripwire , Checkrootkit

Install  SNORT1.Preliminary preparations①Add the CodeReady R...
OracleLinux9.2-en

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

1.SSL Certificate Acquisition ( Let's Encrypt )Install the latest open ssl# dnf install openssl-devel1.1 advance preparation1.Package management system Snappy installationSince 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# dnf -y install mod_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 it cannot be obtained in the same way as above, so the following with the "--standalone" option fails.
MiracleLinux8.4_en

MiracleLinux8.4 ; Initial Setup

1. Disable SELinuxselinux is a feature that improves auditing and security in Linux, but when it is enabled, it can be quite restrictive in how services work and what settings are available.Therefore, in many cases, it is basically invalidated.  If you build a server while looking at a website and it doesn't work as expected, it may be because this selinux is enabled.Therefore, remember to disable it after installation.3. Adding Repositories3.1 PowerTools / HighAvailabilityThis is a repository that has been newly provided with MIRACLE LINUX 8.4.Utilization MethodPowerTools and HighAvailability can be used by updating miraclelinux-repos and enabling the repositories.Update miraclelinux-repos to 8.4-3.el8 or later.After the update, the following repository files will be added to /etc/yum.repos.d.miraclelinux-powertools.repomiraclelinux-highavailability.repo
Ubuntu22.04_en

Ubuntu Server22.04 ; 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 will need the PHP programming language, MySQL/MariaDB as a database server, and a web server such as Apache or Nginx.In this case, we will assume that all of the following conditions have already been configured.Install Zabbix 6.x server, frontend and agent①Install repositorySetup Zabbix 6.x repository and install Zabbix Server.Install Zabbix Agent for the monitored hosts so that Zabbix Server itself can be monitored at the same time.
Ubuntu22.04_en

Ubuntu22.04 Server : SNORT , Tripwire

1.SNORT InstallSnort is an open source network intrusion detection system capable of performing real-time traffic analysis and packet logging on IP networks.It can perform "protocol analysis," "content search," and "matching," and can be used to detect a variety of attacks, including "buffer overflows," "stealth port scans," "CGI attacks," "SMB probes," "OS fingerprinting attempts," "semantic URL attacks," and "server message block probes.
Ubuntu22.04_en

Ubuntu22.04 Server : Let's Encrypt , Apache・Mail SSL

1. Certificate Acquisition (Let's Encrypt)1.1 advance preparation①Enable mod_ssl# a2enmod ssl②Install client tool to obtain Let's Encrypt certificate# apt -y install certbot③Obtaining CertificatesIt is assumed that a web server such as Apache httpd or Nginx is running.If the Web server is not running on the server, perform step ④.It is also assumed that the server on which the work is to be performed (the server with the FQDN from which the certificate is to be obtained) is accessible from the Internet at port 80.
MiracleLinux8.4_en

MiracleLinux8.4 ; Install

What is MiracleLinux?MIRACLE LINUX is a Japanese Linux distribution provided by Cybertrust Corporation.Miracle Linux (now Cybertrust), established by Oracle Japan and NEC in June 2000, began development of Oracle Database for business and enterprise use with the aim of ensuring stable operation.It has been based on RHEL since Version 2.0 released in May 2001, and has been a full RHEL clone since Version 6.0 released in January 2012, with the latest version being 8.4 as of December 2021.MIRACLE LINUX, the famous domestic RHEL clone, was initially a commercial OS with a paid license, but following the termination of CnetOS8, it was announced that it would be offered free of charge starting with the latest 8.4.For this reason, it is currently in the limelight as a candidate for migration from CentOS8.
fedora36_en

Fedora36 ; OS Install

What is Fedora?Fedora is an open source operating system software, a Linux distribution.The project started as a successor to Red Hat Linux, whose development was terminated at the end of 2003.It is unique in that it is community-driven, proactively incorporates feedback from the field, and introduces advanced, flexible, and advanced features.The most obvious difference when compared to popular Linux distributions such as "Ubuntu" is the balance between "advanced" and "stable".However, its stability has now been greatly improved, and it is gaining a reputation as an OS that can be used regularly, not just for functional testing purposes.For those who want to incorporate new and useful features as soon as possible, Fedora will be the best choice.However, it should not be used as a production environment or corporate need.In this case, we will use the latest Fedora 36 Server, released May 10, 2022.
Ubuntu20.04_en

Ubuntu Server 20.04 : Apache, Mail and FTP server SSL (Let's Encrypt)

Instructions on how to get a certificate and apply it to apache, mail server, FTP server and convert to SSL with Let's Encrypt.1. Get a certificate(Let's Encrypt)1.1 Advance preparation①Enable mod_ssl# a2enmod ssl②Install a client tool to obtain a Let's Encrypt certificate