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
上一篇:swagger UI配置


下一篇:属性---@property将方法伪装成属性