周末球友出差,没有打成球,于是宅在家里到半夜,突然脑袋一热就犯了IT民工的毛病。本来我已经渐渐修炼到,心中有系统,手头无系统的返璞归真之境界,无奈还要偶尔玩一玩。遂把心得小结如下:
首先是启动系统的工具,要启动系统,肯定得先有启动光碟啊。不过由于俺们越来越懒散,已经不知道多久没有见过启动光碟了,手头只有几个USB碟。不过有了这个就足够啦,推荐一个好玩的开源工具:UNetbootin,它目前支持基本所有的主流非主流的Linux系统,直接下载你要安装的ISO,利用这个工具灌装到USB碟里就能启动机器啦,你可以启动一个Live Linux,或者安装Linux,随便你了。
不过你没看错,它只是Linux工具,如果你要用USB安装Windows,那可以用这个工具:usboot,这个链接里的工具包括了一个ghost镜像,可以通过USB恢复Windows镜像,太方便了。另外还有个著名的PE-Builder,提供一个Live Windows,就跟那个深山红叶光碟差不多啦,既然已经能启动一个Linux Windows,那能干的事情就由你想象了。
装完系统后,关键问题就是如何联网了。说明一下连接无线的办法,如果你安装的系统还没有安装X环境,那建议使用HP的wireless tools,来连接无线网络。连接常见的WEP加密网络的步骤是:
# iwconfig wlan0 essid "wlan name" # iwconfig wlan0 key s:"wlan password" # dhclient wlan0
这样就可以自动获取IP了,如果不知道无线网络的名字,使用iwlist wlan0 scanning查一下。这部分代码也可以写到 /etc/network/interfaces里:
if-pre /sbin/iwconfig wlan0 essid "wlan name" if-pre /sbin/iwconfig wlan0 key s:"wlan password" iface wlan0 inet dhcp
这样系统装好了,网络也没问题了,然后就随便干什么事情啦,over。
贴几个ubuntu 9.04的源:
- ibus:
deb http://ppa.launchpad.net/ibus-dev/ppa/ubuntu jaunty main - Medibuntu:
deb http://packages.medibuntu.org/ jaunty free non-free - wineHQ:
deb http://wine.budgetdedicated.com/apt jaunty main - Gnome-do:
deb http://ppa.launchpad.net/do-core/ppa/ubuntu jaunty main - Chrome:
deb http://dl.google.com/linux/deb/ stable main
Defining physical interfaces such as eth0
Lines beginning with the word "auto" in config file /etc/network/interfaces are used to identify the physical interfaces to be brought up when ifup is run with the -a option. (This option is used by the system boot scripts.) Physical interface names should follow the word "auto" on the same line. There can be multiple "auto" stanzas. ifup brings the named inter faces up in the order listed. For example following example setup eth0 (first network interface card) with 192.168.1.5 IP address and gateway (router) to 192.168.1.254:
iface eth0 inet static address 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.254
Setup interface to dhcp
auto eth0 iface eth0 inet dhcp
Post a Comment