常用软件列表:
官方简体中文教程:
最新版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 下载模式():
- netinst.iso: 包含了debian基础安装的镜像文件(169MB)
- axel -a ''
- xfce+lxde-CD-1.iso: 包含了xfce和lxde图形界面的镜像文件(646MB)
- axel -a ''
注意必须用到的两个文件 .jigdo .template ()
debianMirror:
windows版:
- 下载后运行 jigdo-lite.bat 一路回车,当前目录下会生成文件 jigdo-lite-settings.txt
- 修改成下面这样保存即可!
- ---------------------------------------
- jigdo='http://cdimage.debian.org/debian-cd/6.0.5/amd64/jigdo-cd/debian-6.0.5-amd64-netinst.jigdo'
- debianMirror=''
- nonusMirror=''
- tmpDir='.'
- jigdoOpts='--cache jigdo-file-cache.db'
- wgetOpts='--passive-ftp --dot-style=mega --continue --timeout=30'
- scanMenu=''
- ---------------------------------------
- 运行 jigdo-lite.bat 根据提示操作即可!
- Files to scan: Enter
- Debian mirror: Enter
- 自动下载 .jigdo .template 文件
- 自动下载相关文件 - 自动组成镜像文件...
- # cd /usr/ports && make quicksearch key=jigdo
- Port: jigdo-0.7.3_5
- Path: /usr/ports/net-p2p/jigdo
- Info: A utility used to retrieve very large files over the Internet
- # cd /usr/ports/net-p2p/jigdo
- # more pkg-descr
- This is a port of Jigsaw Download (AKA jigdo) which is a tool designed to
- ease the distribution of very large files over the Internet, for example
- CD or DVD images.
- Main features:
- - The large images does not need to be stored on the server, instead only
- the small files contained in the images (works with CD, DVD images,
- uncompressed zip files, tar archives...)
- - In spite of the above, jigdo creates a bit-exact copy of the image on the
- user's machine (to achieve this, the directory data, boot block, etc. of
- the image is stored in a special .template file which is distributes
- alongside the .jigdo file)
- - There is full control over where jigdo-lite will download the individual
- parts. It is possible to define mirrors, so users can choose the nearest
- one.
- - jigdo relies on standard HTTP/FTP, no special protocols needed.
- - jigdo-lite supports resuming aborted downloads, or continuing the
- download with another mirror if the current one is slow.
- - It is possible to "upgrade" the CD image, only the changed data will be
- downloaded.
- # make BATCH=YES install clean
- # vim ~/.jigdo-lite
- jigdo='http://cdimage.debian.org/debian-cd/6.0.5/amd64/jigdo-cd/debian-6.0.5-amd64-netinst.jigdo'
- debianMirror=''
- nonusMirror=''
- tmpDir='.'
- jigdoOpts='--cache jigdo-file-cache.db'
- wgetOpts='--passive-ftp --dot-style=mega --continue --timeout=30'
- scanMenu=''
- :wq
- # jigdo-lite (按照提示操作)
- 自动下载 .jigdo .template 文件
- 自动下载相关文件 - 自动组成镜像文件...
3> 进入Debian6.0.5
- ko@debian6:~$ pwd
- /home/ko
- ko@debian6:~$ alias
- alias ls='ls --color=auto'
- ko@debian6:~$ vi ~/.bashrc
- 第80行
- # some more ls aliases
- alias ll='ls -l'
- alias la='ls -A'
- alias l='ls -CF'
- :wq
- ko@debian6:~$ source ~/.bashrc
- ko@debian6:~$ alias
- alias l='ls -CF'
- alias la='ls -A'
- alias ll='ls -l'
- alias ls='ls --color=auto'
- ko@debian6:~$ locale
- LANG=zh_CN.UTF-8
- LANGUAGE=
- LC_CTYPE="zh_CN.UTF-8"
- LC_NUMERIC="zh_CN.UTF-8"
- LC_TIME="zh_CN.UTF-8"
- LC_COLLATE="zh_CN.UTF-8"
- LC_MONETARY="zh_CN.UTF-8"
- LC_MESSAGES="zh_CN.UTF-8"
- LC_PAPER="zh_CN.UTF-8"
- LC_NAME="zh_CN.UTF-8"
- LC_ADDRESS="zh_CN.UTF-8"
- LC_TELEPHONE="zh_CN.UTF-8"
- LC_MEASUREMENT="zh_CN.UTF-8"
- LC_IDENTIFICATION="zh_CN.UTF-8"
- LC_ALL=
- ko@debian6:~$ su -
- 密码:
- root@debian6:~# cp /etc/apt/sources.list /etc/apt/sources.list.bak
- root@debian6:~# vi /etc/apt/sources.list (编辑更新服务器列表)
- # main
- deb squeeze main contrib non-free
- deb-src squeeze main contrib non-free
- deb squeeze main contrib non-free
- deb-src squeeze main contrib non-free
- deb squeeze main contrib non-free
- deb-src squeeze main contrib non-free
- # squeeze-updates, previously known as 'volatile'
- # A network mirror was not selected during install. The following entries
- # are provided as examples, but you should amend them as appropriate
- # for your mirror of choice.
- #
- deb squeeze-updates main contrib non-free
- deb-src squeeze-updates main contrib non-free
- deb squeeze-updates main
- deb-src squeeze-updates main
- deb squeeze-updates main
- deb-src squeeze-updates main
- :wq
- root@debian6:~# aptitude update (更新软件包列表)
- root@debian6:~# aptitude dist-upgrade (安装系统更新)
- root@debian6:~# aptitude install vim
- root@debian6:~# vim ~/.vimrc
- set nomodeline (这个一定要写,目前有这个安装漏洞)
- set nocp
- set hls is
- set ic
- set autoindent
- set backspace=2
- syntax on
- "set bg=dark (更改背景色调/默认为light, " 为注释!)
- :wq (详情:vimtutor)
- root@debian6:~# aptitude install xfonts-wqy ttf-wqy-zenhei tty-wqy-microhei ttf-arphic-uming ttf-dejavu
- root@debian6:~# aptitude install ibus-pinyin
- root@debian6:~# aptitude install mplayer
- root@debian6:~# aptitude install chromium
- root@debian6:~# aptitude install axel
6> Reserved for future use....