【Debian】install

n年前的报废台式机实在不能忍受xp的速度,果断装Linux
近期家里的小本装了Ubuntu14.04
,实在不习惯最新的图形界面。装个debian试试吧。

1、专门弄一个空白分区
2、官网下载debian-live-7.5.0-i386-kde-desktop
懒得折腾硬盘安装,刻盘了事。
3、DVD启动,注意安装时不要覆盖全盘,只选择指定分区。然后各种安装,注意root密码和用户密码不要一致。
4、grub会识别到windows系统并安装到mbr上。所以双系统启动不用担心。
5、debian普通用户不能用sudo,按照如下方法修改
--进入root
su
--chmod u+w /etc/sudoers
nano /etc/sudoers
添加"xxx ALL=(ALL) ALL"
xxx是用户名
6、更新源
sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak
#备份一下软件源
sudo nano /etc/apt/sources.list

加入如下内容即可

# 网易163更新服务器:
deb http://mirrors.163.com/debian/ squeeze main non-free
contrib
deb http://mirrors.163.com/debian/ squeeze-proposed-updates main
non-free contrib
deb-src http://mirrors.163.com/debian/ squeeze main non-free
contrib
deb-src http://mirrors.163.com/debian/ squeeze-proposed-updates main
non-free contrib

# sohu 更新服务器:
deb http://mirrors.sohu.com/debian/ lenny main non-free
contrib
deb http://mirrors.sohu.com/debian/ lenny-proposed-updates main
non-free contrib
deb-src http://mirrors.sohu.com/debian/ lenny main non-free
contrib
deb-src http://mirrors.sohu.com/debian/ lenny-proposed-updates main
non-free contrib

7、由于是内网,所以需要增加代理
sudo gedit /etc/apt/apt.conf
Acquire::http::Proxy
"http://proxyusr:[email protected]:proxyport"

8、sudo apt-get upgrade
sudo apt-get update

时间: 2025-01-03 16:45:09

【Debian】install的相关文章

【转】install intel wireless 3165 driver for ubuntu 14.04.3

[转]install intel wireless 3165 driver for ubuntu 14.04.3 Ubuntu 14.04.3 with 3.19 kernel can’t drive the new Intel Wireless 3165 AC with firmware version 13.This is about how to install the driver mannually. Today I changed a new Dell vastro 5000 ser

【debian】解决debian中文安装后出现乱码的问题

由于安装debian选择语言时选择了简体中文安装,但内核没有中文字库,导致某些字符显示为乱码(菱形,方块). 解决办法: 普通用户如果没有设置sudo权限,首先切换到root权限.然后: apt-get install localedpkg-reconfigure locales 进入语言设置界面: 其中,空格键为选取/取消,Tab键为切换到确认选择. 通过方向键与空格键选择en_us.UF-8,其余全部取消,然后按Tab选择<Aceptar>,回车进入下一个界面: 选择es_US.UTF-8

【debian】给用户添加sudo权限

新装的debian系统默认是没有sudo功能的. 于是,在root用户权限下: apt-get install sudo 然后再修改文件 /etc/sudoers : chmod +w /etc/sudoers // 给/etc/sudoers添加写权限vim /etc/sudoers // 修改sudoers文件 在最下面添加格式:用户名 ALL=(ALL) ALL,比如给zl用户添加sudo权限,则添加: zl ALL=(ALL) ALL 最后将sudoers文件改为只读权限: chmod

【Debian】时间设置

http://blog.linuxphp.org/archives/567/ http://www.dedecms.com/knowledge/servers/linux-bsd/2012/0819/8407.html 安装一个小工具:ntpdate,可以从ntp服务器同步时间.apt-get install ntpdate 和国家授时中心的ntp服务器对时.ntpdate 210.72.145.44以上命令要在root账号下运行,ntpdate的对时速度很快 Debian英文版本在默认安装下,

【Debian】 Debian 安装源配置

Debian 安装源配置 所有的Linux安装完后第一件事,就是要更新安装源 安装源是什么呢,安装源又称软件源,是指把软件的安装源地址放在一个pool里面,用一条命令(比如apt-get install XXX)就可以按照顺序从源内指定的服务器查询下载并进行更新或安装 源列表文件通常在/etc/apt/sources.list,里面记录了你所用的源服务器地址 0x01 首先我们需要获取root用户,切换权限 su # 输入你的root账户密码,这里光标不会有显示是否输入,按就完了,注意小键盘及大

【转】Install SmartGit via PPA in Ubuntu 13.10/13.04/12.04/Linux Mint

原文网址:http://ubuntuhandbook.org/index.php/2013/09/install-smartgit-via-ppa-ubuntu-linux-mint/ This tutorial will show you how to install SmartGit/HG easily via PPA in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint. As you may kn

【Debian】非法关机后无法联网 connect: network is unreachable

某一天,突然发现无法ssh登录虚拟机内的debian系统,一直认为是ssh的问题,然后无意间ping了ping百度,发现原来是debian系统没有联网....囧 首先,是虚拟机的网络设置检查. 打开VirtualBox,点选debian虚拟机,然后打开设置,将网络部分设置为桥接网卡. 这一步是为了使虚拟机上网,而且在网络上和宿主机是对等的,拥有独立的内网ip. 这一步没有问题,于是打开虚拟机,进行debian网络设置的检查. debian部分: 设置一个静态ip: 打开/etc/network/

【python】install python 2.7.9

CentOS 7.1  自带 python 2.7.5, 存在sslv3验证的问题,需要通过升级来解决 /// /// 新系统自带的 Python /// [[email protected] tools]# python -V Python 2.7.5 [[email protected] tools]# which python /usr/bin/python [[email protected] tools]# /// /// 利用 yum 升级 python /// [[email pr

【转】Install libimobiledevice on Mac OSX

About the App App name: libimobiledevice App description: Library to communicate with iOS devices natively App website: http://www.libimobiledevice.org/ Install the App Press Command+Space and type Terminal and press enter/return key. Run in Terminal