Archive for the ‘Operation Systems’ Category
Get the fast mirror of ubuntu server
目前只支持 Ubuntu 10.04 LTS (Lucid Lynx ) 。
Categorized in: Operation Systems · Tagged with: Linux, Ubuntu
Integrate your shell with your nautilus
今天在安装反编译工具 JD-GUI 时,发现 ubuntu 提供了这样一个好玩的小玩意儿,可以将 shell 集成到 nautilus 中,这样可以随时随地在 nautilus 中右键打开 shell。
Categorized in: Operation Systems · Tagged with: Linux, Shell
Linux批量删除文件
以删除令人厌恶的 .DS_Store 文件为例:
find . -name .DS_Store -exec rm -f {} \;
该 find 命令查找文件名为 .DS_Store 的文件,并将这些文件替换到 {} 部分从而进行删除。
‘;’ 前的参数都作为 rm 的参数, ‘\’ 则是对 ‘;’ 进行 escape。
Categorized in: Operation Systems · Tagged with: Linux, mac, OS
Dock any applications into system tray area in ubuntu
alltray 能够让任意程序最小化到system tray。 安装也很简单:sudo apt-get install alltray 使用就更简单了,启动alltray后,按照alltray的提示,点击要minimize的程序即可
Categorized in: Operation Systems · Tagged with: Linux, Ubuntu
某些 Linux distribution 导致 Java swing 空白
某些 Linux 下使用最新的 Java Swing application 会出现一片空白。 尝试如下两种解决办法: 在 .profile 或 .bashrc 添加 export AWT_TOOLKIT=MToolkit 禁用外观的特殊效果
Categorized in: Java, Operation Systems · Tagged with: Java, Linux, Swing
SVN 1.6 on ubuntu
For Karmic: deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu karmic main deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu karmic main For Jaunty: deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty main deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty main For Intrepid: deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu intrepid main deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu intrepid main For Hardy: deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu hardy main deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu hardy main
Categorized in: Operation Systems · Tagged with: Linux, SVN, Ubuntu
How to reset your Linux root password (reship)
原文: http://www.ibm.com/developerworks/cn/linux/l-10sysadtips/ 技巧 4:找回根密码 如果忘记根密码,就必须重新安装整台机器。更惨的是,许多人都会这样做。但是启动机器并更改密码却十分简单。这并非在所有情况下都适用(比如设置了一个 GRUB 密码,但也忘记了),但这里介绍一个 Cent OS Linux 示例,说明一般情况下的操作。 首先重启系统。重启时会跳出如图 1 所示的 GRUB 屏幕。移动箭头键,这样可以保留在此屏幕上,而不是进入正常启动。 图 1. 重启后的 GRUB 屏幕 然后,使用箭头键选择要启动的内核,并输入 E 编辑内核行。然后便可看到如图 2 所示的屏幕: 图 2:准备编辑内核行 再次使用箭头键突出显示以 kernel 开始的行,按 E 编辑内核参数。到达如图 3 所示的屏幕时,在图 3 中所示的参数后追加数字 1 即可: 图 3. 在参数后追加数字 1 然后按 Enter 和 B,内核会启动到单用户模式。然后运行 passwd 命令,更改用户根密码: sh-3.00# passwd New UNIX password: Retype [...]
Categorized in: Operation Systems · Tagged with: Linux, Ubuntu
How to install libstdc++.so.5 for Ubuntu
Today when I tried to run our applications, I was told that there is a necessary library libstdc++.so.5 missing. Now, I give the programmers who also faces the same problem a solution: sudo apt-get install libstdc++5
Categorized in: Java, Operation Systems · Tagged with: Java, Linux, Ubuntu

(
(4.00 out of 5)