How To Set Port In Freebsd

Table of contents:

How To Set Port In Freebsd
How To Set Port In Freebsd

Video: How To Set Port In Freebsd

Video: How To Set Port In Freebsd
Video: Installing a FreeBSD GUI from Ports 2024, December
Anonim

Freebsd is a Unix-like operating system that has proven itself as a system for building Internet servers, provides reasonably reliable network services, and efficient memory management.

How to set port in freebsd
How to set port in freebsd

Necessary

a computer with FreeBsd

Instructions

Step 1

Install the ports collection to use ports in Freebsd, this is a collection of patch files that is located in the usr / ports folder. Use the sysinstall method for this.

Step 2

Run it with # sysinstall, go to the bottom, select the Configure option, press Enter, select Distributions, Ports, then click Exit. Then select the media from which you want to install the ports collection. Then click on the X button to exit the installer.

Step 3

Get a collection of ports using Cvsup. To do this, you need to install the Net / cvsup port. You can start it with the command # cvsup -g -L 2 / root / ports-supfile. If you run this command again, all the latest changes will be downloaded and transferred to the ports collection.

Step 4

Install the ports, note that the port skeleton is a minimal set of files that tell FreeBSD how the program should be installed and compiled. To install a port from disk, insert it into a drive and mount it in the / cdrom directory.

Step 5

Then go to the port folder. Compile / build the port by typing Make at the shell prompt. Next, install the port by running the # make install command. After that, launch the installed application.

Step 6

Install ports from internet. To do this, download the distribution file and install it with # make install. The system uses the Fetch utility to load it, taking into account different environment variables.

Step 7

If your internet connection is behind a firewall or uses a proxy, define the appropriate variables. You can get a list of them in the help system for the utility

Recommended: