Freebsd is a Unix-like operating system, it is well established as a system for building web server provides reliable enough network services and efficient memory management.
- - computer FreeBsd.
Set collection ports , to use the ports in Freebsd, a collection of files, patches, which is located in the folder usr / ports.Use this method sysinstall.
Start it with the command # sysinstall, go to the bottom, select Configure, press Enter, point to Distributions, Ports, and then click Exit.Then, select the media from which you want to install the ports collection .Next, click on X, to exit the installer.
Get ports collection using Cvsup.To do this, you must install the port Net / cvsup.Start it with the command # cvsup -g -L 2 / root / ports-supfile.If you run this command again, all the recent changes will be downloaded and transferred to the collection of ports .
Perform installation ports , note that the port skeleton is a minimal set of fi
les indicating FreeBSD, like should be performed to install and compile the program.To install the port with the disc, insert it into the drive and mount the directory / cdrom.
then navigate to the folder with the port.Compile / construction of the port, this command Make register in response to the appearance of the shell prompt.Next, set the port to do this, the command # make install.Then run the installed application.
Set ports from the Internet.To do this, download the distribution file, and set it by running # make install.To download system utility is used Fetch, taking into account the different environment variables.
If your Internet connection is located behind a firewall or is using a proxy, specify the corresponding variables.Get a list of them can be help for the utility http://www.freebsd.org/cgi/man.cgi?query=fetch&sektion=3.
Tip 2: How to install ports freebsd
Most beginners FreeBsd faced with a lack of the necessary ports in the assembly.To solve this problem, there are some simple techniques that make even beginners can easily install the necessary ports on your system.
- - ports collection.
For starters, make sure you have access to the root, and all actions carried out on its behalf.To access this console, type the login root.Be sure to use the official server with a collection of ports ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/packages.After that, you decide what program you will undertake the installation.
Sysinstall To start the utility, type the following line in the console: / usr / sbin / sysinstall.Then, open the Configure, Distributions, Ports (click on 3 key 2 times Enter, 1 time "Space"), and select the method of loading ports collection (Internet protocols, flash media, CD-ROMs, etc.)
Another utility to install a port programs PortSnap.To do this, go back to the system under the login root.Load port, enter the console portsnap fetch, then unzip the ports in line with the launch of "portsnap extract".If the last command has been executed earlier, proceed with the upgrade (portsnap update).It is also possible to configure the ports for updates on the time frame.To do this, go to the directory / etc / crontab, and then type "0 3 * * * root / usr / sbin / portsnap cron" (updated 1 time per month).
to install ports using CVSup to start the utility, log in as username root.Copy the file / usr / share / examples / cvsup / ports-supfile to any other directory, then edit it.Change the value to the address of the nearest CHANGE_THIS.FreeBSD.org CVSup-server.Go to this link for a list of http://www.freebsd.org/doc/ru/books/handbook/cvsup.html#CVSUP-MIRRORS servers.After all these manipulations run CVSup, entering the line "# cvsup -g -L 2 / root / ports-supfile".