Monday, April 30, 2012

Installing Samba on Debian Lenny


By on 8:54 AM


With the sharing. Then your server can be used as a means to share data to the client. With this facility. Then the client will not be difficult to request data from another computer. For the sharing in the linux server. You can use samba as a server.
With samba you can mensharing existing directories and printers. But this time I will show you how to mensharing directory only.
Installasi step is as follows.
Enter your Installation DVD. To install samba
# Apt-get install samba samba-client
Then you will get a confirmation message. Just hit enter to continue.
Furthermore, we will have a message like the following picture.
Just select no if you do not get the server IP from the DHCP server.
Then the installation will berlajut to completion.
Once completed the next step is configuration.
First go to the samba directory in the etc directory
# Cd / etc / samba
Then edit the file smb.conf
# Vim smb.conf
Then look for the line
sharing = user
Change the user to share and uncheck the fence in front of him.
After that search
[homes]
Add the following configuration on it.
[NAMADIREKTORI] comment = browseable = yes NAMADIREKTORI Sharing writeable = yes guestok = yes path = / path / to / directory
NAMADIREKTORI replace with the name of the directory that you want to share. Then replace / path / to / directory with the directory path such as / home / pratama /
Repeat the above steps if you want to add another share.
After that save and restart samba
# / Etc / init.d / samba restart
Then you can access a directory that has disharing the client computer.
However, if the directory you want to change the content by the client. Make sure the directory to be accessed by ftp client was given the attributes of 0777 with the command
# Chmod 777 NAMADIREKT ORI

Author: Sutopo
Sutopo is a full time blogger he likes the world of SEO, website, and graphic design, a lot of experience on SEO, website and graphic design in his life, and here I will share about how to make adsense websiteRead More →

0 comments:

Post a Comment

Thank you for your kujungan we hope this blog can be a forum to share information about the world of linux