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

2024-06

OpenSUSE15.6_en

OpenSUSE15.6 : Firewall , SSH、NTP Server

1. Setting up remote connection by SSHSSH is a service for connecting remotely to a server and is basically running immediately after the OS is installed, but the default settings are somewhat insecure.Here we will configure the default settings to increase the security of ssh connections.1.1 SSH service configuration file changesModify the configuration file to change the SSH service settings.The SSH service configuration file is "/etc/ssh/sshd_config".
OpenSUSE15.6_en

OpenSUSE15.6 : Various settings after OS installation

1.Using su commandNot required if root password is set at the time of installationIf you set a root password, set it as followsLog in as a general user2. Modernize the systemTo modernize the system, enter the following command3.locate InstallThe find command is used to search for a specific file on the entire Linux system, but find's options are somewhat confusing.In such cases, it is useful to have the locate command available, which can extract all files with a given filename
OpenSUSE15.6_en

OpenSUSE15.6 : OS Install

OpenSUSEOpenSUSE is a Linux distribution that is community-based, free to the public, and active in adopting the latest technologies. It is sponsored by Novell and developed by the community. Originally, SUSE Linux was developed by SUSE, but after the acquisition of SUSE by Novell in 2003, Novell shifted the development structure to community-based by the OpenSUSE project as a distribution aiming for 100% open source, and changed the name from SUSE Linux to OpenSUSE Linux The name was changed to the current name.openSUSE is available as Leap, the stable version, and Tumbleweed, which uses a rolling-release model and is also the basis for the paid-for version of SUSE Linux Enterprise.Leap 15.6 will be released on June 12, 2024 and will provide up-to-date support for the latest hardware with improved YaST functionality and improved installers
Rocky Linux9.3_en

RockyLinux9.x : Zabbix7 Install

Installation of open source integrated monitoring software "Zabbix7".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.This time we will install Zabbix 7.0 LTS released on 06/04/2024 in the following environment.RockyLinux9.4 IP(192.168.11.83)Apache/2.4.57 (Rocky Linux)mysql Ver 8.0.36PHP 8.3.8 (cli)PHP 8.3.8 (fpm-fcgi)
Almalinux9.3_en

AlmaLinux9.x : Zabbix7 Install

Installation of open source integrated monitoring software "Zabbix7".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.This time we will install Zabbix 7.0 LTS released on 06/04/2024 in the following environment.AlmaLinux9.4 IP(192.168.11.83)Apache/2.4.57 (AlmaLinux)mysql Ver 8.0.36PHP 8.3.8 (cli)PHP 8.3.8 (fpm-fcgi)
Debian12.5_en

Debian12.x : Zabbix7 Install

Installation of open source integrated monitoring software "Zabbix7".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.This time we will install Zabbix 7.0 LTS released on 06/04/2024 in the following environment.Apache/2.4.59 (Debian)10.11.6-MariaDBPHP 8.2.20PHP-fpm
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).
Ubuntu24.04_en

Ubuntu24.04 : Zabbix7 Install

Installation of open source integrated monitoring software "Zabbix7".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.This time we will install Zabbix 7.0 LTS released on 06/04/2024 in the following environment.Apache/2.4.5810.11.8-MariaDBPHP 8.3.6PHP-fpm