4月19日,ubuntu7.0.4正式发行了。如果你不打算自己从头安装,准备在虚拟机VMware下运行ubuntu server 7.0.4,可以选择下载现成的VMware applicance(见下文描述)。如果你喜欢GUI,也可以在此基础上安装GUI。
0、前提条件:
安装了vmware的播放工具,可选下述任一款:
本人使用的是VMware Server版。
1、下载 Ubuntu Server 7.04 (Feisty Fawn)
ubuntu-server-7.04-i386.zip, 189M (点击
此处)
如果尚未有下载torrent格式文件的工具,则可下载
uTorrent (free!)
2、配置与使用:
用户名: notroot 口令: thoughtpolice
注: 尚未安装 VMware Tools
2.1 改变控制台语言:
编辑
/home/notroot/.bash_profile
加入
export LANG=de (example given for German)
注: 不必执行这一步,写下这一步只为完整性。
- 2.2 变更控制台键盘布局:
- sudo dpkg-reconfigure console-setup
2.3 更新软件- sudo aptitude update # refresh apt's cache
sudo aptitude upgrade # run the upgrade
- 2.4 安装新软件
-
- sudo aptitude update # refresh apt's cache
aptitude search pkgnames # lists all available software containing
aptitude search pkgnames | grep -i WORD # lists all software containing WORD
sudo aptitude install PACKAGE # installs PACKAGE (found from list above)
- 2.5 GUI在那里?
- 这个版本是server版,没有安装GUI。如果需要,可执行:
sudo aptitude install xorg gnome
- 2.6 文档与指导:
- Feisty Fawn wiki page
3、使用putty客户端连接到ubuntu server 7.0.4
安装sshd:
sudo apt-get install openssh-server
使用ifconfig查看IP地址,假定IP地址为: 192.168.0.100
下载putty:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
运行putty.exe,输入上面的IP地址,回车后将出现登陆界面。输入用户名口令即可。
新版ubuntu的一个特棒功能: 当系统发现运行的命令不存在时,将提示安装命令。这样解决了以往版本下包名记不准的苦恼。比如:
notroot@ubuntu:~$ emacs
The program 'emacs' can be found in the following packages:
* emacs21
* emacs-snapshot
* e3
* emacs-snapshot-nox
* emacs21-nox
* jove
* emacs-snapshot-gtk
Try: sudo apt-get install
Make sure you have the 'universe' component enabled
-bash: emacs: command not found
notroot@ubuntu:~$
然后你可以选择安装emacs-snapshot-gtk,即:
sudo apt-get install emacs-snapshot-gtk
参考: http://www.thoughtpolice.co.uk/vmware/#ubuntu7.04
没有评论:
发表评论