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

2020-02

Ubuntu 18.04 Building a server

Ubuntu Server 18.04 ; Installing MySQL

Installing MySQL1.Install the necessary packages.# apt update# apt install mysql-server2.Configure security settings for MySQL server.There is a tool called mysql_secure_installtion that can be used to configure security-related settings for the MySQL server.When you run it, it will ask you a series of questions to help you configure some security settings.
Ubuntu 18.04 Building a server

Ubuntu Server 18.04 ; SSL/TLS applied to web , mail , FTP server

1. Apache2 : SSL/TLS ConfigurationDescribes how to apply an SSL certificate obtained with Let's Encrypt to apache.Domain name : hoge.com1.1 Configuration of Apache2①Editing the Apache2 configuration fileRename and copy the default conf file (e.g. "hoge.com-ssl.conf")
Ubuntu 18.04 Building a server

Ubuntu Server 18.04 ; Mail Server Install

1.Postfix : Installation / ConfigurationPostfix is a software developed as an MTA (Mail Transport Agent) to replace Sendmail, and is a mail server with features such as high compatibility with Sendmail, security, easy maintenance, and speed.Also, since Postfix only functions as an SMTP server for sending mails, you will need to install a POP server for receiving mails separately as described later.
Ubuntu 18.04 Building a server

Ubuntu Server 18.04 ; Obtain an SSL certificate (Let's Encrypt).

Obtaining a certificate with Let's Encrypt①Enable mod_ssl# a2enmod ssl②Install Git.# apt-get install -y git③Install the certificate acquisition tool# cd /usr/local/# git clone https://github.com/certbot/certbot