Click here for "Error Codes for Commercial Air Conditioners".

2022-05

Ubuntu22.04_en

Ubuntu Server 22.04 : Initialization

1. Set root password and use SU command The root user is unavailable in the default Ubuntu configuration because no password is set. Setting a password for the root user allows transitions using the conventional [su] command. $ sudo passwd root [sudo] password for ← Current user's password Enter new UNIX password: ← Enter the root user password to be set Retype new UNIX password: ← Re-entry force
Ubuntu22.04_en

Ubuntu Server 22.04 : WEB Server(Apache)

Apache2 installation. Allow http:80 port and https:443 port in UFW first. # ufw allow http # ufw allow https # ufw reload 1 Install Apache2 # apt -y install apache2 2 Apache2 Basic Settings
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
Ubuntu22.04_en

Ubuntu22.04 Server : Backup and Restore

1. System Backup 1.1 Backup under /var/www/html ①Create /var/www/system directory # mkdir -p /var/www/system ②/Create backup_all.sh script under var/www/system # vi /var/www/system/backup_all.sh backup_all.sh script contents
Ubuntu22.04_en

Ubuntu22.04 Server : SNORT , Tripwire

1.SNORT 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.
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 Certificates It 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.
Ubuntu22.04_en

Ubuntu Server22.04 : Obtaining and Installing Images

Download Ubuntu Server 22.04 installation image Ubuntu Server installation media can be downloaded from official sites on the Internet. You will need to create an installation CD/DVD from the downloaded iso file. (approx. 1.2G) The iso file itself is available for installation on a virtual machine using Vmware or other software. The iso file can be downloaded from the "Official Ubuntu Download Site". Ubuntu Server 22.04 installed Change the BIOS so that the PC can boot from the installation disk created above.
Debian11.3 Building a server

Debian11.3 : OS Install

1.Debian11 Overview In this article, we will explain how to build a server with Debian, the basis of the user-friendly Linux distribution UBUNTU. The latest release is Debian 11.3 (codenamed "bullseye"). Released on August 14, 2021 with an update (point release) on March 26, 2022. 2.Download Debian installation image Debian11 download site https://www.debian.org/ Access the above official website and download "debian-11.3.0-amd64-netinst.iso." which is convenient for setup in an environment connected to the Internet.(Fits on a single CD) NETINST allows you to download and install the necessary packages from the Internet, so you can use a smaller installer (approximately 378 MB for v11.3.0) than a full installer. Click through the following screens in order.
Debian11.3 Building a server

Debian11.3 : WEB Server Apache Install

Web server Apache2 installation Allow http:80 and https:443 ...
Ubuntu22.04_en

Ubuntu Server 22.04 : NTP , FTP Server(Vsftpd)

1. Install a time synchronization service NTP server # apt -y install chrony # vi /etc/chrony/chrony.conf # Lines 20-23.:Comment the default settings and add the NTP server for your time zone. #pool ntp.ubuntu.com     iburst maxsources 4 #pool 0.ubuntu.pool.ntp.org iburst maxsources 1 #pool 1.ubuntu.pool.ntp.org iburst maxsources 1 #pool 2.ubuntu.pool.ntp.org iburst maxsources 2
fedora35_en

Fedora35 : 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 35 Server, released November 02, 2021
Ubuntu22.04_en

Ubuntu Server 22.04 : SSH public key cryptosystem

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 key pairs. 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.
Debian11.3 Building a server

Debian11.3 : SSH public key cryptosystem

RSA SSH connection with authentication using public key cryptography Create 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. The creation of a public/private key pair is performed with remote login user privileges (e.g., 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.
fedora35_en

Fedora35 : System Backup & Restore

Web configuration file (under html) backup ①Create backup script file # cd /var/www/system/ # vi html_backup.sh Contents of html_backup.sh MySQL database backup ①Create backup script file Web configuration file (under html) restored ① Copy the HTML backup file to the "/ (root)" directory of the server to be used for restoration Restore MySQL data ① Save database backup file to any directory
fedora35_en

Fedora35 ; Let’s Encrypt , Apache Mail SSL

Obtain SSL Certificate (Let's Encrypt) Install the latest open ssl # dnf install openssl-devel 1.Certificate Installation # dnf -y install certbot # certbot certonly --webroot -w /var/www/html/[domain name] -d [domain name] # Registration of e-mail address and agreement to terms of use are required for the first time only. # Specify an email address to receive