port命令记录
Posted coolmark-blog
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了port命令记录相关的知识,希望对你有一定的参考价值。
port 命令记录
# fetch the ports tree
portsnap fetch extract
# update the locally cached copy of the ports database
portsnap fetch update
# search the ports tree,install BASH
cd /usr/ports
make search name="bash" | less
cd /usr/ports/shells/bash
make config install clean
# change the default shell
chsh -s /usr/local/bin/bash
cd /usr/ports/net/ntp
make clean
make
make install clean
以上是关于port命令记录的主要内容,如果未能解决你的问题,请参考以下文章
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.(代码片段