Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".

FreeBSD13.2 ; 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_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).

1. Binary Update

Display of kernel and other version information

Get all available binary updates (security updates)

Install updates or upgrades

Restart the server to boot with the installed image

Check for updated version

2. Update Packages and Ports Collection

2.1 Package system (pkgng) first run configuration

①Initial run configuration

OK when the list of installed packages appears.

2.2 Update Packages

PACKAGES can use the pkg command to install applications without requiring compilation. However, packages alone cannot install all applications. Dependencies can get in the way and cause necessary applications to be removed.

2.3 Update Ports Collection

Download and update the ports collection using portsnap included with FreeBSD.

①download and deploy the ports collection

➁Port Collection Installation
If you did not install ports during the OS installation, proceed as is.
If you have installed ports, please remove the Ports Collection already installed before proceeding if you intend to use git in the future.

➂When installing pkg with Ports Collection
If make stopped --- make deinstall →make reinstall

④Port Collection Update

④Bulk update (renewal) of packages installed using Port Collection
Find a portmaster

portmaster installation

Bulk update using portmaster