Debian安装方法
2007-09-22 18:38
387 查看
HTML Tags and JavaScript tutorial
Debian安装方法
所有的文件,都可以在这里找到 http://www.debian.org/devel/debian-installer/ 1、我以前最常用的网络安装方式(需要100M左右的ISO,下个100M的ISO,比较麻烦,嘿嘿,如果网络快,完全没必要,如果您认为不想下,那么跳过,直接看2)
a、所需文件:
sarge-i386-netinst.iso
sarge-i386-netinst.iso(netinst CD image, with Debian base地址: http://www.debian.org/devel/debian-...6-netinst.iso) +
initrd.gz
+
vmlinuz
( http://people.debian.org/~joeyh/d-i...2/hd-media/2.6/ )+loadlin.exe(这个很多地方可以找到,包括原来的RH,FC盘里都有)+
install.bat
,,
补充::::
:除了ISO,其余文件都放到一个文件夹debinst里。。。。
b、 install.bat的内容可以这样写:
代码:
loadlin ./vmlinuz initrd=./initrd.gz ramdisk_size=25600 root=/dev/ram devfs=mount,dall
(如果你想安装的时候终端下的分辨率比较高,还可以在后面加上vga=791)
c、用DOS启动盘
(光盘软盘都行,虚拟软驱的DOS也行)进入DOS(注意:这里是DOS的保护模式,就是默认的那个,而不是实模式,这里好多人弄错了,说是实模式,其实只是纯DOS)
然后执行install.bat,一切就OK了。。。安装基本系统就是。然后就可以选择安装你所需要的软件了。。。。。至于软件方面,看需要,如果需要,我会再写一些我的东西。。。
2、
我现在的安装方式。(只需要提前下载3,4M的文件,完全依赖网络呵呵。包括基本系统的安装。)。
a、所需文件:
initrd.gz
+
linux
+
autorun.bat
+
loadlin.exe
(这里 http://people.debian.org/~joeyh/d-i...aller/i386/2.6/ )
至于为什么这里的批处理文件怎么换了名字了,嘿嘿,无他,唯和上区别尔。。。。。
b、autorun.bat内容:
代码:
loadlin ./linux root=/dev/ram initrd=./initrd.gz ramdisk_size=30000 devfs=mount,dall
(如果你想安装的时候终端下的分辨率比较高,还可以在后面加上vga=791)
c、同1
3、
我曾经用过的方式:(2张软盘,一张启动,一张安装,如果你的网卡等比较特殊,还要做一张驱动盘。)
a、所需文件:
boot.img
+
root.img
(其他可选,地址在: http://people.debian.org/~joeyh/d-i...pre-rc2/floppy/ ),然后到网上搜索将镜像写到软盘的工具,我以前用的是rawrite2( http://www.google.com/search?hl=zh-...2&lr=lang_zh-CN )
b、
当然,这个也依赖DOS环境,方法很简单,上面是GOOGLE的方法,大家看看就是,一般就是在DOS执行:rawrite----》源img文件名----》a: -------回车就OK了。。。
c、
然后用boot.img作的盘启动,按提示插入root.img做的盘就OK了,以后同安装基本系统,我的是8139的网卡,很顺利的检测到了 ,,,
d、补充一点,
这样安装的好像只有基于kernel2.4.*的呵呵。。。
Debian 常用安装网址
deb http://debian.cn99.com/debian sid main non-free contribdeb http://debian.cn99.com/debian-non-US sid/non-US main contrib non-freedeb http://debian.cn99.com/debian testing-proposed-updates main contrib non-freedeb http://debian.cn99.com/debian-non-US testing-proposed-updates/non-US main contrib non-freedeb http://debian.cn99.com/debian-security testing/updates main contrib non-freedeb http://debian.okey.net/debian-uo/ sid firefly java marillat rareware miscdeb http://debian.okey.net/debian-fonts/ ./deb ftp://ftp.nerim.net/debian-marillat/ unstable maindeb http://chinese.alioth.debian.org scim/
1、desktop-environment
代码:
apt-get install x-window-system-core kde-core kde-i18n-zhcn#(可选,kde下中文环境)
(声明,这里一般以系统核心为例子,所以加了个-core,如果想完全安装KDE,去掉就是,)
如果想装Gnome就把上面kde-core换成gnome-core即可,当然,后面的kde-i18n-zhcn也就用不到了。
2、输入法,SCIM FCITX,您可以选择,都是非常好的输入法。 上面的deb http://chinese.alioth.debian.org scim/就是SCIM最新版的源。。。
直接apt-get install fcitx即可。。。至于自启动等问题,因为用了startx启动X,所以用了.xinitrc,例如
代码:
expert G_USE_XFT=0export LC_CTYPE=zh_CN.GBKexport G_BROKEN_FILENAMES=1export XMODIFIERS=@im=fcitxexport XIM=fcitxexport XIM_PROGRAM=fcitxfcitxmltermscim -e pinyin -dexec gnome-session#exec fvwm2#exec startxfce4#exec startkde#exec enlightenment#exec blackbox
在用户目录下,没有自建之
3、其他,列出我常用的吧,想要的直接apt-get install 就行了
比如stardict(翻译),xchat(irc),gaim(qq,irc,msn。。。),mozilla,mplayer,emacs(edit等),vim,mlterm,xmms(music),gimp(photo edit),evolution(email),samba(局域网),d4x(download),OOo(office),realplayer,anjuta(c++)等等等…………………………
因为感觉意义不是很大,写的很粗糙了,,,呵呵,详细请根据需要参考其他文章吧。。。
引自: http://www.linuxsir.org
相关文章推荐
- debian 5常用软件包名称,及安装方法
- BeagleBone Black 更新官方debian后安装软件显示"no space" 的解决方法!
- debian6 安装VirtualBox的方法
- Debian硬盘安装方法
- Debian 的安装方法
- debian安装后sudo命令不能用的解决方法
- debian中安装virtualbox提示virtualbox 尚未配置时的处理方法
- Debian 安装无线网卡驱动最简单方法。
- 在Debian 9系统上安装Mysql数据库的方法教程
- Linux(Ubuntu/GNU Debian)下Eclipse安装中文插件的方法
- Debian 安装sun jdk的命令行方法
- debian下安装内核源码的方法
- 非Debian系统安装deb文件的方法
- debian中安装程序时错误解决方法
- 安装Debian的正确方法
- Debian3.1桌面安装方法
- Debian的纯网络安装方法
- 安装debian Linux后文字显示的全是方块数字解决方法
- 在Debian 8纯命令行安装android开发环境方法
- 无软驱网络安装Debian的方法