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

2020-01

Ubuntu 18.04 Building a server

Ubuntu Server 18.04 ; Obtaining and Installing an Image

Download the installation imageThe installation media for Ubuntu Server can be downloaded from the official website on the Internet.You will need to create an installation CD/DVD from the downloaded iso file.The download location for the iso file isUbuntu official download siteInstallChange the BIOS so that the PC can boot from the installation disk created above, and then boot the PC.
Ubuntu 18.04 Building a server

Ubuntu Server 18.04 ; Web server and antivirus installed.

1. WEB server installation1. 1 Apache2 installation① Install# apt -y install apache2② Edit configuration file# vi /etc/apache2/conf-enabled/security.conf# Line 25: ChangeServerTokens  Prod
Ubuntu 18.04 Building a server

Ubuntu Server 18.04 ; FTP Serve , NTP Server

1.Install the FTP server vsftpd① Install# apt install vsftpd② Allow PORT21 to be used by FTP in UFW(firewall)# ufw allow ftp# ufw reload③ Edit the configuration file (vsftpd.conf)
Ubuntu 18.04 Building a server

Ubuntu Server 18.04 Initial Setup

1. Set the root password and use the SU command$  passwd rootpassword for ← Current user's passwordEnter new UNIX password: ← Enter the root password to be set.Retype new UNIX password: ← Re-enter the same passwordpasswd: password updated successfully