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

nuy

Debian12.8_en

Debian12.8 : Let's Encrypt, WEB/Mail Server SSL

1. Obtain a certificate(Let's Encrypt)1.1 advance preparation1.Enable mod_ssl# a2enmod ssl2.Package management system Snappy installedLet's Encrypt's SSL certificate issuing tool "certbot" is recommended to be installed using "snap" after 2021, so install Snapd first.2. SSL/TLS (Let's Encrypt) configuration for Apache2①Edit Apache2 SSL-related configuration fileshoge.com-ssl in hoge.com-ssl.conf is an arbitrary name3. SSL/TLS (Let's Encrypt) settings on the mail server3.1 Obtaining a certificate for the mail serverObtain 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.8_en

Debian12.8 : MariaDB , WordPress Install

1. MariaDB1.1 Install# apt install mariadb-serverMariaDB version confirmation# mariadb -Vmariadb Ver 15.1 Distrib 10.11.6-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper1.2 MariaDB Server Security SettingsMariaDB comes with a default security script, mariadb-secure-installation, which can be used to improve the security of your MariaDB installation, includingSet a password for the root account (if necessary).Disable remote root login to the database.Delete anonymous user accounts.Delete the test database to which anonymous users have access by default.2.WordPress2.1 Database CreationCreate a database for Word Press (for example, in this case, the database name is "wp_db", the user name is "wp_user", and the password is "?Y123456y")
Debian12.8_en

Debian12.8 : Suricata + Elastic Stack + Kibana

Debian12.8 ; Suricata + Elastic Stack + KibanaPrerequisite.We will install Suricata IDS and ElasticStack on the following servers・1st server Suricata IDS & Filebeat : Debian12.5 IP address (192.168.11.83)・2nd server ElasticStack & kibana : Ubunru22.04 IP address(192.168.11.100) 1st server Suricata InstallSURICATA 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.
Debian12.8_en

Debian12.8 : Logwatch , Chkrootkit , Disk Usage Check Script

LogwatchLogwatch compiles various logs together and delivers them as a report via email on a regular daily basis. This is a useful tool for detecting unauthorized access and problems and monitoring servers.Chkrootkitchkrootkit is a tool to detect the presence of rootkits.Note that chkrootkit is meaningless after it has already been tampered with, so consideration must be given when introducing it. In addition, chkrootkit has no function to automatically deal with a rootkit even if it detects it, so it must be dealt with manually after detection.
fedora42_en

Fedora42 : Remote connection with SSH public key cryptography

Remote connection with SSH public key cryptography  Creation...
Ubuntu25.04_en

Ubuntu Server25.04 : Tripwire , disk usage check script , Logwatch

TripwireImplement a system to detect file tampering on Linux...
Ubuntu25.04_en

Ubuntu Server25.04 : OS Install

Ubuntu Server 25.04 Download Installation ImageUbuntu 25.04 ...
Ubuntu25.04_en

Ubuntu Server25.04 : Initial settings after OS installation

1. Set root password and use SU commandIn the default config...
Ubuntu25.04_en

Ubuntu Server25.04 : SSH , Firewall(UFW)

1. SSH Service Security SettingsThe SSH service allows the r...
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...