ubuntu 需要进行的设置和需要安装的软件包:
1、系统设置中将更新源修改为速度快的镜像网站,例如163等
在命令行中运行命令,自动更新一次: sudo apt-get update
2、修改root密码:sudo passwd root
3、如果在VMWare虚拟机中安装,需要安装VMWare Tools工具以方便复制粘贴和文件共享
如果提示需要安装3.5.0.18代码库:sudo apt-get install linux-headers-3.5.0-18-generic
指定header路径时:header路径:/usr/src/linux-headers-3.5.0-18-generic
4、VIM安装:sudo apt-get install vim
可选:中州韵输入法安装:sudo apt-get install ibus-rime
可选:5、邮件工具安装:sudo apt-get install mailutils
6、NFS服务器安装: sudo apt-get install portmap nfs-kernel-server
7、NFS客户端安装: sudo apt-get install nfs-common
8、Samba安装: sudo apt-get install samba4
9、禁用防火墙: sudo ufw disable
10、串口调试软件安装:minicom
11、subversion安装: sudo apt-get install subversion
//64位linux使用交叉编译工具:sudo apt-get install lsb-core
12、mysql数据库安装: sudo apt-get install mysql-server mysql-client libmysqlclient-dev
修改主机名称:
更改/etc/hostname和/etc/host中的相关字段
临时修改IP地址:
sudo ifconfig eth0 down #关闭网卡
sudo ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE #改地址
sudo ifconfig eth0 up #然后启动网卡
永久修改MAC地址:
sudo gedit /etc/network/interfaces
配置文件示例:
iface eth0 inet static
pre-up ifconfig eth0 hw ether 01:01:01:01:01:01
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
重启网络服务:/etc/init.d/networking restart
在右键菜单中增加“打开终端”选项
sudo apt-get install nautilus-open-terminal
Ubuntu 命令技巧(中文):http://wiki.ubuntu.org.cn/UbuntuSkills