一 下载安装Debian 7.2

安装debian CD1,在最后一步,使用网络安装基本界面。

二 修改源

cd /etc/apt

mv sources.list sources.list.bak

gedit /sources.list

添加:


#####################主要,开源,闭源
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib ###################wheezy-proposed-updates建议更新
deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free ###################wheezy-updates推荐更新
deb http://mirrors.163.com/debian wheezy-updates main contrib non-free
deb-src http://mirrors.163.com/debian wheezy-updates main contrib non-free #################wheezy/updates安全更新
deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free deb http://http.us.debian.org/debian wheezy main contrib non-free
deb http://security.debian.org wheezy/updates main contrib non-free deb http://ftp.cn.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.cn.debian.org/debian wheezy main contrib non-free deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
#firefox
deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

sudo apt-get update 刷新一下。

三 安装firefox

因为debian自带的浏览器有些我要的插件不兼容如,fireftp firebug,虽然也是firefox社区版。

1 卸载iceweasel

sudo apt-get remove iceweasel

2 添加源(见上),安装firefox

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29

apt-get install firefox-mozilla-build

当时在这里遇到了一些问题,firefox处于half-installed状态。

就使用:

sudo apt-get --reinstall install firefox-mozilla-build

完成重装。参考: http://www.cnblogs.com/ibgo/archive/2013/09/15/3322457.html

四 安装输入法

http://code.google.com/p/ibus/wiki/Debian

The default input method for Debian is SCIM. To install iBus, use the following command.

The default input method for Debian is SCIM. To install iBus, use the following command.

sudo apt-get install ibus im-switch
sudo apt-get install ibus-pinyin # or other engine(s) you want
sudo apt-get install ibus-table ibus-table-wubi # wubi
im-switch -s ibus
# logout and re-login
ibus-setup # add input methods you want

五 安装emacs,配置emacs 输入法(ibus-el)

sudo apt-get install emacs ibus-el

~/.emacs配置

;;http://v.youku.com/v_show/id_XNDE0MjkxOTM2.html
;;ibus-mode
;;(add-to-list 'load-path "~/.emacs.d/ibus-el-0.3.2")
(require 'ibus)
;; Turn on ibus-mode automatically after loading .emacs
(add-hook 'after-init-hook 'ibus-mode-on)
;; Choose your key to toggle input status:
(ibus-define-common-key ?\C-\s nil)
(global-set-key (kbd "C-\\") 'ibus-toggle) ;;通过Ctrl+\切换输入法
(setq ibus-cursor-color '("red" "blue"))
(custom-set-variables '(ibus-python-shell-command-name "python2"))

六 安装apt-fast,多线程的apt-get

http://wiki.ubuntu.org.cn/index.php?title=Apt-fast&variant=zh-hans

    sudo apt-get install axel aria2
sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast

因为这里是debian系统安装ubuntu PPA软件

在apt-get update之后,要修改/etc/apt/sources.list.d/下的文件

将wheezy改成 precise即ubuntu的版本号

root@debian:/home/kevin# cat /etc/apt/sources.list.d/apt-fast-stable-wheezy.list
deb http://ppa.launchpad.net/apt-fast/stable/ubuntu precise main
deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu precise main

七 打印机安装hplip

http://hplipopensource.com/hplip-web/install_wizard/index.html

按向导,下载文件,安装。

其他打印机方案,http://www.linuxfoundation.org/collaborate/workgroups/openprinting

页边距太宽了,浪费

lpoptions -p HP_LaserJet_Professional_M1213nf_MFP -o page-left=3 -o page-right=3 -o page-top=3 -o page-bottom=3

参考 http://127.0.0.1:631/help/options.html#OPTIONS

Setting the Page Margins

The value argument is the margin in points; each point is 1/72 inch or 0.35mm.

 

Debain 7.2安装配置的更多相关文章

  1. debian 7.4 安装配置

    改用debian差不多有半年了,之前一直用fedora,大概3年多,虽然软件包都很新,总是不太稳定,有点软件用着用着就自动退出了. 换了debain之后,这半年还真是一直没啥问题,这里总结了一些安装配 ...

  2. Hive安装配置指北(含Hive Metastore详解)

    个人主页: http://www.linbingdong.com 本文介绍Hive安装配置的整个过程,包括MySQL.Hive及Metastore的安装配置,并分析了Metastore三种配置方式的区 ...

  3. Hive on Spark安装配置详解(都是坑啊)

    个人主页:http://www.linbingdong.com 简书地址:http://www.jianshu.com/p/a7f75b868568 简介 本文主要记录如何安装配置Hive on Sp ...

  4. ADFS3.0与SharePoint2013安装配置(原创)

    现在越来越多的企业使用ADFS作为单点登录,我希望今天的内容能帮助大家了解如何配置ADFS和SharePoint 2013.安装配置SharePoint2013这块就不做具体描述了,今天主要讲一下怎么 ...

  5. Hadoop的学习--安装配置与使用

    安装配置 系统:Ubuntu14.04 java:1.7.0_75 相关资料 官网 下载地址 官网文档 安装 我们需要关闭掉防火墙,命令如下: sudo ufw disable 下载2.6.5的版本, ...

  6. redis的安装配置

    主要讲下redis的安装配置,以及以服务的方式启动redis 1.下载最新版本的redis-3.0.7  到http://redis.io/download中下载最新版的redis-3.0.7 下载后 ...

  7. Windows环境下的NodeJS+NPM+Bower安装配置

    npm作为一个NodeJS的模块管理,之前我由于没有系统地看资料所以导致安装配置模块的时候走了一大段弯路,所以现在很有必要列出来记录下.我们要先配置npm的全局模块的存放路径以及cache的路径,例如 ...

  8. ubuntu kylin 14.04安装配置MongoDB v2.6.1(转)

    1.获取最新版本 https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.1.tgz 2.解压并进入bin目录 tar zxvf mongo ...

  9. Django基础之安装配置

    安装配置 一 MVC和MTV模式 著名的MVC模式:所谓MVC就是把web应用分为模型(M),控制器(C),视图(V)三层:他们之间以一种插件似的,松耦合的方式连接在一起. 模型负责业务对象与数据库的 ...

随机推荐

  1. 【CCNA学习笔记】1.思科路由器的基本配置

    教学视频来源:http://edu.51cto.com/lesson/id-10930.html. 怎么安装模块.连交叉线什么的视频里面老师说的很清楚了,我只记录一下IOS配置的命令(虽然一副不明觉厉 ...

  2. Verilog 模块参数重定义(转)

    Verilog重载模块参数: 当一个模块引用另外一个模块时,高层模块可以改变低层模块用parameter定义的参数值,改变低层模块的参数值可采用以下两种方式: 1)defparam 重定义参数语法:d ...

  3. soj 1698 Hungry Cow_三角函数

    题目链接 题意:有只牛要吃草,现在有个墙挡着,给你绑着牛的绳的长度,墙的长度,绳原点到墙的距离,问牛能在多大的面积里吃草 思路:分为四种情况,详情请看书.被dp卡着这题没做成 #include < ...

  4. 初探JS正则表达式

    1.概述     正则表达式是一个描述字符模式的对象.Javascript的正则表达式语法的是Perl5的正则表达式的子集.JS正则表达式有两种使用方式,文本模式和RegExp对象模式,实例如下: v ...

  5. STL List容器

    转载http://www.cnblogs.com/fangyukuan/archive/2010/09/21/1832364.html 各个容器有很多的相似性.先学好一个,其它的就好办了.先从基础开始 ...

  6. Html 加载音乐代码mp3

    <object data="__PUBLIC__/home/mp3/media.mp3" type="application/x-mplayer2" wi ...

  7. VIm变成sublime (转)

    sublime在ubuntu下始终支持不是很好, 特别是对中文输入的支持,还有一些插件在ubuntu下也不能用. 在ubuntu下还是用vim吧.  我们一起把vim变成sublime. 只需要三步 ...

  8. chroot 与 jail

    所谓“监牢”就是指通过chroot机制来更改某个进程所能看到的根文件夹,即将某进程限制在指定文件夹中,保证该进程仅仅能对该文件夹及其子文件夹的文件有所动作,从而保证整个server的安全. 创建chr ...

  9. [Python学习笔记][第六章Python面向对象程序设计]

    1月29日学习内容 Python面向对象程序设计 类的定义与使用 类定义语法 使用class关键词 class Car: def infor(self): print("This is ca ...

  10. HTTP协议之 简易浏览器(3)--转载

    简单的说,今天的全部工作就是 我的目的只有两个 1.加深对http协议的理解   2.深化对B/S结构的认识. 代码 1 /* 2 这个程序把主机地址写死了, 3 想更像的话,可以在加个输入.然后根据 ...