Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".(Japanese Version)

nuy

Almalinux9.1_en

AlmaLinux 9.1 ; Suricata , Tripwire , Chkrootkit

Suricata SURICATA 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. 1.advance preparation ①Activate the EPEL Repository # dnf -y install epel-release Tripwire 1.Download and installation # cd /usr/local/src # wget https://rpmfind.net/linux/epel/9/Everything/x86_64/Packages/t/tripwire-2.4.3.7-13.el9.x86_64.rpm # rpm -Uvh tripwire-2.4.3.7-13.el9.x86_64.rpm Chkrootkit ①Download and install chkrootkit # cd /usr/local/src # wget https://launchpad.net/chkrootkit/main/0.55/+download/chkrootkit-0.55.tar.gz # tar xvf chkrootkit-0.55.tar.gz
Almalinux9.1_en

RHEL9.x compatible Linux : Zabbix6

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 as a database server, and a web server such as Apache or Nginx. In this article, we will assume that all of these have already been configured. SELinux must be set to permissive
OracleLinux9.1-en

OracleLinux9.1 : OS Install

OracleLinux9.1 Oracle 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. This time, we will proceed with the latest Oracle Linux 9.1.
OracleLinux9.1-en

OracleLinux9.1 : Tripwire , Chkrootkit , Logwatch , Disk Usage Check Script

Tripwire 1.Download and installation # cd /usr/local/src # wget https://rpmfind.net/linux/epel/9/Everything/x86_64/Packages/t/tripwire-2.4.3.7-13.el9.x86_64.rpm # rpm -Uvh tripwire-2.4.3.7-13.el9.x86_64.rpm Chkrootkit ①Download and install chkrootkit # cd /usr/local/src # wget https://launchpad.net/chkrootkit/main/0.55/+download/chkrootkit-0.55.tar.gz # tar xvf chkrootkit-0.55.tar.gz Logwatch ①Install # dnf install logwatch Introduce disk usage check script 1. Script Creation # cd /var/www/system # vi disk_capacity_check.sh
OracleLinux9.1-en

OracleLinux9.1 : SSH connection with SSH key pair

SSH connection with authentication using public key  Creation of public and private key pairs Create a public/private key pair for a user connecting to the Linux server using OpenSSH. Use ssh-keygen to create key pairs. Creation of public/private key pairs is performed with remote login user privileges. If you do not specify the destination and file name, id_ed25519 and id_ed25519.pub will be created in /home/(user name)/.ssh/. On the way, enter the password for the key.
Rocky Linux8.6 Building a server

Rocky Linux8.6 : FTP Server

Install FTP Server 1. Instaa  Vsftpd # dnf -y install vsftpd 2.Vsftpd configuration
Almalinux8.6 Building a server

AlmaLinux 8.6 : FTP Server Install

FTP Server Installation 1. Vsftpd Install # dnf -y install vsftpd 2.Vsftpd configuration Save the unedited vsftpd.conf with .bak # cp /etc/vsftpd/vsftpd.conf /home/huong/vsftpd.conf.bak
miracle9.0_en

MiracleLinux9.0 : OS Install

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. The current distribution is Red Hat Enterprise Linux (RHEL) 9 compatible with the latest version 9.0 released on November 1, 2022. Like RHEL9, MIRACLE LINUX 9 is based on Linux kernel 5.14. In addition to version upgrades to major packages such as OpenSSL, MIRACLE LINUX 9 offers mainly enhanced security-related features such as improved SELinux performance and secure boot support. Package updates and security patches will be provided free of charge until November 2032.
miracle9.0_en

MIRACLE ZBX 6.0 Install

Integrated Monitoring Software "MIRACLE ZBX" MIRACLE ZBX, enterprise-oriented integrated system monitoring software based on the open source Zabbix, with enhancements and modifications provided by Cybertrust. It implements security enhancements that comply with some requirements of the National Institute of Standards and Technology (NIST) security guidelines "NIST SP800-171" and "NIST SP800-53", which are becoming an international standard for security standards. SELinux must be set to permissive
Almalinux8.6 Building a server

AlmaLinux 8.6 : Snort2 , Tripwire , Chkrootkit Install

SNORT2  Install 1. advance preparation ①Add the CodeReady Red Hat repository and install the required software # dnf config-manager --set-enabled powertools Tripwire  Install 1.Download and installation # cd /usr/local/src Chkrootkit  Install ①chkrootkit Download and Install # cd /usr/local/src
miracle8.4_en

MiracleLinux8.4 ; Vsftpd (FTP server installation)

FTP Server Installation 1. Install vsftpd Download vsftpd-3.0.3-33.el8.x86_64.rpm from the download site to /usr/local/src/. # cd /usr/local/src/ # wget ftp://ftp.pbone.net/mirror/ftp.centos.org/8-stream/AppStream/x86_64/os/Packages/vsftpd-3.0.3-33.el8.x86_64.rpm # rpm -ivh vsftpd-3.0.3-33.el8.x86_64.rpm 2.Configuring vsftpd
miracle8.4_en

MiracleLinux8.4 ; Firewall , SSH , NTP server

1.Setting up SSH remote connection SSH is a service to connect to a server remotely, and is basically running right after the OS installation, but the default settings are somewhat insecure. In this section, we will configure the settings to change the default settings and increase the security of the ssh connection. 1.1 Change the configuration file of SSH service. 2.How to set up a firewall (firewalld) In MiracleLinux, the firewall is set to firewalld by default, which is enabled when the OS is installed. To briefly explain firewalld, when setting up a communication control policy, communication permission/blocking rules are applied to predefined zones, and the zones are assigned to each NIC (network adapter). 3.Synchronize the server time with Japan Standard Time. ① Change the configuration file as follows
miracle8.4_en

MiracleLinux8.4 ; Mysql , WordPress

Install  Mysql8 # dnf module -y install mysql:8.0 # vi /etc/my.cnf.d/charset.cnf Create a new "charset.cnf" with the following contents [mysqld] character-set-server = utf8mb4[client] default-character-set = utf8mb4
openSUSE15.4_en

OpenSUSE15.4 ; OS download and installation

OpenSUSE 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. The openSUSE project announced the official release of "openSUSE Leap 15.4" on June 8, 2022. This is the fourth point release of the community version of the "openSUSE 15" series, built from the same source code and the same binary packages as the enterprise version "SUSE Linux Enterprise 15 SP4".
Almalinux9.1_en

RHEL9.x compatible Linux : Nagios Server

Nagios Server, open source integrated monitoring software Nagios is an open source monitoring solution running on Linux. Nagios is designed to periodically check critical network, application, or server parameters. These parameters include microprocessor load, number of running processes, log files, disk and memory usage, as well as many other services such as SMTP (Simple Mail Transfer Protocol), HTTP (Hypertext Transfer Protocol), POP3 (Post Office Protocol 3), etc. can be checked. These parameters require a microprocessor load, a database such as PHP or MySQL to run Nagois, and a web server such as Apache or Nginx. We will proceed under the assumption that all of these have already been configured. SELinux must be set to permissive