April 2007 Archives

debian版本及远相关信息

| | Comments (0) | TrackBacks (0)
昨天安装debian 4.0,对源的选择有些混乱。专门上网找了下文章。转下

suse 中禁用 nvidia启动logo

| | Comments (0) | TrackBacks (0)
编辑/etc/X11/xorg.conf 在section “Device” 中加一行 Option "NoLogo"

open suse 10.2安装nvidia驱动

| | Comments (0) | TrackBacks (0)
http://www.suse.de/~sndirsch/nvidia-installer-HOWTO.html#1

It is recommended to use YaST for installation of the NVIDIA
driver. There are several reasons for this. First, it's
simple. Second, and this is the most important one, you won't need to
recompile the nvidia kernel module after a kernel update.

Update your Kernel via YOU (YaST Online Update). Use

-> Software -> Change installation Source -> Add

Protocol: HTTP
Server Name: : download..com
Directory on Server: /opensuse/

to add the NVIDIA ftp server as additional installation source.
Now use

YaST -> Software -> Install and Delete Software

to install the NVIDIA driver. Select the following packages:

x11-video-nvidia
nvidia-gfx-kmp-"kernel-flavor"

"kernel-flavor" depends on your installed kernel. Check with
"uname -r" for installed default/smp/bigsmp kernel. Use "sax2 -r"
for X.Org configuration.

People who aren't afraid of recompiling the nvidia kernel module or
even reinstalling the nvidia driver each time the kernel has been
updated and want or need to use the latest and greatest nvidia driver
can use the following steps 1-3. The others should use the
instructions above using YaST and skip the steps below.

1) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source', 'make' and 'gcc' packages with YaST2.

2) Use the nvidia installer for 1.0-9746.

sh NVIDIA-Linux-x86-1.0-9746-pkg1.run -q

3) Configure X.Org with

sax2 -r -m 0=nvidia (0 is a digit, not a letter!)

NOTE: There is no need to try to enable 3D support. It's already
enabled, when the nvidia driver is running.

IMPORTANT: You need to recompile and install the nvidia kernel module
after each kernel update.

sh NVIDIA-Linux-x86-1.0-9746-pkg1.run -K

Red Hat AS5 下服务

| | Comments (0) | TrackBacks (0)
安装了 ,发现和以前的有些区别,最基本的,apache,名称都已经改变了。。

[root@meteor-pc ~]# /etc/init.d/
acpid                     dc_server                 kdump                     nscd                      setroubleshoot
anacron                   dhcdbd                    killall                   ntpd                      single
apmd                      dund                      kudzu                     pand                      smartd
atd                       firstboot                 mcstrans                  pcscd                     squid
auditd                    functions                 mdmonitor                 portmap                   sshd
autofs                    gpm                       mdmpd                     psacct                    syslog
avahi-daemon              haldaemon                 messagebus                rdisc                     tomcat5
avahi-dnsconfd            halt                      microcode_ctl             readahead_early           tux
bluetooth                 hidd                      mysqld                    readahead_later           vncserver
capi                      httpd                     netfs                     restorecond               winbind
conman                    ip6tables                 netplugd                  rhnsd                     wpa_supplicant
cpuspeed                  ipmi                      network                   rpcgssd                   xfs
crond                     iptables                  NetworkManager            rpcidmapd                 ypbind
cups                      irda                      NetworkManagerDispatcher  rpcsvcgssd                yum-updatesd
cups-config-daemon        irqbalance                nfs                       saslauthd                
dc_client                 isdn                      nfslock                   sendmail                 

互联网周刊:独立的ThinkPad

| | Comments (0) | TrackBacks (0)
最近比较关心,准备下个月买个或者,呵呵,当然买水的拉,行得money太多太多。。
于是看见写的,转下,这篇来者

IE7 cpu占有过高补丁

| | Comments (0) | TrackBacks (0)
发布了解决 占有率过高的。不过是英文版,还好中文也能用。呵呵
“Google 为什么一直不收录我的网站?”
“我的网站被 Google 屏蔽了吗?”
“为什么 Google 只抓取了我的网站的一小部分?如何让 Google 知道我网站上的所有网页?”
建议您使用。通过它,您可以轻松地:
1) 获得关于 抓取及收录您网站的详细资料。如果您的是因为违反了 Google 的网站管理员指南而未被收录,您可能会看到相关的警告,以及网站修正后提交重新收录的链接。
2) 诊断潜在的抓取问题,并学习如何改善它们。
3) 了解哪些关键字为您的网站带来最多的访问量。
4) 与 Google 分享关于您网站的信息。
from: http://www.extremetech.com/article2/0,1697,2114115,00.asp
This feature includes various hacks to s such as viewing running processes, identifying resources, finding process startups, tuning kernel parameters, and speeding up boot time. This is a complete chapter in the ExtremeTech book "Hacking Ubuntu: Serious Hacks Mods And Cusomtizations."

The default Ubuntu Dapper Drake installation includes some basic processes that check devices, tune the operating system, and perform housekeeping. Some of these processes are always running, while others start up periodically. Occasionally you might see your hard drive start up or grind away for a few minutes—what's going on? On mission critical servers, serious gaming boxes, and other real-time systems, unexpected processes can cause huge problems; administrators should know exactly what is running and when. The last thing a time-sensitive application needs is for a resource-intensive maintenance system to start at an unexpected time and cause the system to slow down.

In order to fine-tune your system, you will need to know what is currently running, which resources are available, and when processes start up. From there, you can tweak configurations: disable undesirable processes, enable necessary housekeeping, and adjust your kernel to better handle your needs.

Time to Change
Different versions of Ubuntu (and Linux) use different startup scripts and run different support processes. Knowing how one version of Linux works does not mean that you know how all versions work. For example, one of my computers has a clock that loses a few minutes after every reboot. (It's an old computer.) When I installed Ubuntu Dapper Drake (6.06), I noticed that the time was correct after a reboot. I started to look around to find out how it did that and which timeserver it was using. The first thing I noticed was that there was no script in /etc/init.d/ for setting the time. Eventually I tracked down the network startup scripts and found that the ntpdate script was moved from /etc/init.d/ (in previous Ubuntu releases) to /etc/network/if-up.d/. This script allowed me to find the network time protocol (NTP) configuration file (/etc/default/ntpdate).

A similar problem came up when I started running Ubuntu Hoary Hedgehog (5.04). Periodically the hard drives would grind when I was not doing anything. At other times it happened when I was running processes that were impacted by disk I/O—when the drives began to grind, the critical process would detect a processing problem. I quickly narrowed the disk grinding to updatedb—a caching program that works with slocate for quickly finding files. What I could not find was how this program was being started. Eventually I discovered that updatedb was started by anacron, an automated scheduler.

While it is important to know what is running, it is even more important to know how to track down running processes and tune them to your needs.

Learning the Lingo
Everything that runs on the system is a process. Processes are programs that perform tasks. The tasks may range from system maintenance to configuring plug-and-play devices and anything else the user needs. System processes manage keep the operating system running, whereas user processes handle user needs.

Many processes provide services for other processes. For example, a web server is a service for handling HTTP network requests. The web server may use one or more processes to perform its task. Some services are critical to the system's operation. For example, if the system must support graphics but the X-Windows service is unavailable, then a critical service is missing.

Although most system processes are services, most user processes are applications. Applications consist of one or more processes for supporting user needs. For example, the Firefox web browser is an application that helps the user browse the web. In general, services start and end based on system needs, while applications start and end based on user needs.

None of these definitions—programs, processes, applications, and services—are very distinct. For example, the Gnome desktop consists of programs and processes that provide services to other programs and supports user needs. GDE can be called a set of programs, processes, applications, or services without any conflict.

When I talk about processes, I refer to anything that generates a running process identifier (see the next section for Viewing Running Processes). Programs are the executable files on the system that generate one or more processes. Users directly use applications, while the operating system uses services.

电信与网通?

| | Comments (0) | TrackBacks (0)
今天又看到一条新闻,
4月12日,中国电信发布公告,对公司经营范围重新划定,并计划为此重新修订公司章程. 据中国电信公告显示,公司章程第13条第二款将完全删除,并制定新的内容取代.新条款为“公司经营范围:上海、广东、江苏、浙江、安徽、福建、江西、广西、重庆、四川、湖北、湖南、海南、贵州、云南、陕西、甘肃、青海、宁夏及新疆20省(自治区、直辖市)范围内固定电信网络与设施(含本地无线环路)业务;基于固定电信网络的语音、数据、图像及多媒体通信与信息服务;按国家规定进行国际电信业务的对外结算;经营与通信及信息业务相关的系统集成、广告、技术开发、技术服务、信息咨询、设备生产、销售和设计与施工.”
 
 
 
    业内人士表示,中国电信积极地将自己的经营范围限制为南方20个省市,是对此前“与网通私下抢地盘”事件的表态,将此写入公司的章程,将从公司制度上杜绝与网通的“明和暗战”。   此前,电信和网通曾在集团层面签订“合作协议”,网通在南方不再拓展固定电话业务,而电信在北方诸省份也不再投入固定电话业务。但此后不久,就发生了固话用户投诉网通电信互联不互通,不是电信切断南网通固话用户,就是网通封杀北电信固话用户。电信和网通间的私下竞争并没有因“合作协议”而停止。
 
 
想想当年电信的原因,再看这条新闻,真是一场滑稽的闹剧。
正如现在常说的,最远的距离,不是天涯海角,而是

xp登陆后自动注销

| | Comments (0) | TrackBacks (0)
刚刚给笔记本装的,因为thinkpad默认启动项目太多,于是删除了些,结果重新启动后,不停的登陆,自动注销,,按F8进入安全模式也不行。最后一次正确启动配置也不行。用administrator帐户,依然是同样的情况
仔细想想,当时自己顺手把C:\\WINDOWS\\system32\\userinit.exe这个从启动项里面删除,问题就应该是在这里。上网找找,发现原来windows启动的时候,winlogon.exe需要调用,不然就会出现登陆后马上注销,
解决方法:用w2k3 pe(windows PE 2003 sp1)的启动盘启动系统。运行。然后加入注册表如下字段:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"Userinit"="C:\\WINDOWS\\system32\\userinit.exe,"
然后重新启动,问题解决
的rss里面看到的,来自http://www.iamting.com/archives/180
自己工作也即将2年了,也深有感触,转来下文:0

谷歌输入法发布。。

| | Comments (0) | TrackBacks (0)
终于发布了传说中的的
马上下载安装,尝鲜了下,似乎效果还不错
但是,用习惯了有些还是不舒服。
看下图 ,同样是双拼输入,微软拼音可以很正常的显示出完整的拼音,而 谷歌输入法却把我输入的源码给显示出来了。。。所以很不舒服。。
Image00008.jpg
Image00009.jpg
但是,谷歌输入法的准确率明显比微软拼音要好,比如现在我玩的游戏,魔兽世界,
上面是微软拼音,下面是谷歌输入法
Image00010.jpg
Image00011.jpg
而谷歌输入法比微软拼音多的,就是智能纠错和用户帐号同步功能。据说对游戏支持还很不错。
Image00012.jpg
Image00013.jpg
不过发现了一个bug。。用谷歌输入法,设置成微软双拼模式,不能够输入 luo。。

修改grub背景图片

| | Comments (0) | TrackBacks (0)
a) Find gzipped, 640x480, 14 color only, xpm images (like the ones above).
b) Put the images in /boot/grub/splashimages/.
c) Rename the image you wish to use to 'splash.xpm.gz'.
d) Make a link to /boot/grub/splashimages/splash.xpm.gz and put it in /boot/grub/.
e) Open /boot/grub/menu.lst and below the 'Pretty colours' section add a third line as below:

# Pretty colours
# color cyan/blue white/blue
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

(The hd0,1 refers to hard drive 1 partition 2 where my file system is installed. You'll need to change those numbers if yours differs.)

f) That's it. Restart to see the new eye candy. For more in depth explanations: GNU GRUB Splash Image Howto, GRUB splash Image Information or