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

nuy

Rocky Linux9.1_en

RockyLinux 9.1 ; Various settings after installation

1.Disabling 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. SELinux operating modes Enforcing : SELinux functionality is enabled and access control is enabled Permissive : SElinux will warn, but no access restrictions will be placed disabled : Both SElinux function and access control are disabled 2.System Modernization Package updates are performed as soon as possible immediately after OS installation. However, when a dnf update is performed, a kernel update is also performed at the same time. A kernel update may require rebooting the system or stopping services, or worse, a kernel panic may occur and the system may not boot. It is wiser to exclude the kernel from the update. The kernel can be excluded from updates by running dnf -y update with "--exclude=kernel*" after it.
Almalinux9.1_en

AlmaLinux 9.1 ; Various settings after installation

1.Disabling 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. ①Disable SELinux while it is activated but no policy is loaded 2.Modernize the system Package updates are performed as soon as possible immediately after OS installation. However, when a dnf update is performed, a kernel update is also performed at the same time. Performing a kernel update may require rebooting the system or stopping services, or worse, a kernel panic may occur and the system may not boot. It is wiser to exclude the kernel from the update. By running dnf -y update with "--exclude=kernel*" behind it kernel can be excluded from the update target.
Debian12.1_en

Debian12 ; Let's Encrypt WEB , Mail Server SSL

1. Obtain a certificate (Let's Encrypt) 1.1 advance preparation ①Enable mod_ssl # a2enmod ssl 2. SSL/TLS (Let's Encrypt) configuration for Apache2 ①Edit Apache2 SSL-related configuration files 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.
Debian12.1_en

Debian12 ; Anti-virus(Clamav) 、Mail Server

1.Antivirus software Clamav installed Install Clam AntiVirus, a free anti-virus software for Linux, as an anti-virus measure. By installing this anti-virus software, you can not only scan the entire server for viruses, but also scan incoming and outgoing mail for viruses if you build and configure a mail server. 2. Mail server installation Postfix was developed as a Mail Transport Agent (MTA) to replace sendmail, and is a mail server that is highly compatible with sendmail, secure, easy to maintain, and fast. In addition, since Postfix only functions as an SMTP server for sending mail, the POP server Dovecot for receiving mail will be installed separately in the latter half. 3 Applied ClamAV to mail server Postfix Set up Postfix and Clamav to work together to scan incoming and outgoing mail in real time. 4 Apply spam checks to the mail server 4.1 Spam checking using spamassassin and procmail ①spamassassin and procmail installation
Archlinux_en

ArchLinux ; Web server SSL ( Let's Encrypt )

1.Obtain SSL Certificate ( Let's Encrypt ) Install the latest open ssl # pacman -S openssl 1.1 advance preparation 1.Package management system Snappy installation
Archlinux_en

ArchLinux ; MariaDB , WprdPress

1. MariaDB 1.1 MariaDB Installation ①Install # pacman -S mariadb ➁Configure MariaDB # mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql 1.2 phpMyAdmin Installation Installed phpMyAdmin and configured it to operate MariaDB via web browser ①Install 2. Wordpress Install 2.1 Required library installation # pacman -S php-gd 2.2 Edit php.ini
FreeBSD14_en

FreeBSD14 ; Web Server SSL、Webmin

1. Web server (Apache) SSL conversion The 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 Encrypt Run the following command to install the Certbot package and the Apache HTTP plug-in
FreeBSD14_en

FreeBSD14 ; Postfix ClamAV + Amavis + SpamassAssin

Install ClamAV on FreeBSD 14 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. ClamAV 1.1 Install # cd /usr/ports/security/clamav # make install clean Each option is installed by default for now clamav version check
FreeBSD13.2_en

FreeBSD13.2 ; Mail Server(Postfix,Dovecot) , SSL/TLS

1.Obtaining a certificate for the mail server Obtain a certificate for the mail server to convert the mail server to SSL/TLS. Use the certbot that was used when the web server was converted to SSL. Stop the web server and execute the following command 2.2 procmail Install Mail is sorted by procmail. 2.3 cyrus-sasl2 , cyrus-sasl2-saslauthd Install Use SASL for SMTP authentication; install Cyrus SASL2 library 3. Postfix Install 3.1 Install 4. Dovecot Install 4.1 Install 5.Create user mail directory ①Create mail directory for existing users (existing user is assumed to be huong)
FreeBSD13.2_en

FreeBSD13.2 ; FTP Server , Samba Fileserver

1. FTP Server(Vsftpd) 1.1 advance preparation ①Private Key C...
FreeBSD13.2_en

FreeBSD13.2 ; OS INSTALL

FreeBSD FreeBSD is UNIX-like open source OS software. In particular, its performance as a network operating system exceeds that of Linux-based systems, and it maintains stable performance even under high loads. FreeBSD is designed to be robust and sturdy with an emphasis on practicality, making it suitable for operating FTP, WWW, and e-mail servers for major companies and services. In this project, we will install FreeBSD 13.2, released on April 11, 2023, and build the server. Features High-speed, high-performance multi-platform capable of withstanding high workloads Adopted by many major companies Network security measures can be applied by restricting access Capable of operating small to large servers More than 33,000 dedicated software applications from commercial to personal use Install 1.Download Installation Image Go to the FreeBSD distribution site (https://www.freebsd.org/where/) and select amd64
FreeBSD13.2_en

FreeBSD13.2 ; Postfix ClamAV + Amavis + SpamassAssin

Install ClamAV on FreeBSD 13 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.
FreeBSD13.2_en

FreeBSD13.2 ; WEB Server(Apache2) , MySQL8

1. Apache2 1.1 Install 2. MySQL Install Install MySQL before installing PHP 3. apache24 - PHP 8.0 3.1 PHP Install
FreeBSD13.2_en

FreeBSD13.2 ; Initial setting (Update binaries, Packages and Ports Collection)

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_config Line 61. #PasswordAuthentication no → PasswordAuthentication yes Make the changes and reflect the settings with the following command # service sshd restart Now you can connect via SSH from TeraTerm on Windows (see the default settings for other operating systems for settings in TeraTerm).
fedora39_en

Fedora39 ; Mysql8 , WordPress Install

Mysql8 Install # dnf -y install mysql-server charset.cnf   Create a new one with the following contents WordPress Install 1. Create database for Word Press As an example, assume database [wp_db] database user [wp_user] password [?W123456]