一 下载安装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 wantsudo 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 aria2sudo add-apt-repository ppa:apt-fast/stablesudo apt-get updatesudo 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.

 

转载于:https://www.cnblogs.com/allbymyself/p/3443872.html

Debain 7.2安装配置相关推荐

  1. MySQL安装配置(Windows和 Linux )

    MySQL安装配置(Windows和 Linux ) 文章目录 MySQL安装配置(Windows和 Linux ) 一.MySQL 下载 1. 1 点击 **DOWNLOADS** 1.2 点击 * ...

  2. mysql64如何配置_win7 64位下如何安装配置mysql-winx64(安装记录)

    win7 64位下如何安装配置mysql winx64 1.mysql下载 官方网站下载地址:http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5. ...

  3. ActiveMQ—安装配置及使用

    安装配置及使用 转自:http://blog.csdn.net/qq_21033663/article/details/52461543 (一)ActiveMQ介绍 ActiveMQ 是Apache出 ...

  4. Linux下Tomcat的安装配置

    Linux下Tomcat的安装配置 一.下载安装对应的jdk,并配置Java环境. 官网下载地址: http://www.oracle.com/technetwork/java/javase/down ...

  5. wamp的mysql单独使用_Windows 7+8.1+10 单独安装配置 PHP+Apache+MySQL(不使用 WAMP)

    Windows 8.1 单独安装配置 PHP+Apache+MySQL(不使用 WAMP) 本文同样适用于Windows7和10 0x00 PHP [下载]http://www.doczj.com/d ...

  6. mysql数据库解压安装教程_MySQL数据库之windows 10下解压版MySql安装配置方法教程...

    本文主要向大家介绍了MySQL数据库之windows 10下解压版MySql安装配置方法教程 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. windows 10 下安装解压版的 ...

  7. python3.6.2怎样安装,python 3.6.2 安装配置方法图文教程

    python 3.6.2 安装配置方法图文教程 Windows下Python(pip)环境搭建(3.6)图解,供大家参考,具体内容如下 1.下载最新的Python安装:3.6.2 2.安装时不要选择默 ...

  8. centos7 mysql workbench_centOS下mysql workbench安装配置教程

    本文为大家分享了mysql workbench安装配置教程,供大家参考,具体内容如下 step0:安装mysql 在按照workbench之前,先安装mysql.指令是 yum install mys ...

  9. Centos5.6 VNC安装配置【无错版】

    不严格按本步骤就会出现VNC桌面花屏,就是桌面分离为一层一层的... ---------------------------------------- 先装X window http://blog.c ...

最新文章

  1. Lua 代码编写技巧
  2. 如何设计后台产品中的“保存”功能?
  3. SimpleExecutor.doQuery()-执行的StatementHandler 的query()方法
  4. typeahead有什么作用_typeahead使用配置参数。
  5. android assets 文件夹 复制,Android 中 Assets目录下 文件或文件夹的复制
  6. LeetCode 445 分发饼干
  7. novell.directory.ldap获取邮箱活动目录
  8. 多项式函数插值:计算基本理论
  9. 【图像提取】基于matlab PCA-CSIFT feature图像特征提取【含Matlab源码 1174期】
  10. android通过代码设置铃声_让你的手机铃声与众不同 (附ios音乐dj)
  11. 编程珠玑第一章-位图压缩存储
  12. 软件测试cpu性能测试案例,cpu测试(cpu性能测试软件)
  13. 映美精LoadDeviceStateFromFile问题
  14. Python:导出QQ聊天记录-让我们看看逗比群友都在聊什么
  15. 一根辣条铸就的百亿生意,卫龙是如何成龙的
  16. form表单提交的几种方式
  17. 净利率远低同行,诺威健康如何在CRO跑道上争排位?
  18. 计算机控制独立点火结构图,独立点火线圈检测方法 独立点火线圈结构线路图...
  19. 「企业安全架构」EA874:信息安全架构
  20. 完全开源的仓库管理系统,无需付费即可搭建一套商业级WMS

热门文章

  1. linux sh for ls,Linux shell for while 循环
  2. 维护人员工具_防爆配电箱检修规范和维护保养
  3. 为什么vs数据库中文显示问号_本科论文知网不收录为什么会被知网查重到?
  4. linux scp移动文件夹,linux scp远程拷贝文件及文件夹
  5. 电脑记事本在哪_【锦囊站第002期】电脑一秒内完成文件搜索是如何实现的?
  6. java iris_利用K-Means聚类算法实现对iris.data.ulab
  7. mysql show命令用不了_MySQL show命令的用法 | 很文博客
  8. java 根据ip获取mac地址_利用java如何根据IP获取mac地址
  9. php获取表字段,使用 php 获取表的字段信息
  10. java把图片写入excel_使用POI向excel中写入图片的java代码