Freebsd 下运行 QQ For Linux 的方法
在Freebsd 下運行 QQ For Linux 的方法
必須滿足:
1 FreeBSD 版本為6.0 以上,FreeBSD 5 未測試
2 系統安裝的 linux_base 不能是 fc4 版的,即不能是linux_base-fc-4,其它的均可(linux_base-fc6 linux_base-f7 linux_base-f8 均可)
方法:
1 在 /boot/loader.conf 中加入
li ...
unix系统高手的操作习惯
使用文件名自动完成功能 (file name completion)。
使用历史扩展。
重用以前的参数。
使用 pushd 和 popd 管理目录导航。
查找大型文件。
不使用编辑器创建临时文件。
使用 curl 命令行实用工具。
最有效地利用正则表达式。
确定当前用户。
使用 awk 处理数据。
...
我的openBSD4.1安装图解笔记
一、准备工作1、下载新版openBSD4.1 地址 ftp://ftp.zedz.net/pub/OpenBSD.snapshot/2、测试环境 虚拟机vm5.5 (单CPU、256M内存、8G硬盘、双网卡)二、开始安装1、把ISO到虚拟光驱中,虚拟机中选择从光驱启动,启动后提示安装 ...
freebsd7.0安装系统图解(最新版)
光盘引导,简洁的欢迎界面出现叻,回车就行了。
选择我们伟大的祖国【China】
默认即可
我们要最小化安装FreeBSD系统,这里我们选择自定义【Custom】
上一页12 3 下一页 阅读全文
FreeBSD的软件管理
1、FreeBSD应用系统的组成
FreeBSD应用系统由FreeBSD操作系统和移植(ports)到FreeBSD的各种应用软件组成
FreeBSD操作系统本身,是由内核和基本系统组成,基本系统由系统工具、系统库和文档组成,最小化安装选项安装的是内核、系统工具和系统库,系统工具提供了完整的系统管理和编译程序程 ...
OpenBSD系统 DHCP 多 vlan 配置
4块DLINK 530 ,1个连接Internet,3个内网
-------------------------------
| | | |
vr0 连接Internet v ...
freebsd系统上修改mac地址的方法
ifconfig eth0 ether 00:05:06:07:d2:19
重新启动后会消失,可以加到/etc/rc.conf中
ifconfig_eth0_alias0="ether 00:05:06:07:d2:19"
整理FreeBSD系统安装时关于硬盘参数提示的处理方法
错误信息:WARNING: A geometry of 116301/16/63 for ad0 is incorrect.Using a more likely geometry.If this geometry is incorrect or you are unsure as to whether or not it's correct,please consult the Hardware Guide in the Documentation submenu or use the (G) eometry command to change it now.
Rememb ...
FreeBSD系统下创建DVD.iso安装光盘
准备刻一张FreeBSD-7.0-RELEASE的DVD,网上很多介绍都是在Windows下使用什么iso提取工具的,貌似很麻烦。参考了一些FreeBSD高手的实现,我写了一个简单的脚本,主要功能是从3张disc*.iso创建出一个dvd.iso
1,准备工作:
工作目录 work/ 和 3张disc*.iso, 比如
work/7.0-RELEASE-i386-disc1.iso
work/7.0-RELEASE-i386-dis ...
FreeBSD更新 Port Tree
为了使我们安装的软件是最新的版本,我们有必要定期更新Port Tree,所谓的更新port就是更新patches 。
1,CVSup/csup注意: csup 是用 C 语言对 CVSup 软件的重写, 在 FreeBSD 6.2 和更高版本中,作为系统的一部分提供。在首次运行 CVSup 之前, 务必确认 /usr/ports 是空的! 如果您之前已经用其他地方安装了一份 Ports 套 ...
FREEBSD服务器端的ARP绑定脚本
#!/bin/sh
_PATH="/home/shwb"
if [ -s $_PATH/md5 ] && [ -s $_PATH/arp.txt ] ; then
new=`md5 $_PATH/arp.txt | cut -d ' ' -f 4`
old=`cat $_PATH/md5`
if [ "$new" != "$old" ] ; ...
FREEBSD系统优化精华
1、优化内核
mkdir /usr/kern
cp /usr/src/sys/i386/conf/GENERIC /usr/kern/proxy
ln -s /usr/kern/proxy /usr/src/sys/i386/conf/proxy
cd /sys/i386/conf
ee proxy
options IPFILTER #ipfilter support
options IPFILTER_LOG #ipfilter logging
options IPFILTER_DEFAULT_BLOCK #block all packets by default
op ...
FreeBSD su Sorry问题解决办法
FreeBSD系统下su:sorry的解决办法
在FreeBSD上要使用su命令成为root用户,不但要知道root的口令,还需要经过特别设置,否则就不能成功使用这个命令。这是因为FreeBSD对执行su命令的用户进行了更严格的限制,能使用su命令的用户必须属于wheel组(root的基本属组,组ID为0),否则就不能通过 ...
FreeBSD5.2.1上建立功能完整的邮件服务器(POSTFIX)
1.更新 ports
# cvsup -gL 2 -h cvsup.freebsdchina.org /usr/share/examples/cvsup/ports-supfile
2. 安装 openssl+apache 服务器
# cd /usr/ports/security/openssl
# make install
# make clean
# cd /usr/ports/www/apache2
# make install
# make clean
# vi /etc/rc.conf
apache2_enable="YES"
3. 安装 o ...
FreeBSD学习经验
1、进入单用户模式
BOOT: /kernel -s
就进了单用户了, 然后/sbin/mount -rw /把/设置成可写
然后 vipw把root口令置空
2、开机自动fsck硬盘
fsck_y_enable="YES"
3、FreeBSD弹出光驱
cdcontol->Eject
4、OpenBSD弹出光驱
eject /dev/rcd0c
5、BSD下增加帐号
pw useradd hanyang -g wheel -s /usr/local/bin/bash
6、观察网络 ...
freebsd6.2 nginx+php+mysql+zend系统优化防止ddos攻击
一、安装软件前的准备
系统的安装:freebsd6.2以上的光盘,最小化安装系统,同时安装好ports
二、手动安装nginx+php
1) 进入系统后,准备cvs更新:
1. cd /usr/ports/net/cvsup-without-gui
2. & ...
FreeBSD系统下读写 NTFS分区
1、安装ntfs-3g:
# cd /usr/ports/sysutils/fusefs-ntfs
# make install clean
2、加入fuse加载:
# ee /etc/rc.conf
加入以下这一行:
fusefs_enable="YES"
保存退出
# ee /boot/loader.conf
加入以下这一行:
fuse_load="YES"
保存退出。
注意:这两行一个是fusefs,一 ...
Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法
一、安装apache2.2.8
首先去http://www.apache.org 网站上下载apache2.2.8源码包
解压缩
#tar zxvf httpd-2.2.8.tar.gz
得到 httpd-2.2.8文件夹
#cd httpd-2.2.8
配置
#./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite
编译
#make
安装
#make ...
FreeBSD双线负载均衡NAT服务器配置方法
# vi /etc/rc.conf
================+==============+=================
defaultrouter="221.33.88.254"
ifconfig_fxp0="inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_rl0="inet 221.33.88.2 netmask 255.255.255.0"
ifconfig_rl1="inet 202.0.57.1 netmask 255.255.255.0"
pf_enable="YES"
================+======= ...
FreeBSD 6.2用freebsd-update升级过程
FreeBSD 6.2-RELEASE下用freebsd-update升级过程:
mail#uname -a
FreeBSD mail.extmail.org 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Nov 2 13:04:30 UTC 2007 qiao@qiao.lpzq:/usr/src/sys/i386/compile/kernel_IPFW i386
mail#freebsd-update fetch install
Looking up update.FreeBSD.org mirror ...