网站域名已经改为www.atoi.cn,原域名hsboy.com不再使用,请留意

Thursday, July 24. 2008

Robert Watson : Reading the FreeBSD Kernel (ZT)

FreeBSD
In September, 2005, I had the opportunity to exchange e-mail with Halil Demirezen on the subject of getting to know the FreeBSD kernel. Since the answer seemed of more general interest, I thought I'd posted it on my web site in case it was of interest to anyone else.

From rwatson at FreeBSD.org Tue Sep 6 14:10:10 2005
Date: Tue, 6 Sep 2005 14:10:10 +0100 (BST)
From: Robert Watson <rwatson at FreeBSD dot org>
To: Halil Demirezen < halil at enderunix dot org>
Subject: Re: One dummy question but important for me.

On Tue, 6 Sep 2005, Halil Demirezen wrote:

> It is one little sample of hundred thousands of silly questions. But for
> an individual it is really important one. I have been dealing with
> kernel (/usr/src/sys/) in FreeBSD. However, this is really a big
> challenge. My graduate thesis was a little i386 kernel that boots from
> Floppy Disks (3 1/2). Run in protected mode. A shell little memory
> management and multiprocessed one.
>
> I am coping with FreeBSD kernel to understand and to hack it. Where to
> start? It is really difficult to understand the essentials. I am sure i
> will spend my time on it. But what are the first essentials for a kernel
> developer to be in the developing. I know it is easy for one who started
> developing FreeBSD from the beginning. But as the code grows, It starts
> to be impossible to begin. I tried to start from booting process. But
> the kernel structure got lost in mind. When I try to understand one
> source file, I need to open several to unite the all.
...
更多内容…

Friday, May 9. 2008

FreeBSD用户迁移

FreeBSD
# boot into single user
mount -a
cd /var/backups
cp master.passwd.bak /etc/master.passwd
pwd_mkdb -p /etc/master.passwd
exit
Monday, April 14. 2008

FreeBSD下安装tomcat55的jvm内存设置

FreeBSD

利用ports在FreeBSD下安装tomcat55十分方便:

cd /usr/ports/www/tomcat55
make install
即可。

但是要注意调整jvm的内存使用限制。在/etc/rc.conf中加上如下一句:
tomcat55_java_opts=" -Xms128m -Xmx512m "
即可把内存调整为起始128,最大512Mb了。

Tuesday, March 11. 2008

让FreeBSD保留使用pkg_add -r过程中下载的包

FreeBSD
pkg_add -Kr [package name]

FreeBSD 7.0 release PACKAGESITE

FreeBSD
.cshrc中,setenv PACKAGESITE ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/
(Page 1 of 6, totalling 28 entries) » next page

Categories

All categories

Archives

Syndicate This Blog

XML RSS 1.0 feed
XML RSS 2.0 feed

Calendar

« 2008 年 October
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

友情链接

Blog Administration

Open login screen

Top Referrers

访问统计

Locations of visitors to this page
The articles in this sites are copyrighted, except those marked as reshipped
MII Record: 05029638