### [筆記] Freebsd 10.1 post inatll

2015-02-24 工作筆記

portsnap fetch extract 更新 port tree

cd /usr/ports/ftp/axel ; make install clean 安裝 axel 下載工具

cd /usr/ports/sysutils/screen ; make install clean 安裝 screen

pkg install vim-lite 安裝 vim ，不知道為什麼，我用 ports 安裝 vim 都一直失敗，後來改用 pkg install 才成功

設定UTF-8 環境

/etc/csh.cshrc

setenv LC_CTYPE en_US.ISO8859-1 setenv LC_ALL zh_TW.UTF-8 setenv LANG zh_TW.UTF-8 setenv CLICOLOR set color

修改 ports 來源 & 下載工具

/etc/make.conf

MASTER_SITE_OVERRIDE=
ftp://ftp7.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp5.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp10.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp13.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp14.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp15.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp9.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp2.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp12.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp6.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp11.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp8.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp3.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp4.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ ftp://ftp.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/

USE_NONDEFAULT_X11BASE=yes WITHOUT_X11=yes NO_GUI=yes FETCH_CMD=axel FETCH_BEFORE_ARGS= -n 10 -a FETCH_AFTER_ARGS= DISABLE_SIZE=yes

cd /usr/ports/chinese/joe ; make install clean 安裝 joe 編輯器 ，這個用起來還是比較順手

===================================================================

nginx 勾選這些模組

    HTTP_DAV, HTTP_GZIP_STATIC, HTTP_PERL, HTTP_SSL, HTTP_DAV_EXT

    但是安裝到 http_dav_ext 時會出現問題
    只好手動下載
    cd /usr/ports/distfiles ; axel ftp://80.68.249.119/distfiles/arut-nginx-dav-ext-module-v0.0.3-0-g6974186.tar.gz

    然後再用 ports make install 應該就可以順利進行

comments powered by Disqus
© 2017 by Lednerb
Bilberry Hugo Theme