搜索列表
-
Unix 系统里尽量不要使用的命令
【Unix/BSD】fsck -- file system consistency check如果有可能,不要手工运行 fsck 命令。关于人为调用 fsck "修复" 系统而引起更大灾难的实例已经有很多了。Unix 的 rm 命令问题rm 命令可能是最容易给 Unix 使用者带来麻烦的一个命令,但我想这个命令带来的问题几
-
FreeBSD下创建安全的Web服务器
【Unix/BSD】序言一、系统和服务程序的安装1. 系统安装2. 服务程序安装二、系统安全设置1. 用户控制2. 文件访问控制3. 系统服务和端口控制4. 日志管理和控制5. 文件指纹检测6. 系统指纹泄露和防范7. 系统内核安全8. 系统安全优化三
-
OpenBSD系统 DHCP 多 vlan 配置
【Unix/BSD】4块DLINK 530 ,1个连接Internet,3个内网 ------------------------------- | | |&n
-
freebsd系统上修改mac地址的方法
【Unix/BSD】ifconfig eth0 ether 00:05:06:07:d2:19 重新启动后会消失,可以加到/etc/rc.conf中 ifconfig_eth0_alias0="ether 00:05:06:07:d2:19"
-
FreeBSD系统下创建DVD.iso安装光盘
【Unix/BSD】准备刻一张FreeBSD-7.0-RELEASE的DVD,网上很多介绍都是在Windows下使用什么iso提取工具的,貌似很麻烦。参考了一些FreeBSD高手的实现,我写了一个简单的脚本,主要功能是从3张disc*.iso创建出一个dvd.iso1,准备工作:工作目录 work/ 和 3张disc*.iso, 比如
-
整理FreeBSD系统安装时关于硬盘参数提示的处理方法
【Unix/BSD】错误信息: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
-
FREEBSD服务器端的ARP绑定脚本
【Unix/BSD】#!/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`
-
FREEBSD系统优化精华
【Unix/BSD】1、优化内核mkdir /usr/kerncp /usr/src/sys/i386/conf/GENERIC /usr/kern/proxyln -s /usr/kern/proxy /usr/src/sys/i386/conf/proxycd /sys/i386/conf ee proxyoptions IPFILTER #ipfilter support options IPFILTER_LOG #ipfilter loggin
-
FreeBSD5.2.1上建立功能完整的邮件服务器(POSTFIX)
【Unix/BSD】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 in
-
freebsd6.2 nginx+php+mysql+zend系统优化防止ddos攻击
【Unix/BSD】一、安装软件前的准备系统的安装:插入freebsd6.2以上的光盘,最小化安装系统,同时安装好ports二、手动安装nginx+php1) 进入系统后,准备cvs更新:1. cd /usr/por
-
FreeBSD双线负载均衡NAT服务器配置方法
【Unix/BSD】# 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"ifc
-
Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法
Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
【】一、安装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 --enab