FreeBSD

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第69行: 第69行:
 
* [[winxp,solaris10,linux,freebsd install in a system]]
 
* [[winxp,solaris10,linux,freebsd install in a system]]
 
* [[FreeBSD on IBM X31]]
 
* [[FreeBSD on IBM X31]]
 +
==Storage==
 +
*[[ZFS on FreeBSD]]
 +
*http://www.stacken.kth.se/projekt/arla/
 +
*http://www.freebsd.org/projects/bigdisk/index.html
 +
*http://www.coda.cs.cmu.edu/
 +
*http://www.ece.cmu.edu/~ganger/papers/
 +
*http://www.tcfs.unisa.it/
 +
*http://now.cs.berkeley.edu/Td/
 +
*http://www.vinumvm.org/
 +
*http://www.tamacom.com/pathconvert/
 
==相关链接==
 
==相关链接==
 
*http://www.freebsd.org
 
*http://www.freebsd.org

2008年5月7日 (三) 05:53的版本

Freebsd.png

目录

常用命令

/usr/sbin/sysinstall

install rsync

fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/rsync.tbz
#pkg_add rsync.tbz
#pkg_add -r rsync
#pkg_info rsync-2.6.6
#pkg_delete rsync-2.6.6
or
cd /usr/ports/net/rsync
#make
#make install
Freebsd-server.png

Network Interface

  • dc0: The first Ethernet interface
  • dc1: The second Ethernet interface
  • lp0: The parallel port interface
  • lo0: The loopback device
  • tun0: The tunnel device used by ppp

IP FireWall

Step1:准备工作

#cd /sys/i386/conf
#cp GENERIC ./kernel_IPFW

Step2:内核规则

vim kernel_IPFW 在该文件的末尾加入以下四行内容:
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options IPFIREWALL_DEFAULT_TO_ACCEPT

Step3:编译系统内核

#/usr/sbin/config kernel_IPFW
#cd ../compile/kernel_IPFW
#make
#make install

Step4:加载启动项

编辑/etc/rc.conf, 加入
firewall_enable=`YES`
firewall_script=`/etc/rc.firewall`
firewall_type=`/etc/ipfw.conf`
firewall_quiet=`NO`
firewall_logging_enable=`YES`
编辑/etc/syslog.conf文件, 加入
!ipfw*.* /var/log/ipfw.log

以上步骤完成后重启电脑

#ipfw show
#ipfw add 10001 deny all from 218.249.20.135 to any 或保存再/etc/rc.firewall文件里
sh /etc/rc.firewall

参考: 小规模DDoS(拒绝服务)用Freebsd+IPFW搞定 http://bbs.51cto.com/archiver/tid-5376.html

sftp-server

/usr/libexec/sftp-server

BSD发行版

安装指南

Storage

相关链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱