Chinaunix首页 | 论坛 | 博客
  • 博客访问: 618518
  • 博文数量: 321
  • 博客积分: 4065
  • 博客等级: 上校
  • 技术积分: 3087
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-23 19:04
个人简介

随遇而安

文章分类

全部博文(321)

文章存档

2015年(1)

2014年(1)

2013年(1)

2012年(8)

2011年(47)

2010年(124)

2009年(92)

2008年(24)

2007年(8)

2006年(15)

分类: BSD

2009-05-22 15:59:08

1、用镜像文件引导
2、fdisk  a q
3、分区 a q
4、选择软件包ports man
5、配置网络
6、创建帐号
7、修改密码
8、reboot
9、安装软件和配置

》》修改portsnap的镜像地址
修改/etc/portsnap.conf文件里的SERVERNAME为portsnap.hshh.org
更新portsnap
初次更新portsnap fetch extract
以后更新用portsnap fetch update

》》安装axel
cd /usr/ports/ftp/axel/
make install clean
配置axel:make.conf添加如下内容
FETCH_CMD=axel
FETCH_BEFORE_ARGS= -n 10 -a
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes

》》安装Bash
whereis bash
cd /usr/ports/shells/bash/
make install clean
whereis bash 查询bash路径
chsh 修改一下shell
然后重新登陆
 
》》安装Apache22
问题
# apachectl -t
Syntax OK
# apachectl -k start
[Fri May 22 11:15:37 2009] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
解决方法是:
# kldload accf_http
并将/boot/defaults/loader.conf中,以便下次启动自动装载模块
accf_data_load="YES"
accf_http_load="YES"

 
阅读(1069) | 评论(0) | 转发(0) |
0

上一篇:迷失中

下一篇:雨过天晴

给主人留下些什么吧!~~