Debian installation and basic settings
Create:
Updated: 06-18-2015 11:30
Environment
Debian8-xfce4-amd64
Download
Use Ctrl-f to find "zh" from http://www.debian.org/mirror/list and then go to the corresponding site. /debian-cd/
For example, http://debian.bjtu.edu.cn/debian-cd/current/amd64/
USTC is black, there is a risk of all packages inside the station
163 source deleted all ISO files in/debian-cd/
Howto
How to make a multi-boot USB drive (multiple windows+linux between multiple computers)
Why does the UltraISO made boot U disk not be used on other hard disk/PC (write HDD image?) After re-partitioning it)
Expert mode USB drive problem, sometimes not
UNetbootin or DD made USB flash drive does not start
Network installation gets stuck in the middle of every
HDD Installation
Automated Installation
Copy the system from the other hard drive to the hard drive
Minimized installation
Basically the same (installed by default)
Laptop
Standard Tools
installation process
Discard Gnome3: Slow, the Panel does not allow the addition of initiators;
< language + time zone > decide locale? I choose American English language, time zone selected Hong Kong (no Shanghai), then the locale became EN_HK;
Lang and language inconsistent?
Lang and lc_ctype Chinese input support for English environment?
Networking
Eth0
。。。 I want to add ...
Wlan0
Missing: Firmware-iwlwifi
Address: http://mirrors.163.com/debian/pool/non-free/f/firmware-nonfree/
Configuration
/etc/network/interfaces
Auto Wlan0
Iface Wlan0 inet DHCP
Wpa_ssid "Your Hotspot"
WPA_PSK "Your password"
Reference
Ip-link (8)
Wpa_supplicant (8)
Iwconfig (8)
Ifconfig (8)
NetworkManager
Wifi-debian Wiki
Configuration source
HTTP source rather than FTP source--Speed problem
Apt-spy or Netselect can be automatically configured as the fastest source (long time, do not terminate halfway, otherwise passive)
See all sources
Http://www.debian.org/mirror/list
Comment out cdrom source ("Deb cdrom" line)
USTC source before the time is black, the package is risky--priority
163 source delay, often 15-30 seconds wait--temporarily
Comment Out Source
Comment out the 163 security update source
Unofficial security update source with 163 security update source-too slow (10k less), updated one months
/etc/apt/sources.list
Deb Http://mirrors.163.com/debian/stable main Non-free contrib
Deb Http://mirrors.163.com/debian/stable-updates main Non-free contrib
Deb Http://mirrors.163.com/debian/stable-backports main Non-free contrib
Deb Http://mirrors.163.com/debian-security/stable/updates main Non-free contrib
Deb Http://mirrors.163.com/debian/stable-proposed-updates main Non-free contrib
# deb-src http://mirrors.163.com/debian/stable Main Non-free contrib
# deb-src Http://mirrors.163.com/debian/stable-updates Main Non-free contrib
# deb-src Http://mirrors.163.com/debian/stable-backports Main Non-free contrib
# deb-src Http://mirrors.163.com/debian-security/stable/updates Main Non-free contrib
# deb Http://security.debian.org/jessie/updates main contrib nonfree
Other
Jessie/stable-The former is beta and the latter is jessie-stable???
Need Stable-backports modified to jessie-backports?
Need stable-proposed-updates modified to jessie-proposed-updates?
Reference
Apt-setup
Apt-spy
Netselect
At last
Apt-get Update && Apt-get upgrade
Delete old kernel
Delete old versions Vmlinuz and INITRD (under root)
Update-grub
Installing the Graphical interface Xfce4
Xorg
Xfce4
Xfce4-goodies
Slim
Configuring sudo
# apt-get Install sudo
# nano/etc/sudoers
Follow the root line settings
Install Input Method Fcitx
Terminal input FCITX, according to error message control aptitude Search FCITX Install the appropriate package
Fcitx
Fcitx-bin
FCITX-CONFIG-{COMMON,GTK2,GTK}
Fcitx-data
FCITX-FRONTEND-{ALL,GTK2,GTK3,QT4,QT5}
Fcitx-googlepinyin
Fcitx-pinyin
FCITX-LIBS{,-GCLIENT,-QT,-QT5}
Fcitx-module-{x11,dbus}
Fcitx-modules
Fcitx-table{,-wanfeng}
Fcitx-ui-{classic,light}
Reference
Im-config
Fcitx-diagnose
$XMODIFIERS
Chinese font
Ttf-wqy-{microhei,zenhei}
Fonts-wqy-{microhei,zenhei}
Xfonts-wqy
Chinese terminal
Zhcon
Reference
Debian Installation Manuals
"My" Debian installation and basic settings