FreeBSD uses PORTS to install MySQL

Source: Internet
Author: User
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/$

,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.