fun - fun

在qemu上安装 slackware3.3 和添加网卡驱动

最近又想如何才能让自己感觉到深刻理解了, 还是觉得赵炯博士那种从简单的摸一遍是非常好的选择,从0.11开始吧,在bochs下跑起来了,觉得离现在的linux版本很多特点太遥远,尝试跑linux 1.0 内核,编译后加载到bochs上,在创建init进程后的进程调度失败,折腾了三天没有结果,放弃了。这次想从2.0开始,选择了slackware3.3 内核版本为linux 2.0.30

继续阅读

关于vsftpd的配置问题

1. 哪些用户可以访问

vsftp 不像serv-u软件,必须是已创建的用户才能访问(匿名访问除外),vsftp 可以使用inux(FC12)的用户名作为ftp的用户名进行访问, 其相关主要配置选项为 /etc/vsftpd/vsftpd.conf 中的:

local_enable=YES

2. 为vsftp创建新用户

基于上一问题,创建新用户,也就是创建linux下的非登录新用户就可以了,当然创建登录用户也没有问题,用以下命令创建一个非登录用户test:

 sudo useradd test -g root -d /opt/context -s /sbin/nologin 
 sudo passwd test
重启vsftpd,新用户就可以访问了。

 

trie、Digital search tree

他们都属于 Radix 搜索 (见Algorithms in Java (3rd Edition) Parts 1-4 : Fundamentals, Data Structures, Sorting, Searching第15章),

继续阅读

关心英语词汇与句子的表达

hosted server

pay by use

S3 is slow as compared to an ordinary locally attached disk drive s3与本地磁盘相比来说,速度慢

To get 2 bits which appear 6 bits from the right in x 要得到x中右侧6位旁边的2位数 或说,取x中的7,8位,或说,从x的第7位开始,取两位

The more complex business requirements became, the more we focused on the so-called transactional processing part and designed the database structures accordingly. 商业要求越复杂,我们精力就越集中于所谓的事务处理,并且设计出相应的数据库结构。

 

Analytical and financial planning applications were increasingly moved out to separate systems for more flexibility and better performance. 分析和商业计划应用越来越偏离设计更加灵活和性能更优的系统。
 
These are but a few examples of the important role played by the priority queue as a basic tool in algorithm design.
 
This style of programming — whereby instead of using a return value you dei ne functions that are called by the system when interesting events occur — is called event-driven or asynchronous programming. 这种编程风格 -- 在感兴趣的事件发生时,你定义的函数被调用,取代了使用返回值 --被称为事件驱动 或 异步编程

 

ctex.org地址

http://bbs.ctex.org/?fromuid=80586

http://bbs.ctex.org/?fromuser=abelard2008

linux系统管理命令小集

如果想要同步linux的两个目录的内容,当然这两个目录可以是不同机器的,可以使用如下命令:

rsync -avz ./fvwm-2.4.20/ ./fvwm 

其中:srcdir为./fvwm-2.4.20 和 destDir为./fvwm

查看目录的大小:

du -h /software/fvwm/

linux下压缩的文件到windows下解压后,出现文件名乱码或连文件内容都无法读取的解决办法,那就是把要压缩的文件或目录做成iso镜像,到windows下解压后,就没有乱码的问题了,做镜像的命令如下:

mkisofs -o test.iso -J -r -v -V test_disk /home/abelard/gerenziliao/

注意:命令中的参数:-J -r -v 不能写成“-Jrv”,必须分开写,原因不知道

不安装,解压rpm包

rpm2cpio *.rpm | cpio -id

vi 在每行的行首行尾插入字符

 

行首 :%s/^/your_word/
行尾 :%s/$/your_word/

查询端口占用

 

lsof -i:7402    查看7402端口被谁占用




Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee