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

2023

Archlinux_en

ArchLinux : Installation #2 Disk Partitioning

1. Partitioning the disk on which Arch Linux is installedThis time, use gdisk command in UEFI mode and GPT for the partition table.Check current disk information# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSloop0 7:0 0 693.5M 1 loop /run/archiso/airootfssda 8:0 0 20G 0 disksr0 11:0 1 813.3M 0 rom /run/archiso/bootmntIn the above case, a 20 GB virtual HDD was created on VmwareWorkstion, so the SIZE of the sda is set to 20 GB.The sda in the NAME line is the name of the device that represents the entire disk and will be partitioned to this sda.This time, create an EFI partition and a partition for Arch Linux, but not a swap partition.In the past, a partition was created for swap and allocated as swap, but now a "swap file" can be used without a swap partition.A "swap file" is a method of creating a single file of any size for swap and using that area as swap, which can be created, deleted, and resized.
Archlinux_en

ArchLinux :  Installation #1 Image Download and Preparation

Arch Linux Arch Linux is a Linux distribution.Unlike other distributions, which often perform graphical installation, Arch Linux uses a CUI command line screen to perform the installation process.However, since there is no need to install unnecessary packages, you can create your own environment that is highly flexible, lightweight, and compact.Arch Linux does not have the "version" concept of other distributions.The installation ISO contains only the commands used during the installation process, and the ISO file is updated monthly to ensure that it is always up-to-date.Forte・Arch Linux does not have the "version" concept that other distributions have・The installation ISO image contains only the commands used during the installation process, and the ISO file is updated monthly.・Ability to work with the latest kernel and commands for installation・Arch Linux allows you to select and install only what you use, so no extra packages are installed.・Packages are always updated to be nearly up-to-date, so you can use the latest Linux kernel, the latest versions of software, and so on.・Arch Linux's proprietary package manager, pacman (CUI), takes significantly longer to install packages than other distributions.
Slackware 15.0_en

Slackware15.0 : Mail Server Install

Postfix Installation①Edit postfix configuration fileTo prevent unauthorized mail relay, configure Postfix to require authentication for outgoing mail as well, using Dovecot's SASL function.
Slackware 15.0_en

Slackware15.0 : WordPress Download and Installation

Database for WordPressCreate user, password and database for...
Slackware 15.0_en

Slackware15.0 : FTP (Vsftpd) server installation

Vsftpd ConfigurationSlackware has "vsftpd" installed by default, but it is not activated.  Edit the "vsftpd" configuration file to activate it.# vi /etc/vsftpd.confChange to line 12 NO.anonymous_enable=NOChange line 113 to YESlisten=YESAdd to last lineuse_localtime=YESEnable ftp as "inetd" is in charge of startup
Slackware 15.0_en

Slackware15.0 : Installing packages

Installing packagesSelect installation media and other insta...
Slackware 15.0_en

Slackware 15.0 : Disk partition format

Partition formatting and directory mapping1.Launch Slackware...
FreeBSD13.2_en

FreeBSD13.2 : OS INSTALL

FreeBSDFreeBSD 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.FeaturesHigh-speed, high-performance multi-platform capable of withstanding high workloadsAdopted by many major companiesNetwork security measures can be applied by restricting accessCapable of operating small to large serversMore than 33,000 dedicated software applications from commercial to personal useInstall1.Download Installation ImageGo 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 : Mail Server(Postfix,Dovecot) , SSL/TLS

1.Obtaining a certificate for the mail serverObtain 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 command2.2 procmail InstallMail is sorted by procmail.2.3 cyrus-sasl2 , cyrus-sasl2-saslauthd InstallUse SASL for SMTP authentication; install Cyrus SASL2 library3. Postfix Install3.1 Install4. Dovecot Install4.1 Install5.Create user mail directory①Create mail directory for existing users (existing user is assumed to be huong)
FreeBSD13.2_en

FreeBSD13.2 : Web Server SSL、Webmin

1.Web server (Apache) SSL conversionThe 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 EncryptRun the following command to install the Certbot package and the Apache HTTP plug-in2. Webmin InstallWebmin is a web browser-based tool for configuring Unix-like operating systems (OS) such as Linux. It allows users to make numerous changes to internal OS settings such as user and disk usage limits, services, configuration files, etc., and to modify and control many open source applications such as Apache, PHP, MySQL, and others.Webmin is built primarily in Perl and runs as its own process and web server. By default, it communicates on TCP port 10000.
FreeBSD13.2_en

FreeBSD13.2 : FTP Server , Samba Fileserver

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

FreeBSD13.2 : Initial setup (Vim , SSH , firewall, NTP server)

1. Vim InstallInstall Vim, which you are familiar with as an editor, as follows2. SSH Connection Security Measures2.1 SSH port changed, root user login disabled3. Firewall SettingsFreeBSD has the following firewalls・pf・ipfw・ipfIn this case, we will use ipfw to configure the firewall。4. NTP Server Settings4.1 Rewrite the referenced NTP server in /etc/ntp.conf. Add an appropriate server in Japan.
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_configLine 61.#PasswordAuthentication no → PasswordAuthentication yes Make the changes and reflect the settings with the following command# service sshd restartNow you can connect via SSH from TeraTerm on Windows (see the default settings for other operating systems for settings in TeraTerm).
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. ClamAV1.1 Install# cd /usr/ports/security/clamav# make install cleanEach option is installed by default for nowclamav version check