zoukankan      html  css  js  c++  java
  • debian折腾笔记

    学习需要新安装了debian7.5

    发现其别致之处即使是ubuntu熟手(比如我)也会有束手无策的地方

    本文说明

    1>软件源更新问题
    
    2>中文输入问题
    
    3>liberoffice中文显示问题

    安装完debian7.5后

    我迫不及待的想更新软件发现会提示让插入cd盘进行更新

    这问题好说

    打开/etc/apt/sources.list文件

    注视掉

    #deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official amd64 DVD Binary-1 20140426-13:37]/ wheezy contrib main
    
    #deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official amd64 DVD Binary-1 20140426-13:37]/ wheezy contrib main

    sudo apt-get update一下看到好多错误

    这不就是说debian软件源有问题

    换上163的--->

    以下是我的sources.list文件

    #Yepinf 11-24
    
    #deb http://security.debian.org/ wheezy/updates main contrib
    #deb-src http://security.debian.org/ wheezy/updates main contrib
    
    deb http://mirrors.163.com/debian wheezy main non-free contrib
    deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
    deb-src http://mirrors.163.com/debian wheezy main non-free contrib
    deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
    
    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://non-us.debian.org/debian-non-US wheezy/non-US main contrib non-free
    #deb http://security.debian.org wheezy/updates main contrib non-free
    
    # wheezy-updates, previously known as 'volatile'
    # A network mirror was not selected during install.  The following entries
    # are provided as examples, but you should amend them as appropriate
    # for your mirror of choice.
    #
    # deb http://ftp.debian.org/debian/ wheezy-updates main contrib
    # deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

    先安装输入法阿

    linux下的输入法没什么好说的,小企鹅口碑最好

    但我这怪人喜欢用双拼

    废话不多说了,依次执行安装

    sudo apt-get  install gcc
    
    sudo apt-get  install g++
    
    sudo apt-get  install ibus
    
    sudo apt-get  install ibus-pinyin

    完了重启

    好吧,中文输入问题解决了

    接下来我常用的软件有liberoffice,这个试了下中文不能显示

    这点貌似如果对linux背景有点熟悉的话知道是字体库的问题

    我不能忍

    1>显示隐藏文件

    Edit->Preferences->Show hidden and backup files

    2>在liberoffice配置文件中加入中文字体

    具体的操作.config->liberoffice->3->user 新建fonts文件夹,放入自己喜欢的字体

    ---------------------------------------------

    现在来说,基本的操作已经够了

    第一次使用debian,感觉这真的是另一个 世界

    好吧后期的问题,以及解决方案

    我会放在debian话题下

    <end>



  • 相关阅读:
    编写你自己的单点登录(SSO)服务
    SignalR + KnockoutJS + ASP.NET MVC4 实现井字游戏
    Quartz使用总结
    Quartz.Net入门
    ASP.NET批量下载文件的方法
    Asp.Net文件的上传和下载
    AOP实践—ASP.NET MVC5 使用Filter过滤Action参数防止sql注入,让你代码安全简洁
    ASP.NET MVC4中的异步控制器
    Mybatis表关联一对多、多对一、多对多
    Xamarin android使用Sqlite做本地存储数据库
  • 原文地址:https://www.cnblogs.com/shiv/p/4119412.html
Copyright © 2011-2022 走看看