青春无悔
分类: 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
启动samba图形管理界面
#sudo system-config-samba
也可以选择菜单: system->Administration->Samba
配置方法和RedHat9中一样
选择要共享的目录 设置读写权限 设置访问权限 添加samba用户