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

nuy

openSUSE_15.3_en

OpenSUSE15.3 ; FTP over SSL/TLS

1. vsftpd (FTP server installation) 1.1 Install vsftpd It is already installed when you install openSUSE. If it is not installed, you can install it with the following command # zypper -n install vsftpd 1.2 Edit vsftpd configuration file Save the unedited vsftpd.conf with .bak.
openSUSE_15.3_en

OpenSUSE15.3 ; Firewall , SSH、NTP

1.Setting up a remote connection using SSH SSH is a service to connect to a server remotely, basically running right after the OS installation, but the default settings are somewhat insecure. Configure settings to increase the security of ssh connections. 1.1 Change the configuration file of SSH service. The configuration file for the SSH service is "/etc/ssh/sshd_config".
openSUSE_15.3_en

OpenSUSE15.3 ; Initialization

1. Disable SELinux SELinux is a feature that provides a highly secure system architecture that prevents the concentration of privileges on root. In openSUSE, it is disabled at the time of installation. To check # vi /etc/selinux/config SELINUX=disabled 2. Use su command Not required if you set the root password at the time of installation. If you don't want to set the root password, set it as follows After logging in as a general user
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
Rocky Linux 8.4 Building a server

Rocky Linux8.4 ; Disable SELinux , Firewalld settings

1.Disable SELinux First, disable selinux. selinux is a feature that improves auditing and security in Linux, but when it is enabled, it restricts the behavior of services and settings to a great extent. For this reason, selinux is basically disabled in most cases. If you build a server while looking at a website and it does not work as expected, it may be due to the fact that selinux is enabled. So, don't forget to disable it after installation.
Rocky Linux 8.4 Building a server

Rocky Linux8.4 ; Creating a Certificate for SSL , Public key cryptography for SSH

1.Creating a Certificate for SSL 1.1 advance preparation The RHEL8 series does not include CA, so use RHEL7 CA. ① Copy the CA to /etc/pki/tls/misc/ using WINSCP, etc. ➁Pass PATH to SSL commands [root@Lepard ~]# export PATH=/etc/pki/tls/misc:$PATH ➂Edit the openssl.cnf file
Rocky Linux 8.4 Building a server

Rocky Linux8.4 ; WEB Server Install

1.Installation of Apache2 (httpd-2.4.39) and virtual host configuration 1-1.Apache2 installation ①Download and extract httpd-2.4.39 Download [root@Lepard ~]# cd /usr/local/src/ src]# wget http://archive.apache.org/dist/httpd/httpd-2.4.39.tar.gz Extracting the Apache tar file src]# tar zxvf httpd-2.4.39.tar.gz ➁Download and extract apr and apr-util
Rocky Linux 8.4 Building a server

RockyLinux 8.4 ; Installing a mail server

1.Install Postfix and Dovecot 1-1.Install the required software. [root@Lepard ~]# dnf -y install postfix dovecot cyrus-sasl cyrus-sasl-plain cyrus-sasl-devel [root@Lepard ~]# systemctl enable postfix [root@Lepard ~]# systemctl enable dovecot [root@Lepard ~]# systemctl enable saslauthd Check if Postfix is installed.
Rocky Linux8.6 Building a server

Rocky Linux8.6 : Let's Encrypt , Apache Mail SSL

1.Obtain SSL Certificate ( Let's Encrypt ) Install the latest open ssl # dnf install openssl-devel 1.1 Certificate Installation 2. Apache SSL Install the following just in case # dnf -y install mod_ssl 2.1 Edit ssl.conf file 3. Mail SSL/TLS(Let's Encrypt) 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.