注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

WA!Peter

广州天河, 香港火炭,深圳罗湖, 北京国贸

 
 
 

日志

 
 

Note on Ubuntu 11.4 or Linux in general  

2011-07-11 13:09:10|  分类: linux |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
Most of these instruction is using root access
----------------------------------------------------------

when the network card does not auto connect to the network router:
ethtool -s eth0 autoneg off
ref: http://ubuntuforums.org/showthread.php?t=880664
it happens on my Asus mainboard with built-in network card, when
the cable changes from a middle hub to direct connection to router
(u may need apt-get install ethtool)

To enforce a fsck on next boot: 
touch /forcefsck
(it seems this is applicable to all Linux)

mount an ISO image as a disk
(this step is optional if you have already created): mkdir /mnt/iso
mount -t iso9660 -o loop /home/peter/ubuntu.iso /mnt/iso

make an ISO file from the CDROM (or DVD)
mkisofs -r -o /home/peter/ubuntu.iso /dev/cdrom
(note: if your cdrom is connected to SATA2 /dev/cdrom is /dev/sdXX, where XX is one of your SATA connection)
ref: http://www.yolinux.com/TUTORIALS/LinuxTutorialCDBurn.html

Install and change to Sun Java6 SDK (default is OpenJDK which sucks)
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
ref: http://happy-coding.com/install-sun-java6-jdk-on-ubuntu-10-04-lucid/
(this one does not work in China, coz it links to FB)
u may add sun-java6-jre

Play MP3, RMVB etc "restricted" format in Ubuntu:
In Ubuntu software center, search for "restricted" and install the "Ubuntu restricted extras"
ref: https://help.ubuntu.com/community/RestrictedFormats

GNOME Terminal hotkey
- Shift-Page UP/DOWN :  scroll up and down
- Ctrl-Shift-C and Ctrl-Shift-V : copy and paste (do not override, since Ctrl-C is useful)

Enable command-line svn comment:
vi ~/.bashrc
## add this line
export EDITOR=vi
## or vim if u like
  评论这张
 
阅读(384)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017