Posts

Showing posts with the label ports

Set ports and portsnap in China for FreeBSD

 1.Install ports: # portsnap fetch -s portsnap.cn.freebsd.org 2. Edit /etc/portsnap.conf SERVERNAME=portsnap.tw.FreeBSD.org 3. Download portsnap # portsnap fetch extract Update # portsnap update 4. Edit file /etc/make.conf and add configuration as follows: FETCH_CMD=axel -n 30 -a # Open 30 threads to download DISABLE_SIZE=yes MASTER_SID_OVERRIDE?=http://mirrors.163.com/freebsd/ports/distfiles/