建造基于Ubuntu的NAS服务器(ftp samba Apache, PHP MySQL(2)

Now, create normal users as Samba users. Only the users exist in the server can use the Samba.
现在为Samba用户创建系统普通用户,只有服务器的用户才能使用Samba。

sudo adduser john
sudo adduser mary

You can access the Samba at Windows system in this way :
在Windows系统中访问Samba的方法:

Go to your home directory :
进入你的私有目录:
\\192.168.0.15\samiux

Go to the public directory :
进入公共目录:
\\192.168.0.15\public

* your IP address may be different from me
* 你的IP地址应该有所不同

Beware that all home user directories and public directory are writable. Users can add or delete files therein. The home directory owners cannot read and writable another home user directories.
要注意的是,所有的私有目录和公共目录都是可写的。用户可以创建和删除文件。用户不能读写其他用户的私有目录。

By the way, you can also access the Samba file server on your Ubuntu desktop.
另外,你也可以使用Ubuntu desktop访问Samba服务器。

We will discuss how to configure vsFTPd in next part.
下一部分我们会说一下如何配置vsFTPd。


HOWTO : Home made NAS server with Ubuntu 8.04.1 – Part III
[HOWTO] 用Ubuntu 8.04.1搭建NAS服务器 – Part III


Now, your Samba file server is up and working. It is high time to configure the vsFTP server. Anonymous users can download your file from your FTP server but they cannot upload and change anything in it. Local users can access their local home directories (read and write) by using FTP client, e.g. Filezilla or gFTP.
现在,Samba文件服务器已经就绪了,该配置vsFTP了。匿名用户可以从FTP服务器上下载,但不能上传和修改文件。本地用户可以访问自己的私有目录,使用Filezilla or gFTP等FTP客户端。

linux

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wyfzgs.html