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

FreeBSD14.4 : OS Install , Initial Settings (Binary Updates, Updates to Packages and Ports Collection)

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.3, released on March 10, 2026, and build the server.

Install

1.Download the installation image
FreeBSD Download Site(https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.4/
Download "FreeBSD-14.4-RELEASE-amd64-dvd1.iso"

2.Create boot disk
Create a boot disk from the downloaded FreeBSD-14.4-RELEASE-amd64-dvd1.iso (DVD)
To create an image on a USB flash drive, download FreeBSD-14.4-RELEASE-amd64-memstick.img and use an image writer such as Win32 Disk Imager to create the image.

3.Change the BIOS settings and boot from the bootable media you created

The installation process from this point on is the same as for FreeBSD 14.3, so I will omit the details.

Initial setting

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.
The OpenSSH server allows password authentication login by default.
If the service is enabled, you can log in remotely.
Confirm validity of sshd service

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)
There was no update this time

Install updates or upgrades

Restart the server to boot with the installed image

Check for updated version

2. Pkgng

2.1 Package system (pkgng) first run configuration

Bring up to date.

2.2 Pkg command usage

1.Application Search

For example, if you are looking for Mysql8

2.Install Application

Install curl as an example

3.Obtaining information about installed packages

To retrieve information about the curl you just installed

4.Deleting Applications

5.Application Status

6.See application update status

>: If a newer version is released than the one currently installed
=: If a version equivalent to the one currently installed has been released
<: If an older version is released than the one currently installed

7. Update Packages

To update all packages

3 Installing the Ports Collection

Since portsnap has been removed in FreeBSD14, use git to download and update the ports collection.

1. Install git

When installing from ports

When installing with pkg

2. Port Collection Installation
Check out a copy of the HEAD branch of the ports tree
If there is already a Port Collection, delete it.

Update /usr/ports

3. perl5 upgrade

Check which versions of Perl can be installed

This time, we'll install the latest version of Perl 5.42

4. Maintenance tools for ports

First, set up the "ports" environment

nstall “ports” and ‘portupgrade’ to maintain “ports”.

5. Updating INDEX

To see the status of the database

If there is an “=” mark, the latest version is installed.
If there is a “<” mark, there is a newer version in “ports”.

6. Upgrading ports

Update “ports” with newer versions as a result of the above checks.

Copied title and URL