Use cvsup to update ports and edit the make. conf file. It is recommended to minimize the installation of the system, and then install Packages: ports & src and netcvsup from the CD. If F is installed
Use cvsup to update ports to edit the make. conf file. It is recommended to minimize the installation of the system, and then install Packages: ports & src from the CD and/net/cvsup if F is installed
Use cvsup to update ports
Edit the make. conf file
We recommend that you install the Packages: ports & src and/net/cvsup on the CD.
If you have not installed cvsup when installing FreeBSD, follow the steps below to install
Cd/usr/ports/net/cvsup-without-gui
Make install // directly install
Cd // return to the user's home directory
Ee supfile // create a supfile File
The supfile content is as follows:
* Default tag =.
* Default host = cvsup.freebsdchina.org
* Default prefix =/usr
* Default base =/var/db
* Default release = cvs delete use-rel-suffix compress
Ports-base release = cvs
Ports-databases release = cvs
# Ports-ftp release = cvs
# Ports-www release = cvs
# Ports-net release = cvs
# Ports-devel release = cvs
There are some sample files under/usr/share/examples/cvsup/. You can also modify the files by referring.
Currently, you only need to install mysql, so you can only upgrade the base & databases branch and comment out other branches.
# Cvsup-g-L 2 supfile // start the upgrade operation
# Ee/etc/make. conf // modify the/etc/make. conf file
Set to first try to download the software from the domestic freebsd image site, and add
MASTER_SITE_OVERRIDE = ftp://ftp2.cn.FreeBSD.org/pub/FreeBSD/ports/distfiles/$
The complete make. conf example is as follows:
# -- Use. perl generated deltas --#
# Created: Tue May 31 16:25:51 2005
# Setting to use base perl from ports:
PERL_VER = 5.8.5
PERL_VERSION = 5.8.5
PERL_ARCH = mach
NOPERL = yo
NO_PERL = yo
NO_PERL_WRAPPER = yo
MASTER_SITE_OVERRIDE = ftp://ftp2.cn.FreeBSD.org/pub/FreeBSD/ports/distfiles/$
,