欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
FreeBSD
来自开放百科 - 灰狐
目录 |
常用命令
/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
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
Java
cd /usr/ports/java/jdk15
make install clean
or get Java JDK and JRE 6.0 binaries for FreeBSD 6.x and FreeBSD 7.x on the i386 and amd64 architectures from
http://www.freebsdfoundation.org/downloads/java.shtml vi .cshrc JAVA_HOME=/usr/local/diablo-jdk1.6.0 PATH=$JAVA_HOME/bin:$PATH export JAVA_HOME PATH
BSD发行版
- FreeBSD : The Power To Server http://www.freebsd.org
- OpenBSD : Free, Functional & Secure http://www.openbsd.org
- NetBSD : Of course it runs NetBSD http://www.netbsd.org
- OpenDarwin : the core of Mac OS X http://www.opendarwin.org
- DragonFly BSD http://www.dragonflybsd.org/
- TrustedBSD http://www.ccc-air.com/
- PC-BSD - Personal Computing, served up BSD Style! http://www.pcbsd.org/
- FreeSBIE - a LiveCD based on the FreeBSD http://www.freesbie.org/
- BSD Installer: http://www.chinashibang.cn/
- RelaxBSD: http://www.relaxbsd.org/
- miniBSD: the mini FreeBSD system
- NanoBSD
安装指南
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/
相关链接
分享您的观点