Chinaunix首页 | 论坛 | 博客
  • 博客访问: 211819
  • 博文数量: 93
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 978
  • 用 户 组: 普通用户
  • 注册时间: 2014-11-10 15:46
个人简介

青春无悔

文章分类

全部博文(93)

文章存档

2015年(16)

2014年(77)

我的朋友

分类: LINUX

2014-11-10 17:06:37

Open a Terminal Window (Ctrl+Alt+T ) and type each of these commands in:

sudo apt-get install samba samba-common
sudo apt-get install python-glade2
sudo apt-get install system-config-samba 

The following commands will help you install Samba via the Terminal, install dependencies for the Configuration tool, and the graphical interface.

If the error is Permission denied, that means you did not run the command with elevated privileges. In other words, you need to run the same command you did to get the error, only put sudo in front of it. It will ask you for your password to confirm. When you do that, it should allow the command to run without errors. You should also purge (remove the package) with:

sudo apt-get purge samba samba-common

Then, rerun the commands.


启动samba图形管理界面
#sudo system-config-samba

也可以选择菜单: system->Administration->Samba

配置方法和RedHat9中一样
选择要共享的目录 设置读写权限 设置访问权限 添加samba用户

配置完成后要重启samba
#sudo /etc/init.d/smbd restart

可以到windows下输入ip使用了,在文件夹处输入 "\\" + "Ubuntu机器的ip或主机名" + "\" + "share"

阅读(1118) | 评论(0) | 转发(0) |
0

上一篇:Ubuntu 12.04 SSH 安装

下一篇:ubuntu 12.04 nfs

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