Chinaunix首页 | 论坛 | 博客
  • 博客访问: 716655
  • 博文数量: 235
  • 博客积分: 4309
  • 博客等级: 中校
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-17 11:25
个人简介

If you don\\\\\\\\\\\\\\\'t wanna do it, you find an EXCUSE; if you do, you\\\\\\\\\\\\\\\'ll find a WAY :-)

文章分类

全部博文(235)

文章存档

2014年(3)

2013年(2)

2012年(31)

2011年(199)

分类: LINUX

2012-06-13 09:15:43

1> 安装镜像和安装介质的选择 (这里使用amd64CD)
常用软件列表:
官方简体中文教程:
最新版HTML/PDF格式:
  (3.13 MB, 下载次数: 1) 
[上述附件包含:
debian6.0.5-amd64-Installation-Guide_en_US.pdf
debian6.0.5-amd64_Installation-Guide-zh_CN/
debian6.0.5-debian-referenceCard_zh_CN.pdf
debian6.0.5-debian-reference_zh_CN/
debian6.0.5-securing-debian-HowTo.en_US.pdf
]

FTP/HTTP 下载模式():
  1. netinst.iso: 包含了debian基础安装的镜像文件(169MB)
  2. axel -a ''

  3. xfce+lxde-CD-1.iso: 包含了xfce和lxde图形界面的镜像文件(646MB)
  4. axel -a ''
复制代码
jigdo下载模式():
注意必须用到的两个文件 .jigdo .template ()
debianMirror: 

windows版:

  1. 下载后运行 jigdo-lite.bat 一路回车,当前目录下会生成文件 jigdo-lite-settings.txt
  2. 修改成下面这样保存即可!
  3. ---------------------------------------
  4. jigdo='http://cdimage.debian.org/debian-cd/6.0.5/amd64/jigdo-cd/debian-6.0.5-amd64-netinst.jigdo'
  5. debianMirror=''
  6. nonusMirror=''
  7. tmpDir='.'
  8. jigdoOpts='--cache jigdo-file-cache.db'
  9. wgetOpts='--passive-ftp --dot-style=mega --continue --timeout=30'
  10. scanMenu=''
  11. ---------------------------------------
  12. 运行 jigdo-lite.bat 根据提示操作即可!
  13. Files to scan:  Enter
  14. Debian mirror:  Enter
  15. 自动下载 .jigdo .template 文件
  16. 自动下载相关文件 - 自动组成镜像文件...
复制代码
FreeBSD版:
  1. # cd /usr/ports && make quicksearch key=jigdo
  2. Port:   jigdo-0.7.3_5
  3. Path:   /usr/ports/net-p2p/jigdo
  4. Info:   A utility used to retrieve very large files over the Internet

  5. # cd /usr/ports/net-p2p/jigdo 
  6. # more pkg-descr 
  7. This is a port of Jigsaw Download (AKA jigdo) which is a tool designed to
  8. ease the distribution of very large files over the Internet, for example
  9. CD or DVD images.

  10. Main features:
  11.     - The large images does not need to be stored on the server, instead only
  12.       the small files contained in the images (works with CD, DVD images,
  13.       uncompressed zip files, tar archives...)
  14.     - In spite of the above, jigdo creates a bit-exact copy of the image on the
  15.       user's machine (to achieve this, the directory data, boot block, etc. of
  16.       the image is stored in a special .template file which is distributes
  17.       alongside the .jigdo file)
  18.     - There is full control over where jigdo-lite will download the individual
  19.       parts. It is possible to define mirrors, so users can choose the nearest
  20.       one.
  21.     - jigdo relies on standard HTTP/FTP, no special protocols needed.
  22.     - jigdo-lite supports resuming aborted downloads, or continuing the
  23.       download with another mirror if the current one is slow.
  24.     - It is possible to "upgrade" the CD image, only the changed data will be
  25.       downloaded.
  26. # make BATCH=YES install clean

  27. # vim ~/.jigdo-lite
  28. jigdo='http://cdimage.debian.org/debian-cd/6.0.5/amd64/jigdo-cd/debian-6.0.5-amd64-netinst.jigdo'
  29. debianMirror=''
  30. nonusMirror=''
  31. tmpDir='.'
  32. jigdoOpts='--cache jigdo-file-cache.db'
  33. wgetOpts='--passive-ftp --dot-style=mega --continue --timeout=30'
  34. scanMenu=''
  35. :wq

  36. # jigdo-lite      (按照提示操作)
  37. 自动下载 .jigdo .template 文件
  38. 自动下载相关文件 - 自动组成镜像文件...
复制代码
2> 开始安装Debian6.0.5
Debian6.0.5-install-01.png 
Debian6.0.5-install-001.png 
Debian6.0.5-install-02.png 
Debian6.0.5-install-03.png 
Debian6.0.5-install-04.png 
Debian6.0.5-install-05.png 
Debian6.0.5-install-06.png 
Debian6.0.5-install-07.png 
Debian6.0.5-install-08.png 
Debian6.0.5-install-09.png 
Debian6.0.5-install-10.png 
Debian6.0.5-install-11.png 
Debian6.0.5-install-12.png 
Debian6.0.5-install-13.png 
Debian6.0.5-install-14.png 
Debian6.0.5-install-15.png 
Debian6.0.5-install-16.png 
Debian6.0.5-install-17.png 
Debian6.0.5-install-18.png 
Debian6.0.5-install-19.png 
Debian6.0.5-install-20.png 
Debian6.0.5-install-21.png 
Debian6.0.5-install-22.png 
Debian6.0.5-install-23.png 
Debian6.0.5-start-01.png 
Debian6.0.5-start-02.png 
Debian6.0.5-start-03.png 
Debian6.0.5-start-04.png 
Debian6.0.5-start-05.png 
3> 进入Debian6.0.5
  1. ko@debian6:~$  pwd
  2. /home/ko
  3. ko@debian6:~$  alias
  4. alias ls='ls --color=auto'
  5. ko@debian6:~$  vi ~/.bashrc
  6. 第80行
  7. # some more ls aliases
  8. alias ll='ls -l'
  9. alias la='ls -A'
  10. alias l='ls -CF'
  11. :wq
  12. ko@debian6:~$  source ~/.bashrc
  13. ko@debian6:~$  alias
  14. alias l='ls -CF'
  15. alias la='ls -A'
  16. alias ll='ls -l'
  17. alias ls='ls --color=auto'
  18. ko@debian6:~$ locale
  19. LANG=zh_CN.UTF-8
  20. LANGUAGE=
  21. LC_CTYPE="zh_CN.UTF-8"
  22. LC_NUMERIC="zh_CN.UTF-8"
  23. LC_TIME="zh_CN.UTF-8"
  24. LC_COLLATE="zh_CN.UTF-8"
  25. LC_MONETARY="zh_CN.UTF-8"
  26. LC_MESSAGES="zh_CN.UTF-8"
  27. LC_PAPER="zh_CN.UTF-8"
  28. LC_NAME="zh_CN.UTF-8"
  29. LC_ADDRESS="zh_CN.UTF-8"
  30. LC_TELEPHONE="zh_CN.UTF-8"
  31. LC_MEASUREMENT="zh_CN.UTF-8"
  32. LC_IDENTIFICATION="zh_CN.UTF-8"
  33. LC_ALL=
复制代码
4> 配置 sources.list 并安装 VIM
  1. ko@debian6:~$ su -
  2. 密码:
  3. root@debian6:~# cp /etc/apt/sources.list /etc/apt/sources.list.bak
  4. root@debian6:~# vi /etc/apt/sources.list                     (编辑更新服务器列表)
  5. # main
  6. deb squeeze main contrib non-free
  7. deb-src squeeze main contrib non-free
  8. deb squeeze main contrib non-free
  9. deb-src squeeze main contrib non-free
  10. deb squeeze main contrib non-free
  11. deb-src squeeze main contrib non-free

  12. # squeeze-updates, previously known as 'volatile'
  13. # A network mirror was not selected during install.  The following entries
  14. # are provided as examples, but you should amend them as appropriate
  15. # for your mirror of choice.
  16. #
  17. deb squeeze-updates main contrib non-free
  18. deb-src squeeze-updates main contrib non-free
  19. deb squeeze-updates main
  20. deb-src squeeze-updates main
  21. deb squeeze-updates main
  22. deb-src squeeze-updates main
  23. :wq

  24. root@debian6:~# aptitude update                                (更新软件包列表)
  25. root@debian6:~# aptitude dist-upgrade                          (安装系统更新)

  26. root@debian6:~# aptitude install vim
  27. root@debian6:~# vim ~/.vimrc
  28. set nomodeline        (这个一定要写,目前有这个安装漏洞)
  29. set nocp
  30. set hls is
  31. set ic
  32. set autoindent
  33. set backspace=2
  34. syntax on
  35. "set bg=dark      (更改背景色调/默认为light, " 为注释!)
  36. :wq               (详情:vimtutor)
复制代码
5> 安装WQY字库/ibus-pinyin输入法/mplayer播放器/chromium浏览器/axel下载利器
  1. root@debian6:~# aptitude install xfonts-wqy ttf-wqy-zenhei tty-wqy-microhei ttf-arphic-uming ttf-dejavu
  2. root@debian6:~# aptitude install ibus-pinyin
  3. root@debian6:~# aptitude install mplayer
  4. root@debian6:~# aptitude install chromium
  5. root@debian6:~# aptitude install axel
复制代码
6> Debian占有率真高^_^
w3techs-bsd.png 
w3techs-linux.png 
6> Reserved for future use....
阅读(1414) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~