6
7
2015
1

Debian 安装后的配置

以下内容以 Jessie 和标准 GNOME 桌面为例。

切换到网络源

如果是 DVD 安装,那先确保有网络,然后切换到网络源上。如果你不幸是开源驱动不支持的 BCM 用户并且安装的时候没有提供固件,请看下面的安装网卡驱动,然后再回来。

编辑 /etc/apt/sources.list:

deb http://security.debian.org/ jessie/updates main non-free contrib
deb-src http://security.debian.org/ jessie/updates main non-free contrib

deb http://ftp.cn.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.cn.debian.org/debian/ jessie main non-free contrib

deb http://ftp.cn.debian.org/debian/ jessie-updates main non-free contrib
deb-src http://ftp.cn.debian.org/debian/ jessie-updates main non-free contrib

注意我开启了 main、non-free 和 contrib,如果你对非自由软件不适请自行删减。

这个源速度一般,可考虑用中科大的源

安装 VPN

安装 VPN(以 PPTP 为例)。

sudo apt-get install network-manager-pptp-gnome

安装 Broadcom 网卡驱动

这是不幸买到 BCM 的用户的必修课。

如果是用 DVD 安装好系统(但是没提供固件),那么恭喜你,你已经有了准备条件。

安装好当前内核的 linux-headers。

从另外一个机器上下下来 broadcom-sta-dkms,然后安装。

开启模块:

modprobe -r b44 b43 b43legacy ssb brcmsmac
modprobe wl

搞定。

更新到最新系统

因为我是先从 Wheezy 安装的,所以又体验了一把更新系统。

首先把 sources.list 修改到欲更新到的版本的列表,如 wheezy 更新到 jessie,就把所有的 wheezy 替换成 jessie。

然后 apt-get dist-upgrade。

然后删掉已移除的包。aptitude purge '~c'。

重启 (*),搞定。

(*) 如果你是不幸的 BCM 用户,请一定记得安装好新内核的 linux-headers,切记。最好在重启前就构建好新的 wl 模块。如果不小心忘了,可以暂时撤退到旧内核上,从 grub 中可以选择。

Category: 技术 | Tags: debian | Read Count: 3064
Alyssa 说:
Jan 03, 2023 07:54:20 PM

After you have installed Debian, you will need to do some basic configuration in order to get it up and running. This includes setting up your network, user accounts, and installing any necessary real estate agent Walterboro software. While Debian comes with a wide range of software pre-installed, there may be some things that you need to add or change in order to suit your needs. Fortunately, Debian makes it easy to do all of this through its various configuration tools.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter

Powered by Chito | Hosted at is-Programmer | Theme: Aeros 2.0 by TheBuckmaker.com