初学Ubuntu10.10使用问题解决办法
来源:互联网 发布:查看数据库有哪些用户 编辑:程序博客网 时间:2024/05/15 21:09
1.man sudo_root 显示有关ubuntu的root和sudo命令
2.右键添加"打开终端":
sudo apt-get install nautilus-open-terminal
3.ubuntu新建的用户默认的shell是sh,没有彩色显示不同类型文件,可以使其和主用户一样使用bash:图形介面System -> Administration -> Users and Goups,在弹出的菜单中点Advanced Settings,选Advanced选项,修改Shell:/bin/sh为/bin/bash,最后拷贝主用户目录下的.bashrc配置文件到当前用户主目录下.(图形介面下ctrl+h显示隐藏文件)
4.vim
(1)安装vim:
sudo apt-get intstall vim
(2)vim记忆上次浏览文件的位置:
sudo vi /etc/vim/vimrc
去掉以下语句前的分号("):
if has("autocmd")
au BufReadPost * if line("'/"") > 1 && line("'/"") <= line("$") | exe "normal! g'/"" | endif
endif
5.加入环境变量,vi ~/.bashrc , 添加 :
export PATH=/usr/local/arm/3.3.2/bin:$PATH
6.输入make menuconfig命令会出现如下错误:
......make[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1
make: *** [menuconfig] 错误 2
解决办法: sudo apt-get install ncurses-dev
7.编译内核出现:"mkimage" command not found
解决办法: sudo apt-get install uboot-mkimage
8. /bin/sh: lex: not found
解决方法:
sudo apt-get install flex
9. yacc: Command not found
解决方法:
sudo apt-get install byacc
10. /usr/bin/ld: cannot find -lpcap
解决方法:
sudo apt-get install libpcap0.8-dev
/*2011.1.11*/
11.Unable to fetch some archives, maybe run apt-get update or try
with --fix-missing?
解决方法:
sudo apt-get update
12.更新或下载时碰到:500 Internal Server Error等服务器问题
解决方法:更换服务器源:
图形界面下:System -> Administration -> Update Manager,在弹出的窗口点击Setting,选择Ubuntu Software栏,在Download from的下拉菜单里选other...,然后点击弹出窗口的Select Best Server,待系统为你自动选择好源后,点击Choose Server,然后根据提示更新下就行了.
13.系统启动服务管理工具:
sudo apt-get install sysv-rc-conf
14.configure: error: C++ preprocessor "/lib/cpp" fails sanity
check
See `config.log' for more details.
解决方法:
sudo apt-get install gcc
sudo apt-get install cpp
sudo apt-get install g++
15.make[2]: makeinfo: Command not found
(makeinfo有关信息:http://www.linux-
ren.org/modules/wiki/index.php/Makeinfo)
解决方法:
sudo apt-get install texinfo
16.用sudo命令或切换用户会使~/.profile,/etc/profile,~/.bashrc中的
export无效...
并且用sudo命令不会包括在当前用户命令下用命令export指定的路径.
17.Ubuntu10.10下允许Root用户直接登录图形界面
sudo vi /etc/gdm/custom.conf
将内容修改为类似如下:
TimedLoginEnable=false
AutomaticLoginEnable=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=30
DefaultSession=gnome
- 初学Ubuntu10.10使用问题解决办法
- ubuntu10.10软件更新源问题解决方案
- Ubuntu10.10下不能make menuconfig问题解决
- Ubuntu10.10使用 ipv6
- ubuntu8.10部分问题解决办法
- android 虚拟机键盘无法使用问题解决办法
- listview里面使用Edittext问题解决办法
- 使用Maven创建项目过慢问题解决办法
- ubuntu10安装samba问题解决
- ubuntu10安装samba问题解决
- GCC 介绍+ Ubuntu10.10使用
- ubuntu10.10安装使用vnc
- Unparsed aapt error(s)! Check the console for output 初学容易碰到的问题解决办法
- vmware tools for linux 在ubuntu10.10中安装问题解决
- Ubuntu10.10(64位)编译Android2.3源码问题解决
- win7 ubuntu10.10 重装win7 丢失grub菜单问题解决方法
- 使用最新的cvs及cvsweb,遇到的问题解决办法。
- BCM4330无法使用客户MAC地址问题解决办法
- 从键盘输入三个正整数,判断它们是否构成等腰三角形
- 灰度图像--图像分割 阈值处理之OTSU阈值
- [开发笔记]Visual Assist X破解过程
- uva 10718 Bit Mask (位运算)
- VMware和oracle vm virtualBox哪个更好
- 初学Ubuntu10.10使用问题解决办法
- 【hibernate框架】缓存机制之查询缓存
- 1193 矩阵转置
- Tween 动画类
- 数学之路-sas备忘(10)
- wlw 配置
- hdu 5183 hash+前缀和
- 【很早以前的作品】3DDemo走迷宫
- Android基础笔记——HttpClient访问网络