2008 年文章归档
共 94 篇文章
如果你的很多时间是用来敲纯文本,写程序或HTML,那么有效地使用一个好的编 辑器能节省你不少时间。这篇文章里的指导和提示将有助于你更快工作,更少犯 错误。 文中采用开源文本编辑器Vim(Vi IMproved)说明有效编辑的思想,但这些思想也 适用于其他编辑器。择合适的编辑器只是有效编辑的第一步,对于哪个编辑器更 好的讨论将占很大地方,这里就不提了。如果你不知道该用哪个编辑器,或者对 现在所使用的不太满意,不妨试试Vim;你是不会失望的。 [Vim命令和选项用粗体表示] 第一部分:编辑一个文件 快速定位 编辑中大部分时间是花费在阅读、查错和寻找应该进行编辑的地方上,而不是插 入新文字或进行修…
2008-12-16 11:52 · Linux - Miscellaneous
1. The process name for Linux explorer - nautilus 2. Use the tab to complete any tasks including command name, path and so on. 3. Use * to match any command name or path name. 4. Under Linux exploer, use Ctrl + 1, 2, 3 to change view mode. 5. Use Alt + F1 to call the Ubuntu System menu.
2008-12-10 14:29 · Linux - Miscellaneous
1. sudo apt-get install smbfs 2. sudo /usr/bin/smbmount //IP-ADDRESS/FOLDER /LOCAL-FOLDER -o username=USER,password=PASSWORD 2
2008-12-09 15:29 · Linux - Miscellaneous
sudo apt-get install openssh-server
2008-12-09 15:24 · Linux - Miscellaneous
Ubuntu系统目录结构 ================== 以下为Ubuntu目录的主要目录结构,您稍微了解它们都包含了哪些文件就可以了,不需要记忆。 / 根目录 │ ├boot/ 启动文件。所有与系统启动有关的文件都保存在这里 │ └grub/ Grub引导器相关的文件 │ ├dev/ 设备文件 ├proc/ 内核与进程镜像 │ ├mnt/ 临时挂载 ├media/ 挂载媒体设备 │ ├root/ root用户的$HOME目录 ├home/ │ ├user/ 普通用户的$HOME目录 │ └.../ │ ├bin/ 系统程序 ├sbin/ 管理员系统程序 ├lib/ 系统程序库文件 ├…
2008-12-09 08:52 · Linux - Miscellaneous
Server Side 1. Install the vsftpd with the package manager. apt-get install vsftpd 2. Configure the conf file. Open /etc/vsftpd.conf. And add the following lines, ###Enable anonymous read anonymous_enable=YES anon_root=/ anon_world_readable_only=YES #anon_mkdir_write_enable=YES #anon_upload_enable=…
2008-12-02 13:49 · Linux - Adiministration
Before You Begin Apache is one of the most popular Web servers on the Web right now, and part of its charm is that it's free. It also has a lot of features that make it very extensible and useful for many different types of Web sites. It is a server that is used for personal Web pages up to enterpr…
2008-11-26 17:59 · Linux - Adiministration
When I use ubuntu desktop in VMPlayer, the apt-get command in command line does not work although the proxy is set up in Synaptic Manayger and Gnome Global Proxy Panel. The workaround is, before I use apt-get commands, I must export the http proxy manylly. export http_proxy=http://XXXXXXXXX.com:80
2008-11-22 14:43 · Linux - Miscellaneous
1. System -> Administration -> Synaptic Package Manager, Settings -> Repositories, make sure Restricted copyright are selected. Then reload the sources. 2. sudo apt-get install nvidia-glx-177 3. sudo nvidia-xconfig 4. Restart, then enable Visual Effects Nomal. Reference, http://os.51cto.com/art/200…
2008-11-16 20:30 · Linux - Miscellaneous
1. 基本知识 一块硬盘可以有1-3个主分区和1个扩展分区,或者1-4个主分区。一个扩展分区可以分为若干个逻辑分区。 硬盘的容量=主分区的容量+扩展分区的容量 扩展分区的容量=各个逻辑分区的容量之和 通常,在PC机上使用的硬盘有两种: 1) IDE接口:最常见的; 2) SCSI接口:比IDE性能好,但更贵! 操作系统对分区的要求。 Windows必须安装在主分区上。磁盘格式为FAT32/NTFS Solaris(Unix)必须安装在主分区上。磁盘格式为Solaris Ubuntu(Linux)可以安装在逻辑分区上。磁盘格式为Ext3/swap 2. Windows Partition Di…
2008-10-31 22:39 · Linux - Miscellaneous
1. Edit /etc/X11/xorg.conf, add the lines, Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "Emulate3Buttons" "on" Option "Emulate3TimeOut" "50" Option "EmulateWheel" "on" Option "Emulat…
2008-10-31 20:11 · Linux - Miscellaneous
zip -r dest.zip source unzip -d dest source.zip tar Zcvf dest.tar.gz source tar Zxvf dest.tar.gz
2008-10-31 11:51 · Linux - Miscellaneous
du -sh
2008-10-31 11:41 · Linux - Miscellaneous
vi /proc/version
2008-10-31 11:34 · Linux - Miscellaneous
Ubuntu 1. sudo vi /etc/init.d/workDriveMap 2. chmod 755 /etc/init.d/workDriveMap 3. update-rc.d workDriveMap defaults(update-rc.d workDriveMap remove) (So you have a script of your own that you want to run at bootup, each time you boot up. This will tell you how to do that. Write a script. put it i…
2008-10-30 21:30 · Linux - Miscellaneous
See Attachment.
2008-10-28 18:05 · J2SE&J2EE
See Attachment.
2008-10-28 18:02 · J2SE&J2EE
sudo aptitude purge ~ilinux-image-.*\(\!`uname -r`\)
2008-10-28 16:49 · Linux - Miscellaneous
Oracle: http://www.oracle.com/technology/products/content-management/ucm/index.html http://download-west.oracle.com/docs/cd/E10316_01/ouc.htm JackRabbit http://jackrabbit.apache.org/first-hops.html
2008-10-23 17:14 · UCM
1. ksh 就是让现有的shell pending, 然后新开一个shell, 如果用ksh的话,当前的shell会pending, 直到ksh所执行的shell结束, 当前的shell就又活过来了 2. exec时结束现有的shell, 重新开一个
2008-10-13 09:54 · Linux - Miscellaneous