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. linux下tftp使用(转一些命令)

    转载于:http://cache.baiducontent.com/c?m=9d78d513d99d1af31fa7837e7c5083205b4380122ba6d1020ba5843990732c ...

  2. php socket的一些问题

    在php手册看到了php socket的例子 但有些socket_read的循环判断有一些问题 造成进程的阻塞 实例是用phpsocket实现 客户端连接到socket server 发送文本 接受文 ...

  3. 【转】DQL、DML、DDL、DCL的概念与区别

    转自 http://blog.csdn.net/tomatofly/article/details/5949070 SQL(Structure Query Language)语言是数据库的核心语言. ...

  4. 复习练习(03)jquery Css方法一步步升级

    jquery Css方法一步步升级 <script src="jquery-1.8.3.js"></script> <script type=&quo ...

  5. MQ框架的比较

    MQ框架的比较 MQ框架非常之多,比较流行的有RabbitMq.ActiveMq.ZeroMq.kafka.这几种MQ到底应该选择哪个?要根据自己项目的业务场景和需求.下面我列出这些MQ之间的对比数据 ...

  6. [问题2014A01] 复旦高等代数 I(14级)每周一题(第三教学周)

    [问题2014A01]  试求下列 \(n\) 阶行列式的值: \[ |A|=\begin{vmatrix} 1 & x_1(x_1-a) & x_1^2(x_1-a) & \ ...

  7. iOS 编码规范

    Coding Guidelines for Cocoa https://developer.apple.com/library/prerelease/content/documentation/Coc ...

  8. 十八、AWT绘图技术

    1.Graphics 实现各类图形.文本和图片的绘制操作. 2.绘图颜色和笔画属性 (1)颜色属性 Color col= new Color(int r,int g,int b) Color col ...

  9. How to install .deb file in Ubuntu

    if you have a .deb file: You can install it using sudo dpkg -i /path/to/deb/file followed by sudo ap ...

  10. XAF响应式布局皮肤界面展示

    XAF为了对手机.平板电脑的支持,增加了新的响应式布局皮肤支持,这个功能已经出来很久了,对于平板电脑.PC的支持已经很不错了,对于手机的界面还不是很完美. 本篇展示一下当前的效果,让有需要的同学.还没 ...