Chinaunix首页 | 论坛 | 博客
  • 博客访问: 775272
  • 博文数量: 37
  • 博客积分: 575
  • 博客等级: 中士
  • 技术积分: 320
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-12 10:43
个人简介

活到老,学到老!

文章分类

全部博文(37)

文章存档

2019年(4)

2018年(4)

2015年(1)

2014年(14)

2011年(1)

2010年(13)

我的朋友

分类: LINUX

2010-06-01 16:10:17

关键字:ubunut 10.04    vmware    samba    root权限    右键终端

1、  尽量不要用Easy Install方式,我在此方式下,登陆界面无法使用键盘,并且Power On之前把网络Disconnect,不然会自动更新,免去漫长的等待

2、  安装完后,是受限的用户权限,个人喜欢设置root自动登陆(免的老是unlock,正确操作,不会出问题的),顺序如下:

a)         Sudo passwd root 开启root,并设置密码

b)         注销后,登陆rootsystem->Administration->Login screen稍作修改就会生成/etc/gdm/custom.conf文件

c)         修改custom.conf的权限后(chmod 777 custom.conf)gedit编辑之

TimedLoginEnable=false
AutomaticLoginEnable=true
这个设为
true
TimedLogin=root                      
这个自已改成
root
AutomaticLogin=root              
这个自已改成
root
TimedLoginDelay=30

d)         重启,即能以root自动登陆系统

3、  现在可以安装VMTool了,菜单栏VM->install vmtool

a)         将安装包解压到用户目录,运行./vmware-install.pl,一路回车,一般不会出错,最后的HGFS失败,没有关系,此服务用于文件共享

b)         重启,到这里已经释放了鼠标,并可以与宿主机之间复制粘贴了

4、  连接网络(可以点右下角网络的图标connect),打开虚拟机之前可以把网络配置成桥接(推荐使用,因为和主机在一个网段)或者NAT,要是主机连接了Internet,则Ubuntu也能连接网络了,进入系统选择软件源system->Administration->Software Sources,选择国内的服务器

5、  更新语言包system->Administration->Language support,适应英文界面的跳过,选择汉语(中国),重启即可

6、  以前使用Ubuntu,没有像redhat那样的右键直接打开终端,只能复制路径,后来经高人指点,发现ubuntu下也能实现,右键菜单添加一个“打开终端”选项。安装如下包sudo apt-get install nautilus-open-terminal,注销或者重启

7、  习惯使用,计算机->编辑->首选项->紧凑视图

8、  安装samba服务器

a)         apt-get install samba

b)         apt-get install system-config-samba

c)         配置system-config-samba

d)         添加用户smbpasswd -a root

e)         Service smbd start

f)         修改/etc/samba/samba.conf

[global]

workgroup = WORKGROUP

server string = %h server (Samba, Ubuntu)

security = user

[share]

###path=/home/x4 //x4为你要共享的文件夹名

path = /root/share

writeable = yes

9、  如果需要编译内核,还需要安装curses的库apt-get install libncurses5 libncurses5-dev

10、  以后的就因人而异的,安装更新,安装开发环境、wine、交叉编译工具等,喜欢咋整就咋整!

 

阅读(3411) | 评论(1) | 转发(0) |
0

上一篇:Linux存储管理

下一篇:getopt_long及其使用

给主人留下些什么吧!~~

chinaunix网友2010-11-15 22:55:34

thx !!!! :) very much