1、当我想要使用sudo时,提示

bash: sudo: command not found

一开始以为是PATH不对,就各种百度各种试

export PATH=${PATH}:$HOME/bin:/usr/sbin:/usr/bin:/bin:
sudo vi ~./.bashrc
sudo vi ~./.profile
sudo vi /etc/bashrc

都不好使,最后发现是我装的debian 8.4.0 amd64 1并不是全功能,sudo没有装

su -
apt-get install sudo

2、apt源总是连接到cdrom,使用apt-get install时总是提示出错,因为我是通过u盘ios镜像安装的

sudo u+w /etc/apt/source.list
vi /etc/apt/source.list

可以把cdrom源注释掉,把另一个源取消注释,如果你也是和我一样的debian版本,安装条件也差不多的话,可以加上下面两天源,这是我今天配置是用到的

deb http://ftp.cn.debian.org/debian jessie main

#Debian  "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

3、这个问题最头疼,每次装linux都是,上次装ubuntu时也是弄了好久,好不容易找到一个简单的方案(在我的上一篇博客里有),结果这用不了,这次找半天终于找到了你

https://wiki.debian.org/wl/

我的wireless网卡型号是bcm43142,很bug的一个型号,被支持的很不好,查看网卡型号可以用指令

lspci

具体操作为下面,以防网页失效

Installation

  1. Add a "non-free" component to /etc/apt/sources.list for your Debian version, for example:

    # Debian 8 "Jessie"
    deb http://httpredir.debian.org/debian/ jessie main contrib non-free
  2. Update the list of available packages. Install the relevant/latest linux-image, linux-headers and broadcom-sta-dkms packages:

    # apt-get update
    # apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms

    This will also install the recommended wireless-tools package. DKMS will build the wl module for your system.

  3. Unload conflicting modules:

    # modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
  4. Load the wl module:

    # modprobe wl
  5. Configure your wireless interface as appropriate. See also known issues.

4、中文输入法,我找到这个支持网页,实测可用

https://wiki.debian.org/gnome-chinese-input

我用的是fcitx,具体配置如下

using Fcitx

  • Install Chinese locale

You can do this with dpkg-reconfigure:

su
# dpkg-reconfigure locales

Now choose the locale that you want to use, e.g ZN - CN - UTF8 locale.

  • Install Fcitx and pinyin input
su
# apt-get install fcitx fcitx-googlepinyin fcitx-libpinyin
  • Configure fcitx
im-config

From the menu choose fcitx.

Reboot or log out the user. When done you will be able to use the input.

我在windows上用过google拼音输入法,觉得挺好的,所以将原网页中的sunpinyin改成了googlepinyin,里面会有个图形化的配置界面让你来配置,这个你里面的说明就好了,不多说了

5、我一直喜欢用google,以前在windows上是用的老D分享的hosts(http://laod.cn/hosts/2016-google-hosts.html),但按照里面的方法来配置就是不好使,有没有高人教教如何上google?

安装debian第一天遇到的几个问题及解决方案的更多相关文章

  1. VMware Player安装Debian系统

    尝试用虚拟机来安装Debian系统,感觉这样一来安装与卸载方便,二来也可以在Linux系统安装出现问题的情况下方便在host主机上查找解决方法,同时也避免了要重新设置分区来安装Linux系统(双系统的 ...

  2. ubuntu12.04下使用qemu模拟mips处理器安装debian

    注:ubuntu是不支持mips处理器的,只能在x86下安装运行第一步.安装qemu sudo apt-get install qemu qemu-system .执行 qemu-system-mip ...

  3. qemu 的方式安装debian 模拟powerpc

    http://bbs.pediy.com/showthread.php?p=1424746http://www.ibm.com/developerworks/cn/linux/l-qemu/ 线总结下 ...

  4. 在2002年的老电脑上安装Debian

    在2002年自己花了家里八千多元买了一台联想昭笔记本电脑.配置是PIII 750 Hz, 128 MB内存(后来升级到了320 MB).那个时候大学里买笔记本电脑的人还不多,宿舍里的同学大都攒的台式机 ...

  5. 图解安装Debian 9.5全过程

    本文将为你带来安装Debian 9.5 GNU/Linux的教程,安装全过程图文并茂讲解.安装Debian 9.5可以把ISO文件下载下来刻录成DVD安装或者采用虚拟机安装等等方法. 一.下载Debi ...

  6. 龙芯 3A4000 安装 Debian stable

    2022-01-17 版权声明:原创文章,未经博主允许不得转载 3A5000 开始,龙芯转向 loongarch ,新的架构虽然甩掉了历史包袱,但也需要一段时间来积累生态.在这半年多的时间里, loo ...

  7. 安装Debian 7.8 过程,以及该系统的配置过程

    最近,我给自己的电脑安装了Debian操作系统,版本7.8 stable.Debian我相信大家都能了解,它是Ubuntu的基础,Ubuntu是基于Debian的unstable开发的.我安装这个系统 ...

  8. 第四课 Grid Control实验 GC Agent安装(第一台机器部署) 及卸载

    3.GC Agent安装(第一台机器部署) 安装Agent 拷贝agent,现在ocm2机器上查找agent.linux  查找文件的方法: find ./ -name agent*linux 把ag ...

  9. 分布式文件系统 FastDFS 5.0.5 & Linux CentOS 7 安装配置(单点安装)——第一篇

    分布式文件系统 FastDFS 5.0.5 & Linux CentOS 7 安装配置(单点安装)--第一篇 简介 首先简单了解一下基础概念,FastDFS是一个开源的轻量级分布式文件系统,由 ...

随机推荐

  1. Dynamics AX 2012 R2 在AIF服务契约中使用DateTime

    Reinhard在AIF中使用DateTime作为服务契约的参数,与DotNet程序进行交互时,总是因为时区的问题,导致DotNet提交的System.DateTime与AIF中接收的DateTime ...

  2. window route 命令

    使用 Route 命令行工具查看并编辑计算机的 IP 路由表.Route 命令和语法如下所示: route [-f] [-p] [Command][Destination] [mask Netmask ...

  3. js与jsp

    jsp :j2ee 中的一样模版技术,运行于服务器端javascript :一种运行于客户端的脚本语言,动态性.JavaScript是一种采用事件驱动的脚本语言,它不需要经过Web服务器就可以对用户的 ...

  4. JS闭包导致循环给按钮添加事件时总是执行最后一个

    加入如下脚本代码: <script> var list_obj = document.getElementsByTagName('li'); for (var i = 0; i <= ...

  5. 【Tarjan】+【SPFA】APIO2009 Atm

    一.算法介绍 tarjan——求解有向图强连通分量.这个算法在本人的一篇blog中有介绍,这里就不赘述了.贴上介绍tarjan的的blog链接:http://www.cnblogs.com/Maki- ...

  6. FreeSWITCH无法读取wav文件

    错误日志如下: -- :: Invalid file format [wav] /suite-espanola-op--leyenda.wav]! -- :: Can't open /usr/loca ...

  7. MySQL安装(转)

    本文介绍MySQL的安装 可以单独阅读,也可以作为PHP环境搭建的一部分 PHP完整配置信息请参考 http://www.cnblogs.com/azhe-style/articles/php_env ...

  8. python 中date datetime time 与str的互转

    以下全部引入 form datetime import datetime, timedelta import time 一.time 转str 二.datetime 转 str str_date = ...

  9. C++学习笔记一 —— 两个类文件互相引用的处理情况

    先记录一些零碎的知识点: 1. 一个类可以被声明多次,但只能定义一次,也就是可以 class B;  class B;  class B; ……;  class B {……};  这样子. 2. 一个 ...

  10. 数据库 基础篇4(mysql语法---表)

    5 表管理 选择数据库   5.1 查看所有表 mysql> show tables; +-----------------+ | Tables_in_day15 | +------------ ...