Debain 7.2安装配置
一 下载安装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安装配置的更多相关文章
- debian 7.4 安装配置
改用debian差不多有半年了,之前一直用fedora,大概3年多,虽然软件包都很新,总是不太稳定,有点软件用着用着就自动退出了. 换了debain之后,这半年还真是一直没啥问题,这里总结了一些安装配 ...
- Hive安装配置指北(含Hive Metastore详解)
个人主页: http://www.linbingdong.com 本文介绍Hive安装配置的整个过程,包括MySQL.Hive及Metastore的安装配置,并分析了Metastore三种配置方式的区 ...
- Hive on Spark安装配置详解(都是坑啊)
个人主页:http://www.linbingdong.com 简书地址:http://www.jianshu.com/p/a7f75b868568 简介 本文主要记录如何安装配置Hive on Sp ...
- ADFS3.0与SharePoint2013安装配置(原创)
现在越来越多的企业使用ADFS作为单点登录,我希望今天的内容能帮助大家了解如何配置ADFS和SharePoint 2013.安装配置SharePoint2013这块就不做具体描述了,今天主要讲一下怎么 ...
- Hadoop的学习--安装配置与使用
安装配置 系统:Ubuntu14.04 java:1.7.0_75 相关资料 官网 下载地址 官网文档 安装 我们需要关闭掉防火墙,命令如下: sudo ufw disable 下载2.6.5的版本, ...
- redis的安装配置
主要讲下redis的安装配置,以及以服务的方式启动redis 1.下载最新版本的redis-3.0.7 到http://redis.io/download中下载最新版的redis-3.0.7 下载后 ...
- Windows环境下的NodeJS+NPM+Bower安装配置
npm作为一个NodeJS的模块管理,之前我由于没有系统地看资料所以导致安装配置模块的时候走了一大段弯路,所以现在很有必要列出来记录下.我们要先配置npm的全局模块的存放路径以及cache的路径,例如 ...
- 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 ...
- Django基础之安装配置
安装配置 一 MVC和MTV模式 著名的MVC模式:所谓MVC就是把web应用分为模型(M),控制器(C),视图(V)三层:他们之间以一种插件似的,松耦合的方式连接在一起. 模型负责业务对象与数据库的 ...
随机推荐
- 【剑指offer】面试题29:数组中出现次数超过一半的数字
题目: 数组中有一个数字出现的次数超过数组长度的一半,请找出这个数字.例如输入一个长度为9的数组{1,2,3,2,2,2,5,4,2}.由于数字2在数组中出现了5次,超过数组长度的一半,因此输出2. ...
- QT 4.7支持中文(QT4.7)(中文)(makeqpf)
QT 4.7支持中文(QT4.7)(中文)(makeqpf) 摘要: QT4.7.0在移植到开发板上的时候,中文支持是必不可少的,如何让QT支持中文,如何制作QT支持的字体文件,如何使QT UI编辑器 ...
- c++之 常量
const常量 当在类型名前面加上关键字const后,表示它是一个只读的量,不能对其进行修改,因而被称为常量. 下面的例子对常量进行修改: const常量是只读的,可以读取它的值,或者用printf打 ...
- mycat实例(3)
配置MyCat 4. 配置schema.xml schema.xml里面管理着MyCat的逻辑库.表,每张表使用的分片规则.分布在哪个DataNode以及DataSource上. 之前的例子: < ...
- LinqToXML~读XML文件续
上篇文章读了如何通过linq to xml去读取XML文件,而这讲主要通过linq to xml来读取由属性组件的XML文件,例如读取一个web.config的XML格式的配置文件,下面是config ...
- Oracle 10g轻量级客户端安装[转]
http://www.oracle.com/technetwork/cn/topics/winsoft-095945-zhs.html oracle技术官方网 http://www.oracle.co ...
- VB中DateDiff 函数解释
VB中DateDiff 函数使用方法 DateDiff (interval, Date1 , Date2[,firstweekofyear[,firstweekofyear]]) 返回一个Varia ...
- 面试前的准备---C#知识点回顾----04
播下的种子,慢慢开始发芽收获了,陆陆续续offer就来了,该轮到我挑的时候了 今天面试的一家公司,技术问的相对宽广和细致,程度令人发指 1.谈谈ViewState 这个问题,回答的好,工资翻一级 基本 ...
- android——屏幕适配大全(转载)
http://my.oschina.net/u/2008084/blog/496161 一.适配可行性 早在Android设计之初就考虑到了这一点,为了让app适应标准or山寨屏幕,google已经有 ...
- 2个或多个datable类似于sql inner join 合并查询
public static DataTable DatableInnerJoin(DataTable FirstTB, DataTable SecondTB, DataColumn[] FJC, Da ...