安装debian第一天遇到的几个问题及解决方案
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
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-freeUpdate 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-dkmsThis will also install the recommended wireless-tools package. DKMS will build the wl module for your system.
Unload conflicting modules:
# modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
Load the wl module:
# modprobe wl
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第一天遇到的几个问题及解决方案的更多相关文章
- VMware Player安装Debian系统
尝试用虚拟机来安装Debian系统,感觉这样一来安装与卸载方便,二来也可以在Linux系统安装出现问题的情况下方便在host主机上查找解决方法,同时也避免了要重新设置分区来安装Linux系统(双系统的 ...
- ubuntu12.04下使用qemu模拟mips处理器安装debian
注:ubuntu是不支持mips处理器的,只能在x86下安装运行第一步.安装qemu sudo apt-get install qemu qemu-system .执行 qemu-system-mip ...
- qemu 的方式安装debian 模拟powerpc
http://bbs.pediy.com/showthread.php?p=1424746http://www.ibm.com/developerworks/cn/linux/l-qemu/ 线总结下 ...
- 在2002年的老电脑上安装Debian
在2002年自己花了家里八千多元买了一台联想昭笔记本电脑.配置是PIII 750 Hz, 128 MB内存(后来升级到了320 MB).那个时候大学里买笔记本电脑的人还不多,宿舍里的同学大都攒的台式机 ...
- 图解安装Debian 9.5全过程
本文将为你带来安装Debian 9.5 GNU/Linux的教程,安装全过程图文并茂讲解.安装Debian 9.5可以把ISO文件下载下来刻录成DVD安装或者采用虚拟机安装等等方法. 一.下载Debi ...
- 龙芯 3A4000 安装 Debian stable
2022-01-17 版权声明:原创文章,未经博主允许不得转载 3A5000 开始,龙芯转向 loongarch ,新的架构虽然甩掉了历史包袱,但也需要一段时间来积累生态.在这半年多的时间里, loo ...
- 安装Debian 7.8 过程,以及该系统的配置过程
最近,我给自己的电脑安装了Debian操作系统,版本7.8 stable.Debian我相信大家都能了解,它是Ubuntu的基础,Ubuntu是基于Debian的unstable开发的.我安装这个系统 ...
- 第四课 Grid Control实验 GC Agent安装(第一台机器部署) 及卸载
3.GC Agent安装(第一台机器部署) 安装Agent 拷贝agent,现在ocm2机器上查找agent.linux 查找文件的方法: find ./ -name agent*linux 把ag ...
- 分布式文件系统 FastDFS 5.0.5 & Linux CentOS 7 安装配置(单点安装)——第一篇
分布式文件系统 FastDFS 5.0.5 & Linux CentOS 7 安装配置(单点安装)--第一篇 简介 首先简单了解一下基础概念,FastDFS是一个开源的轻量级分布式文件系统,由 ...
随机推荐
- Dynamics AX 2012 R2 AIF自定义服务中的事务回滚Bug
Reinhard在一个Customer Service里的一个Method中,发现一个Transcation RollBack Bug.先看该Method的代码: [SysEntryPointAttr ...
- CSS中的浮动问题
有关于我们经常做的导航问题.我们如果想用ul>li来做导航的话,我是一般是用到浮动这个属性的. 也就是 float:left; 或者是 display:inline-block; 下边代码: ...
- python学习笔记七 初识socket(进阶篇)
socket socket通常也称作"套接字",用于描述IP地址和端口,是一个通信链的句柄,应用程序通常通过"套接字"向网络发出请求或者应答网络请求. sock ...
- 1106 c程序的推导过程
- 【leetcode❤python】 190. Reverse Bits
#-*- coding: UTF-8 -*- class Solution: # @param n, an integer # @return an integer def reve ...
- 关于JS中apply方法的基本理解
最近研究OpenLayers源码时,发现其中使用了比较多的apply方法,对其也是很不明白.于是上网经过多方面了解以及自己细细体会后,终于算是基本明白是其干什么的了,这里分享下.apply方法的造型是 ...
- Python学习笔记(0)
Python 是什么类型的语言 Python是脚本语言 Python下载地址:https://www.python.org/downloads/ Python版本:Python 3.4.2 - 64b ...
- hibernate中设置BigDeCimal的精度
@Column(precision = 12, scale = 2) 在MySQL数据库中的精度为:
- javascript事件代理(Event Delegation)
看了几篇文章,放上来供参考 司徒正美的文章,Event Delegation Made Easy --------------------------------------------------- ...
- 协同过滤 CF & ALS 及在Spark上的实现
使用Spark进行ALS编程的例子可以看:http://www.cnblogs.com/charlesblc/p/6165201.html ALS:alternating least squares ...