安装使用linux遇到的问题及其解决办法

修改virtualbox 虚拟磁盘容量 :

cd /home/edward/VirtualBox\ VMs/win7

vboxmanage modifyhd win7.vdi –resize 51200 (M)

linux 安装后WiFi关闭 :

可能的解决办法是 开机按F2 ,再按F9 最后按F10 保存退出 之后重新开机即可。

ubuntu安装后无法以root login:

以用户login之后,

先设置root密码 : sudo passwd root

之后进入 /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

在末尾添加 greeter-show-manual-login=true

保存退出并重启即可

root账户登录系统时候提示:Error found when loading /root/.profile stdin: is not a tty

进入 /root/.profile

增加一行 tty -s && mesg n

保存退出并重启

百度云在linux 的安装

可以安装BCloud

搜狗输入法在安装后切换到普通用户,然后在命令行中输入im-config ,修改为fcitx,最后在fictx configure 中加入sogou。

安装某个包的过程中(apt-get install *),如果出现依赖包未安装,应该是安装源的问题,应该更新安装源。方法如下:

更换方法:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup //备份源

sudo gedit /etc/apt/sources.list //打开删除其中的内容,加入下面的内容

163源

deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

sohu源 

deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

os-china源

deb http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiverse

deb http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse

保存之后,用下面的命令使源生效:

sudo apt-get update

你可能感兴趣的:(linux管理)