Click here for "Error Codes for Commercial Air Conditioners".(Japanese Version)

OracleLinux 8.6_en

OracleLinux 8.6_en

OracleLinux8.6 :WEB Server(Apache) Install

1. Apache2 installation and virtual host configuration 1.1 Apache2 Install ①httpd Install # dnf -y install httpd Version Check # httpd -v Server version: Apache/2.4.37 (Oracle Linux) Server built: Jun 22 2022 14:35:49 1.2 Apache Configuration ①Edit httpd.conf file
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 built MySQL   Ver 8.0.32 PHP    7.4.33 Httpd   Apache/2.4.37 SELINUX   permissive
OracleLinux 8.6_en

OracleLinux8.6 : System Backup and Restore

1.Website data backup 1-1. Backup under /var/www/html ①Creating backup script files # cd /var/www/system # vi backup_html.sh 2.MySQL database backup ①Creating backup script files # cd /var/www/system 3.Restore backup files under html ① Store HTML backup files in "/ (root)" directory 4.Restoring Mysql Backup Files ①Save the backup file to any directory (In the example, the directory is "/var/www/backup/db_bak".) Unzip data
OracleLinux 8.6_en

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

1. Logwatch ①Install # dnf install logwatch ②Editing Configuration Files 2.Automatic DNS update script Whenever 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 Script 3.1 script # cd /var/www/system # vi disk_capacity_check.sh
OracleLinux 8.6_en

OracleLinux8.6 : SNORT2 , Tripwire , Chkrootkit Install

SNORT2 Install Snort 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.
OracleLinux 8.6_en

OracleLinux8.6 : Apache , Mail Server SSL/TLS(Let's Encrypt)

1.Obtain SSL Certificate ( Let's Encrypt ) Install the latest open ssl # dnf install openssl-devel 1.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 receive 2. Converting Apache to https Install the following # dnf -y install mod_ssl 2.1 Edit ssl.conf file 3. SSL/TLS (Let's Encrypt) settings on the mail server 3.1 Obtaining a certificate for the mail server Obtain 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.6_en

OracleLinux8.6 : OS Installation

OracleLinux8.6  Install 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 Oracle Linux 8.6 because the latest Oracle Linux 9.0 does not yet have sufficient software.
OracleLinux 8.6_en

OracleLinux8.6 : Initial Setup

1. Install bash completion extension package # dnf -y install bash-completion # reboot 2. Disable SELinux First, disable selinux. selinux is a feature that improves auditing and security in Linux, but when enabled, it places considerable restrictions on the behavior of services and on what can be configured. Therefore, it is basically disabled in many cases.
OracleLinux 8.6_en

OracleLinux8.6 : SSH connection , Firewalld , NTP Server

1. Setting up remote connection by SSH SSH 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 changes Modify the configuration file to change the SSH service settings. The SSH service configuration file is "/etc/ssh/sshd_config".
OracleLinux 8.6_en

OracleLinux8.6 : SSH connection with public key cryptographic authentication

SSH connection with authentication using RSA public key cryptography  Creation of public and private key pairs  Create a public/private key pair for a user connecting to a Linux server using OpenSSH. Use ssh-keygen to create the key pair. This time, we will create a key set using the RSA cipher used in the SSH protocol Version 2. Creation of public/private key pairs is performed with remote login user privileges (huong). If you do not specify the destination and file name, id_rsa and id_rsa.pub will be created in /home/huong/.ssh/. On the way, enter the password for the key.
OracleLinux 8.6_en

OracleLinux8.6 : FTP Server

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 ①Editing Configuration Files
OracleLinux 8.6_en

OracleLinux8.6 : Anti-virus , Mail server installation

Install clamav ( anti-virus software ) 1.Clam AntiVirus Install Mail Server Installation 1. Postfix Install 1.1 Install Postfix and build an SMTP server Mail server : Postfix + Clamav + Amavisd + SpamAssassin 1.Real-time scanning of e-mails ①Install Amavisd and Clamav Server
OracleLinux 8.6_en

OracleLinux8.6 : Mysql8 , WordPress installation

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