nuy

FreeBSD14.1_en

FreeBSD14.1 ; FTP Server , Samba Fileserver

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

FreeBSD14.1 ; WEB Server(Apache2) , MySQL8

1. Apache2 1.1 Install # cd /usr/ports/www/apache24 # make config There are many options, but we will proceed wit 1. Apache2 1.1 Install # cd /usr/ports/www/apache24 # make config There are many options, but we will proceed wit
FreeBSD14.1_en

FreeBSD14.1 ; 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.1_en

FreeBSD14.1 ; 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
FreeBSD14.1_en

FreeBSD14.1 ; Postfix ClamAV + Amavis + SpamassAssin

Install ClamAV on FreeBSD 14.1 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
FreeBSD14_en

FreeBSD14 ; 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
FreeBSD14_en

FreeBSD14 ; WEB Server(Apache2) , MySQL8

1. Apache2 1.1 Install # cd /usr/ports/www/apache24 # make config There are many options, but we will proceed wit 1. Apache2 1.1 Install # cd /usr/ports/www/apache24 # make config There are many options, but we will proceed wit
FreeBSD14_en

FreeBSD14 ; FTP Server , Samba Fileserver

1. FTP Server(Vsftpd) 1.1 advance preparation ①Private Key Creation # cd /etc/ssl # openssl genrsa -des3 -out server.key 2048 Generating RSA private key, 2048 bit long modulus (2 primes) .........................................................................................................................................+++++ .................................................+++++ e is 65537 (0x010001) Enter pass phrase for server.key: Verifying - Enter pass phrase for server.key: Enter PEM pass phrase: Verifying - Enter PEM pass phrase:
FreeBSD14_en

FreeBSD14 ; Initial setup (Vim , SSH , firewall, NTP server)

1. Vim Install Install Vim, which you are familiar with as an editor, as follows # pkg install -y vim Edit the ".shrc" to make Vim available as the standard editor, and log in again to reflect the change. FreeBSD14 has sh as default shell. You can check the current SHELL with the following command
FreeBSD14_en

FreeBSD14 ; Initial setting (Update binaries, Packages and Ports Collection)

First do the following 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).
FreeBSD14_en

FreeBSD14.0 ; 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 14.0, released on Nov 14, 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
OracleLinux9.3_en

OracleLinux9.3 ; OS Install

OracleLinux9.3 Oracle Linux provides a 100% application binary compatible alternative to Red Hat Enterprise Linux and  CentOS Linux for both hybrid and multi-cloud environments. Since 2006, Oracle Linux has been completely free to download and use. Source code, binaries and updates are provided free of charge. It is freely redistributable. Free for use in production environments. This time, we will proceed with the latest Oracle Linux 9.3.(November 15, 2023 Release) 1.Oracle Linux9.3 Download Oracle Linux 9.3 installation image (OracleLinux-R9-U3-x86_64-dvd.iso ) can be downloaded from the following site https://www.oracle.com/linux/
Archlinux_en

ArchLinux ; Clamav ( Anti-virus software ) , Mail server

1. Install clamav ( anti-virus software ) 1.1 Clam AntiVirus Installation # pacman -S clamav 1.2 Virus definition file update settings # vim /etc/clamav/freshclam.conf Line 76 Insert "#" at the beginning of the line "DatabaseMirror database.clamav.net", Add "DatabaseMirror db.jp.clamav.net #DatabaseMirror database.clamav.net DatabaseMirror db.jp.clamav.net 2. Mail Server (Postfix) 2.1 Installing Postfix Install Postfix and build an SMTP server # pacman -S postfix 3. Mail Server(Dovecot) 3.1 Dovecot Installation # pacman -S dovecot 3.2 Edit dovecot.conf file Mail Server : Postfix + Clamav + clamav-milter+SpamAssassin 1. Real-time scanning of email ➁clamav-milter configuration
Archlinux_en

ArchLinux ; WEB Server(Apache2)

1. Apache2 installation and virtual host configuration 1.1 Apache2 Installation ①Install httpd # pacman -S apache Version Check # httpd -v Server version: Apache/2.4.58 (Unix) Server built: Oct 25 2023 18:28:29 1.2 Apache Configuration ①Edit httpd.conf file 2. Confirmation of CGI Script Usage ①CGI availability check 3. PHP installation and configuration 3.1 PHP8 installation ①Install # pacman -S php php-apache php-fpm ②Version Check
Archlinux_en

ArchLinux ; FTP Server , File Server (SAMBA)

1.FTP Server 1. 1 vsftpd installation # pacman -S vsftpd 1.2 vsftpd configuration ①Editing Configuration Files 2. vsftpd SSL/TLS Configure Vsftpd to use SSL/TLS 2.1 Create self-signed certificates This step is not necessary if you are using a trusted, legitimate certificate such as Let's Encrypt. The information you enter is meaningless and will only be used for encryption.