一直没怎么看到基于 Debian 的 LiveCD, 还好找到了这个
http://live.debian.net/wiki/ISO_Howto

如果想直接使用官方生成的 LiveCD 可以从 http://live.debian.net/debian-cd/ 下载.
而如果想自己生成 ISO 的话继续往下看.

Debian LiveCD 的简要生成步骤:

1. 安装 cdebootstrap. 如果您的 Debian 是 unstable 则跳过这步.

1
aptitude install libdebian-installer4 libdebian-installer-extra4

2. 安装 Live-package
修改 /etc/apt/sources.list, 加入

1
2
deb http://live.debian.net/debian unstable main
deb-src http://live.debian.net/debian unstable main

然后安装

1
2
apt-get update
apt-get install live-package

3. 运行 make-live 生成镜像

1
make-live

注意: 这条命令生成的镜像并未包括 X…
4. 测试镜像
如果装有 qemu, 可以用以测试镜像.

1
qemu -m 256 -cdrom live/image.iso -boot d

附加说明:
1. 使用的都是官方包, 目前只包含 main…
2. 没有对 LiveCD 进行配置, 目前所有包都是用的默认的 Debian 安装配置.
3. 没有完成硬盘安装功能…

感觉还有很多需要完善的地方, 不过这第一步总算迈过去了. 期待下一版的表现.

Tags: ,

原先是应联盟 Linux 区版主 sirius 的要求搜集资料写的, 在 Blog 里存一份作为备份吧。
由于内容是直接 Copy & Paste 论坛的原贴的… 所以里面给出的源也就 BIT 的哥们能用,目前不提供校外访问…

以下 stable, testing, unstable, experimental 的源算是对 Debian 软件包的一种水平划分。其实也可看成为稳定性不同的发行版本。
通常我们还会以开发代号来称呼它们,目前的 stable 的开发代号是 sagre, testing 的开发代号是 etch,而 unstable 的开发代号一直是 sid。
以前 testing 对应的是 sarge,后来 sarge 发展得差不多了,Debian 社区正式发行了 sarge,于是 sarge 就变成了 stable 版本。现在的 testing 则是 etch,将来发展稳定了etch 将变成新的 stable 版本。

stable源,就如同字面意思一样,是最稳定的源,但相对的各个软件则通常不是最新版, 一般情况下没有出现什么安全问题是不会更新的,所安装软件较少也较为固定。
如果是搭建服务器的话,一般都采用 stable 的源。

1
2
3
4
5
deb http://mirror.bitunion.org/debian/ stable main contrib non-free
deb-src http://mirror.bitunion.org/debian/ stable main contrib non-free
 
deb http://mirror.bitunion.org/debian-non-US stable/non-US main contrib non-free
deb-src http://mirror.bitunion.org/debian-non-US stable/non-US main contrib non-free

testing 源,虽名为测试版,实则已经相当接近于 stable 版本的程度,这个版本的软件多半是在 unstable 中经由维护、开发人员不断的测试之后流入,所以在某种程度来说,其实已经做过初步的检测,这里头的软件大多也是相当稳定的,而且软件也都会比 stable 里头的新,而且软件总量来说则比上 stable 要多很多。
大多数人一般都使用的都是 testing 的源。

1
2
3
4
5
deb http://mirror.bitunion.org/debian/ testing main contrib non-free
deb-src http://mirror.bitunion.org/debian/ testing main contrib non-free
 
deb http://mirror.bitunion.org/debian-non-US testing/non-US main contrib non-free
deb-src http://mirror.bitunion.org/debian-non-US testing/non-US main contrib non-free

Read the rest of this entry »

Tags: ,

自从电脑出了问题后一直很是郁闷…还好昨天 T42 入手, 虽然只能用到暑假结束,不过也算是非常满意了.
因为不想破坏原先的系统, 所以只能考虑从现有的 WinXP 来连接原来本本上的 Debian 了.

一开始是考虑用ssh来连接的, 做起来也很简单.
首先在 Debian 下;

1
#apt-get install openssh-server

这样, openssh的服务就开启了.
Win 下的客户端有很多选择, 个人推荐的是 Pietty, 最大的优点在于很好的支持中文.
下面就是 Pietty 连接的截图:
Pietty.png
但是单纯的命令行模式有时还是很不方便, 比如说最近要调 wxWidgets 的程序, 没有 GUI 那简直是扯淡…
于是考虑采用 VNC.
首先在 Debian 下:

1
#apt-get install vnc4server

然后启动

1
#vnc4server

输入两次密码后服务开始运行.
但是这时候连接上的话用的是 twm 的桌面管理器…非常不适应…
我们先把这个服务 kill 了:

1
#vnc4server -kill host:1    (host 替换为您的主机名, 1为 display 的值)

Read the rest of this entry »

Tags: , , ,