freebsd使用
Posted yunweiweb
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了freebsd使用相关的知识,希望对你有一定的参考价值。
ssh开启
ee /etc/inetd.conf #去掉sshd注释 ee /etc/ssh/sshd_config PermitRootLogin no改为PermitRootLogin yes PasswordAuthentication no改为PasswordAuthentication yes ee /etc/etc/rc.conf sshd_enable="YES"
配置网卡
ifconfig em0 192.168.31.100/24 #在网卡em0添加IP,重启会失效 route add default 192.168.31.1 #添加默认路由,也可以理解成网关,重启也会失效 ee /etc/rc.conf #添加在这个文件就不怕重启生效 ifconfig_em0="inet 192.168.31.100/24" defaultrouter="192.168.31.1" service netif restart #重启网卡 service routing restart #重启路由
以上是关于freebsd使用的主要内容,如果未能解决你的问题,请参考以下文章
如何在 FreeBSD 9.1 系统中使用 libdb-4.2?