| Home |
| The Podcast |
| Lifestream |
| Pictures |
| Contact Us |
| About us |
| Search |
|
| Feisty for the Family PART TWO : Feisty filesharing for the faint hearted. |
|
Part ONE of this manual on how to setup your server and Install webmin, can be found HERE. Part THREE of this manual : Installing Torrentflux can be found HERE. In part one of this manual I showed you how to install your Ubuntu server for the family, setup SSH to connect to it remotely and setup webmin. Well, its all nice and dandy to have a server running and all that jazz, but now its time to actually let it WORK for us. And aside from a good virusscanner and a geek-of-the-house, what does a family network need the most ? Right : Filesharing. A server that gives every user the option to store his or her files securely and have a place to swap files around. So time to set up your "Feisty Fileserver for the Family".
Step One : Install Samba. Time to connect to our server using Putty or our favorite SSH shell client (terminal in Mac and the Terminal in Linux for example) in the way that was described in part one. Once you are in type the following command (or copy paste it for all i care) sudo apt-get install samba smbfs This will install Samba on your server. Next its time to configure our webmin interface to play nicenice with Samba. Go to your browser and connect to your Feisty server with the Webmin URL (see part one for details). Next, in the left column, click on SERVERS/Samba windows File Sharing. If the webmin component to control Samba is not installed, you can click on the link to download and install it). If that is done you will see this. ![]()
Next we are going to shove our little Linux server into our Windows workgroup. To do this click on WINDOWS NETWORKING and enter the Workgroup name that you are using for your windows computers. Click save. ![]() username / Password. mom/mom dad/dad brother/brother sister/sister Lets start by setting up our users as UNIX users. To do this go to SYSTEM/USERS AND GROUPS ![]() Click on create a new user / Choose username / Choose Real name / Click NORMAL PASSWORD / Choose password. ![]() Now its time to convert our Unix users to Samba users. To do this click SERVERS/Samba Windows File Sharing and next click on CONVERT UNIX USERS TO SAMBA USERS. ![]() Choose convert users. You will see that all of your users are converted. (make you feel like some TV preacher ! Converting people like that) ![]() ![]() Sharing the Home directories. Ok , The personal accounts are all setup so its time so assign every user a Home Folder. A personal share where only he or her has write acces to. To do this, click on CREATE A NEW FILE SHARE in the main Samba Window. Choose "Home Directory Share" and click CREATE.
![]()
Back in the main Samba window , click on the HOMES share to edit the security privileges. Choose SECURITY AND ACCESS CONTROL and set the radio button on WRITEABLE. Next click save and save and that is done.
![]() Creating a public Directory. And finaly we are going to make a public directory for all users to read and write to. Before we dive into the sharing part we need a folder TO share. In order to do this open an SSH connection to your server (described in part one of this manual). Type the following. cd .. pwd ( the output of this command should read the directory you are working in , it should read /home ) sudo mkdir public (this will make the directory called "public") sudo chmod 777 /home/public (this way all the users will be able to read and wrie to the directory) exit. Back to the Webmin webpage. In our main SAMBA configuration page we once again click CREATE NEW FILE SHARE. Enter the share name (public) enter "/home/public" in the DIRECTORY TO SHARE and set "AUTOMATICALLY SHARE DIRECTORY " to NO. If you want to you can add a comment on for the share.
Now Choose Create and do the same thing with this share as we did with the home shares : Setting them write enabled. (see above). Logging in from the Windows Machines. Now in order to hook up your users let them log in on their windows machines and open the windows file explorer.
Map the public drive.
![]()
|
| Last Updated ( Saturday, 30 June 2007 ) |
| < Prev | Next > |
|---|