一 下载安装Debian 7.2

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

二 修改源

cd /etc/apt

mv sources.list sources.list.bak

gedit /sources.list

添加:

  1.  
  1. #####################主要,开源,闭源
  2. deb http://mirrors.163.com/debian wheezy main non-free contrib
  3. deb-src http://mirrors.163.com/debian wheezy main non-free contrib
  4.  
  5. ###################wheezy-proposed-updates建议更新
  6. deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
  7. deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
  8.  
  9. ###################wheezy-updates推荐更新
  10. deb http://mirrors.163.com/debian wheezy-updates main contrib non-free
  11. deb-src http://mirrors.163.com/debian wheezy-updates main contrib non-free
  12.  
  13. #################wheezy/updates安全更新
  14. deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
  15. deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
  16.  
  17. deb http://http.us.debian.org/debian wheezy main contrib non-free
  18. deb http://security.debian.org wheezy/updates main contrib non-free
  19.  
  20. deb http://ftp.cn.debian.org/debian wheezy main contrib non-free
  21. deb-src http://ftp.cn.debian.org/debian wheezy main contrib non-free
  22.  
  23. deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
  24. deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
  25. deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
  26. deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
  27. deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
  28. deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
  29. #firefox
  30. 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.

  1. The default input method for Debian is SCIM. To install iBus, use the following command.
  2.  
  3. sudo apt-get install ibus im-switch
  4. sudo apt-get install ibus-pinyin # or other engine(s) you want
    sudo apt-get install ibus-table ibus-table-wubi # wubi
  5. im-switch -s ibus
  6. # logout and re-login
  7. ibus-setup # add input methods you want

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

sudo apt-get install emacs ibus-el

~/.emacs配置

  1. ;;http://v.youku.com/v_show/id_XNDE0MjkxOTM2.html
  2. ;;ibus-mode
  3. ;;(add-to-list 'load-path "~/.emacs.d/ibus-el-0.3.2")
  4. (require 'ibus)
  5. ;; Turn on ibus-mode automatically after loading .emacs
  6. (add-hook 'after-init-hook 'ibus-mode-on)
  7. ;; Choose your key to toggle input status:
  8. (ibus-define-common-key ?\C-\s nil)
  9. (global-set-key (kbd "C-\\") 'ibus-toggle) ;;通过Ctrl+\切换输入法
  10. (setq ibus-cursor-color '("red" "blue"))
  11. (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

  1. sudo apt-get install axel aria2
  2. sudo add-apt-repository ppa:apt-fast/stable
  3. sudo apt-get update
  4. sudo apt-get install apt-fast

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

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

将wheezy改成 precise即ubuntu的版本号

  1. root@debian:/home/kevin# cat /etc/apt/sources.list.d/apt-fast-stable-wheezy.list
  2. deb http://ppa.launchpad.net/apt-fast/stable/ubuntu precise main
  3. 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.

  1.  

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. .NET抽象工厂模式微理解--教你在项目中实现抽象工厂

    .NET抽象工厂模式微理解--教你在项目中实现抽象工厂 最近在学习MVC,对于MVC里面的一些项目上的东西都和抽象模式有关,今天就微说明一下个人对于抽象工厂模式的理解,以方便学习MVC及工厂模式相关的 ...

  2. shell 脚本FTP自动上传文件

    下面的脚本 会把本地的文本文件压缩后, 上传到FTP服务器上. 里面有一点小逻辑, 就是上传的文本文件 是 日期时间.txt 形式的, 一天写一个日志文件, 今天的文件不上传, 只上传 老的日志文件. ...

  3. 《Programming WPF》翻译 第9章 5.默认可视化

    原文:<Programming WPF>翻译 第9章 5.默认可视化 虽然为控件提供一个自定义外观的能力是有用的,开发者应该能够使用一个控件而不用必须提供自定义可视化.这个控件应该正好工作 ...

  4. jquery-ui datepicker使用

    这是一款老外设计的日期控件 很多显示方式都是国外的 需要自己调整一下 closeText: "Done", prevText: "上一月", nextText: ...

  5. 记一次 java程序优化

    优化原因 环境中部署两个程序: web应用 tomcat   10G(webservice服务端,前端web服务) java应用               5G(webservice客户端,sock ...

  6. SICP 练习 1.3

    (define (sum a b) (+ a b)) (define (sum-two a b c) ( cond ((and (> (sum a b) (sum a c)) (> (su ...

  7. 关于UIButton中的ContentEdgeInsets的深入研究

    UIButton的contentEdgeInsets属性的深入研究 由于用UIButton这个属性做过一些东西,但是对它的规律始终不太了解,虽然苹果官方文档的解释大体上可以理解为,这个属性设置的是内边 ...

  8. fcitx 输入框纵向

    打开~/.config/fcitx/conf/fcitx-classic-ui.config 找到下面的:# 竖排候选词列表# 可选值:# True False#VerticalList=True-- ...

  9. array模块

    array模块定义了一种序列数据结构,看起来和list很相似,但是所有成员必须是相同基本类型. 2.1 array-固定类型数据序列 array作用是高效管理固定类型数值数据的序列. 2.2.1 初始 ...

  10. XNOR-Net ImageNet Classification Using Binary Convolutional Neural Networks

    转载请注明出处: http://www.cnblogs.com/sysuzyq/p/6245186.html by 少侠阿朱