Archive for the ‘Operation Systems’ Category

Get the fast mirror of ubuntu server

目前只支持 Ubuntu 10.04 LTS (Lucid Lynx ) 。

By javafuns on August 9, 2010 at 17:58 · Views: 56 · Permalink · RSS · Leave a comment
Categorized in: Operation Systems · Tagged with: ,

Integrate your shell with your nautilus

今天在安装反编译工具 JD-GUI 时,发现 ubuntu 提供了这样一个好玩的小玩意儿,可以将 shell 集成到 nautilus 中,这样可以随时随地在 nautilus 中右键打开 shell。

By javafuns on August 5, 2010 at 21:32 · Views: 56 · Permalink · RSS · Leave a comment
Categorized in: Operation Systems · Tagged with: ,

Linux批量删除文件

以删除令人厌恶的 .DS_Store 文件为例:
find . -name .DS_Store -exec rm -f {} \;
该 find 命令查找文件名为 .DS_Store 的文件,并将这些文件替换到 {} 部分从而进行删除。
‘;’ 前的参数都作为 rm 的参数, ‘\’ 则是对 ‘;’ 进行 escape。

By javafuns on July 26, 2010 at 21:25 · Views: 83 · Permalink · RSS · Leave a comment
Categorized in: Operation Systems · Tagged with: , ,

Dock any applications into system tray area in ubuntu

alltray 能够让任意程序最小化到system tray。 安装也很简单:sudo apt-get install alltray 使用就更简单了,启动alltray后,按照alltray的提示,点击要minimize的程序即可

By javafuns on February 22, 2010 at 20:29 · Views: 301 · Permalink · RSS · Leave a comment
Categorized in: Operation Systems · Tagged with: ,

某些 Linux distribution 导致 Java swing 空白

某些 Linux 下使用最新的 Java Swing application 会出现一片空白。 尝试如下两种解决办法: 在 .profile 或 .bashrc 添加 export AWT_TOOLKIT=MToolkit 禁用外观的特殊效果

By javafuns on November 3, 2009 at 17:06 · Views: 265 · Permalink · RSS · Leave a comment
Categorized in: Java, Operation Systems · Tagged with: , ,

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

By javafuns on June 30, 2009 at 09:57 · Views: 781 · Permalink · RSS · Leave a comment
Categorized in: Operation Systems · Tagged with: , ,

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 [...]

By javafuns on June 19, 2009 at 10:15 · Views: 532 · Permalink · RSS · Leave a comment
Categorized in: Operation Systems · Tagged with: ,

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

By javafuns on May 13, 2009 at 09:25 · Views: 1,711 · Permalink · RSS · Leave a comment
Categorized in: Java, Operation Systems · Tagged with: , ,
  • Highest Rated

  • My PicasaPhotos

    facebook7.JPG

    IMG_0555.JPG

    xibeTotem.jpg

  • RSS My del.icio.us

  • My RSS