One of the changes introduced in Ubuntu Wily Werewolf is persistent stateless names. It means your network interfaces in ifconfig output will no longer follow the ethX pattern. This solves major problems with predictability of an interface name on Ubuntu if you have multiple cards. This applies to ethernet, WLAN and WWAN interfaces.
- 7月 05 週二 201618:19
Persistent network interface names in Ubuntu 15.10 & later
- 12月 31 週六 201117:59
[轉帖] How to change the URL of your SVN repository
We just changed our Subversion repository's url from something terrible with custom port number hideousness to a URL so clean, concise and georgeous that I became brain damaged. The old URL still works but I wanted to repoint all my checked out code to the new URL. I tried switch and it didn't work until Bret mentioned that Eclipse had something called relocate for this issue. A google search later...
command line:
svn switch --relocate <from URL> <to URL>
Tortoise SVN:


I should have known all of this and likely did at one point but it just fell out of my brain.
資料來源為: http://www.dovetailsoftware.com/blogs/kmiller/archive/2007/04/10/how-to-change-the-url-of-your-svn-repository
- 9月 14 週三 201114:50
APT Repository for openstack
sudo apt-get install python-software-properties -y
sudo add-apt-repository ppa:nova-core/release
sudo apt-get update
sudo apt-get install python-software-properties -y
sudo add-apt-repository ppa:openstack-release/2011.2
sudo apt-get update
sudo add-apt-repository ppa:glance-core/trunk
sudo apt-get update
sudo add-apt-repository ppa:nova-core/release
sudo apt-get update
sudo apt-get install python-software-properties -y
sudo add-apt-repository ppa:openstack-release/2011.2
sudo apt-get update
sudo add-apt-repository ppa:glance-core/trunk
sudo apt-get update
- 9月 14 週三 201111:35
Where is add-apt-repository
sudo add-apt-repository
command not found.
where is add-apt-repository ??
command not found.
where is add-apt-repository ??
- 8月 26 週五 201114:55
[轉貼] CentOS 5.4 通过yum升级php到5.3版本的两种方法
CentOS5.4的php版本默认为5.1.6,然后在5.2.9版本之前的的php都存在一个漏洞,但是目前网上很多地方都无法使用yum update php*升级到5.3,经过搜索国外资料,现在终于找到一种升级CentOS的php到5.3的方法。
注意,此方法只能在官方的php版本上升级,如果你使用网上的升级到5.3版本的升级方法已经升级了,将无法使用本方法升级php。
运行下面命令:
注意,此方法只能在官方的php版本上升级,如果你使用网上的升级到5.3版本的升级方法已经升级了,将无法使用本方法升级php。
运行下面命令:
- 8月 26 週五 201105:16
在 CentOS 忘了Root密碼,該怎麼辦呢??
在 CentOS 忘了Root密碼,該怎麼辦呢??
1.Reboot
2.當出現Grub時請按"A"
1.Reboot
2.當出現Grub時請按"A"
- 6月 08 週三 201121:38
How to view an XPS (the Microsoft's PDF rival) file in Ubuntu?
Dome times I have to deal with XPS files (XPS is a Microsoft's rival to
Adobe's PDF format, technically a zipped XAML (XML)). Can I view them in
Ubuntu? Or, maybe, I could even produce them?
Adobe's PDF format, technically a zipped XAML (XML)). Can I view them in
Ubuntu? Or, maybe, I could even produce them?
- 4月 18 週一 201117:55
Ubuntu 安裝 新酷音輸入法
在ubuntu安裝新酷音輸入法
如果有使用ubuntu的人都知道雖然他安裝很快,但是安裝完必須要連上線更新,
不然可是連完整的中文都沒有,而且連mp3都不能聽,
其他的東西都還好,你沒有中文連上網求救都沒辦法,
而既然要裝中文就要裝ubuntu中最好用的新酷音輸入法,方法如下:
1. apt-get install scim scim-pinyin scim-chewing scim-tables-zh scim-qtimm im-switch
2.im-switch -s scim
3.登出 再登入 就可以使用 scim 輸入法
如果有使用ubuntu的人都知道雖然他安裝很快,但是安裝完必須要連上線更新,
不然可是連完整的中文都沒有,而且連mp3都不能聽,
其他的東西都還好,你沒有中文連上網求救都沒辦法,
而既然要裝中文就要裝ubuntu中最好用的新酷音輸入法,方法如下:
1. apt-get install scim scim-pinyin scim-chewing scim-tables-zh scim-qtimm im-switch
2.im-switch -s scim
3.登出 再登入 就可以使用 scim 輸入法
- 4月 09 週六 201117:48
[轉貼] Verifying MD5 checksums on a Mac
This is mostly for my own future reference, but if you need to verify an MD5 checksum on a Mac, you need to do this:
Open Terminal
Type openssl md5 [filename]
Open Terminal
Type openssl md5 [filename]
- 11月 19 週五 201017:40
[轉貼] Setting up software RAID in Ubuntu Server
Updated Mar 13 2009 to reflect improvements in Ubuntu 8.04 and later.
Linux has excellent software-based RAID built into the kernel. Unfortunately information on configuring and maintaining it is sparse. Back in 2003, O’Reilly published Managing RAID on Linux. That book is still mostly up-to-date, but finding clear instructions on the web for setting up RAID has become a chore.