Drive on the virtual network. Compatible with the Windows system is samba. The samba is a service that's available on Linux.
Install Samba on Ubuntu
1. Open Terminal
2. Update & Upgrade with command
- sudo apt-get update
- sudo apt-get upgrade
3. install the samba package.
- apt-get install samba
4. Configuration
The main Samba configuration file is located in /etc/samba/smb.conf. The default configuration file has a significant amount of comments in order to document various configuration directives.
5. First, edit the following key/value pairs in the [global] section of /etc/samba/smb.conf:
workgroup = EXAMPLE
...
security = user
The security parameter is farther down in the [global] section, and is commented by default. Also, change EXAMPLE to better match your environment.
6. Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
* comment: a short description of the share. Adjust to fit your needs.
* path: the path to the directory to share.
This example uses /srv/samba/sharename because, according to the Filesystem Hierarchy Standard (FHS), /srv is where site-specific data should be served. Technically Samba shares can be placed anywhere on the filesystem as long as the permissions are correct, but adhering to standards is recommended.
* browsable: enables Windows clients to browse the shared directory using Windows Explorer.
* guest ok: allows clients to connect to the share without supplying a password.
* read only: determines if the share is read only or if write privileges are granted. Write privileges are allowed only when the value is no, as is seen in this example. If the value is yes, then access to the share is read only.
* create mask: determines the permissions new files will have when created.
7. Now that Samba is configured, the directory needs to be created and the permissions changed. From a terminal enter:
sudo mkdir -p /srv/samba/share
sudo chown nobody.nogroup /srv/samba/share/
8. Finally, restart the samba services to enable the new configuration:
sudo /etc/init.d/samba restart
from : https://help.ubuntu.com/9.10/serverguide/C/samba-fileserver.html
Next page to click : How to install apache
Reverse page on click : install chillispot on ubuntu 9.10
Install Samba on Ubuntu
1. Open Terminal
2. Update & Upgrade with command
- sudo apt-get update
- sudo apt-get upgrade
3. install the samba package.
- apt-get install samba
4. Configuration
The main Samba configuration file is located in /etc/samba/smb.conf. The default configuration file has a significant amount of comments in order to document various configuration directives.
5. First, edit the following key/value pairs in the [global] section of /etc/samba/smb.conf:
workgroup = EXAMPLE
...
security = user
The security parameter is farther down in the [global] section, and is commented by default. Also, change EXAMPLE to better match your environment.
6. Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
* comment: a short description of the share. Adjust to fit your needs.
* path: the path to the directory to share.
This example uses /srv/samba/sharename because, according to the Filesystem Hierarchy Standard (FHS), /srv is where site-specific data should be served. Technically Samba shares can be placed anywhere on the filesystem as long as the permissions are correct, but adhering to standards is recommended.
* browsable: enables Windows clients to browse the shared directory using Windows Explorer.
* guest ok: allows clients to connect to the share without supplying a password.
* read only: determines if the share is read only or if write privileges are granted. Write privileges are allowed only when the value is no, as is seen in this example. If the value is yes, then access to the share is read only.
* create mask: determines the permissions new files will have when created.
7. Now that Samba is configured, the directory needs to be created and the permissions changed. From a terminal enter:
sudo mkdir -p /srv/samba/share
sudo chown nobody.nogroup /srv/samba/share/
8. Finally, restart the samba services to enable the new configuration:
sudo /etc/init.d/samba restart
from : https://help.ubuntu.com/9.10/serverguide/C/samba-fileserver.html
Next page to click : How to install apache
Reverse page on click : install chillispot on ubuntu 9.10
ความคิดเห็น