業務用エアコン関連の技術情報、エラーコード、環境問題対策に関する別サイト「エアコンの安全な修理・適切なフロン回収」

nuy

Ubuntu25.04_en

Ubuntu Server25.04 : SSH connection with authentication using public key cryptography

Creation of public and private key pairsCreate a public/priv...
Ubuntu25.04_en

Ubuntu Server25.04 : NTP , FTP(Vsftpd) , Samba Install

1. Install NTP serverConfiguration ReflectionConfirmation of...
Ubuntu25.04_en

Ubuntu Server25.04 : WEB Server(Apache)

Apache2Allow http:80 port and https:443 port in UFW first.1....
Ubuntu25.04_en

Ubuntu Server25.04 : Anti-Virus(Clamav) , Mail Server

1.Anti-virus software Clamav installed1.1 InstallThe clamav-...
Ubuntu25.04_en

Ubuntu Server25.04 : Web server, Mail server SSL conversion (Let's Encrypt)

1. Obtain a certificate(Let's Encrypt)1.1 advance preparatio...
Ubuntu25.04_en

Ubuntu Server25.04 : MySQL8 , WordPress Install

1. MySQL81. 1 InstallVersion Check1.2. Setting the root pass...
Ubuntu25.04_en

Ubuntu Server25.04 : Suricata , SNORT3

SuricataSURICATA IDS/IPS is an open source IDS that monitors...
Ubuntu24.04_en

Ubuntu Server24.04 : Suricata , SNORT3

SuricataSURICATA IDS/IPS is an open source IDS that monitors communications on the network and detects suspicious traffic. Its 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.Suricata Install①Install required packagesSnort31.Install required packages# apt install build-essential libpcap-dev libpcre3-dev libnet1-dev zlib1g-dev luajit hwloc libdumbnet-dev bison flex liblzma-dev openssl libssl-dev pkg-config libhwloc-dev cmake cpputest libsqlite3-dev uuid-dev libcmocka-dev libnetfilter-queue-dev libmnl-dev autotools-dev libluajit-5.1-dev libunwind-dev libfl-dev -y2. Install DAQ library
Ubuntu24.04_en

Ubuntu Server24.04 : Anti-Virus(Clamav) , Mail Server

1.Anti-virus software Clamav installed1.1 InstallThe clamav-...
Ubuntu24.04_en

Ubuntu Server24.04 : WEB Server(Apache)

Apache2 InstallAllow http:80 port and https:443 port in UFW first.3 Apache2 : Using Perl ScriptsEnable CGI to make Perl scripts available①Perl Install4 Apache2 : Using PHP Scripts①PHP Install5 Apache2 : Virtual Host Settings①Copy the default configuration file (file name is arbitrary, in this case vhost-yourdomain.conf as an example) and configure the virtual host6. Digest authentication with Apache2Since Basic Authentication, a well-known authentication authentication method for http, transmits authentication information in plain text, there is a risk of ID and password leakage if the packet is intercepted.On the other hand, Digest Authentication encrypts the authentication information and sends it in encrypted form, so there is almost no risk of information leakage.
Ubuntu24.04_en

Ubuntu Server24.04 : SSH connection with authentication using public key cryptography

SSH connection with authentication using public key cryptography Creation of public and private key pairsCreate 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.
fedora41_en

Fedora41 : System Backup and Restore

1.Website data backupBackup under /var/www/html①Create backup script file2.MySQL database backup①Create backup script file3.Web configuration file (under html) restored① Copy the HTML backup file to the "/ (root)" directory of the server to be used for restoration4.Restore MySQL data①Save database backup file to any directory
fedora41_en

Fedora41 : Clamav , Mail Server

1. Clamav ( anti-virus software )1.1 Clam AntiVirus Install# dnf -y install clamav clamd clamav-update1.2 Edit Clam AntiVirus configuration file2. Mail server(Postfix)2.1 Postfix InstallInstall Postfix and build an SMTP server# dnf -y install postfixCheck if Postfix is installed3. Mail server(Dovecot)3.1 Dovecot Install# dnf -y install dovecot4.Create mail user and check operation4.1 advance preparation①Pretreatment for new usersWhen a new user is added, set up the system to automatically send and receive e-mail.Mail Server : Postfix + Clamav + clamav-milter+SpamAssassin1.Real-time scanning of e-mails①clamav-milter InstallVirus checks are performed on the mail server side using Clam AntiVirus.The mail server and Clam AntiVirus are linked using clamav-milter.
Debian12.1_en

Debian12.1 : OS Install

1.Debian12 OverviewIn this article, we will explain how to build a server with Debian, the basis of the user-friendly Linux distribution UBUNTU.The latest is Debian 12.0 (codenamed "bookworm"), released on June 10, 20232.Download Debian installation imageDebian12 download site  https://www.debian.org/Access the above official website and download "debian-12.0.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 than a full installer.Click through the following screens in order.
Archlinux_en

ArchLinux : MariaDB , WprdPress

1. MariaDB1.1 MariaDB Installation①Install# pacman -S mariadb➁Configure MariaDB# mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql1.2 phpMyAdmin InstallationInstalled phpMyAdmin and configured it to operate MariaDB via web browser①Install2. Wordpress Install2.1 Required library installation# pacman -S php-gd2.2 Edit php.ini