JSN ImageShow - Joomla 1.5 extension (component, module) by JoomlaShine.com

Podcast and KWTV

The Knightcast
On the edge of real and cyberspace ther is one place you can go. The Knightcast podcast : The everyday adventures of a modern day technofile, filled with tips, tricks, manuals and how-to's on how to tune technology into your everyday life and let tech work for you. All this and more using Windows, Linux, and Mac computers, Web2.0 sites, services and more to upgrade from geek to cyber-citizen. Real Technology for Real life !
  • kwtv0012 "Installing Webmin"
    Don"t forget to visit the shownotes and download the extra documentation : ' The book of Webmin ' and the " Feisty for the family...
  • kwtv0011 "Installing Ubuntu 9.04 Desktop"
    See how we install Ubuntu 9.04 Jaunty Desktop on a Virtual machine. Learn to boot from the live cd , partition your drive so you...
  • dc003 "Ubuntu as an SSH Proxy with Putty and Firefox"
    Together with Putty and Firefox you can now setup your own SSH Tunnel to your Ubuntu Server. Surf securely, bypass the company firewall of keep...
  • kc0023 "Converting your family to linux"
    Wouldn't it be great if they all just used Linux ? Well, why don't you switch them ? Tune in to this weeks Knightcast and...
  • dc002 "a very simple backup script"
    We add some extra security to the mix by making the backup folder a "dropbox" for all your other users. That way they can "drop"...
  • dc001 "Installing Bashpodder"
    How about a PDF-manual in your feed to explain how to use and install the mighty simple program of bashpodder. Follow the step by step...
  • kc0022 "Ultraportable Netbooks"
    Shownotes - Hardware review of the different netbook models. - Looking at the different kind of operating systems you can choose from. - How to tune your netbook...
  • kc0021 "Interview With Allison Sheridan of Podfeet.com"
    Check out Allisons show over at www.podfeet.com where she hosts the Nosillacast Podcast. A technology podcast with an ever so light Mac Bias.
  • kwtv0010 "Going Google"
    Take a look at how to share calendars , setup your Gmail, using Google Gadgets AND Google Gears to give you a complete offine-online cross...
  • kc0020 "How about some support"
    - Managing your Communications - Direct vs Indirect lines of communication. - Firewalling your Life. -...
  • kwtv009 "Installing a Ubuntu server part 2"
    So stay tuned as we turn your Linux server into a headless box and enable you to connect from any computer on the planet.
  • kwtv008 "Installing a Ubuntu server p1"
    In this screencast i'll show you how easy it is to install your very own Ubuntu Linux server in under 10 Minutes. Download your copy...
  • kc0019 "Command Line and Conquer"
    This week we show you the secrets of the terminal / client model , setting up a Linux server and showing you how to connect...
  • kc0018 "Tech on the Road"
    Today we talk about how to let technology work for you on the road. Hotwiring a Tomtom, an Ipod and an MM50 and a blackberry...
  • kc0017 "Mail Mail Mail" (part1)
    Together with some comedy and a soundseeing tour from the Castle of Carcassonne, Its another packed show.
  • kc0016 "Garage Sale"
    Aside from a snippet of music we also have a stand up comedy routine from Eddie Izzard. Those of you prune and sensitive to a...
  • kc0015 "The Social Interactive Web"
    Where and how to find information ? How to contribute and how to behave .. its all here in KC0015. Make sure to check...
  • kc0014 "Virtual Insanity"
    In episode 14 we talk about virtual machines and how you can use them. Scale down your computer lab to just one machine and virtualize...
  • kc0013 "A Geeks Palace"
    What is the perfect computer setup : The over-cluttered Borg Cube of the Stark minimalist's approach. Or should we buy a computer table at Ikea...
  • KC0012 "Laptop Luxury"
    We take a look at laptops today and find out if there is still a large gap between laptops and desktops. Find out how to...
  • kc0011 "Zombie Nation"
    We take a good look at what makes a computer obsolete and find out its note like the store told us. Find out new and...
  • kc0010 "Interludium"
    With Great music from NoPlasticinside and est Posthumus its time to close your eyes and listen to the sights and sounds of a train trip...
  • KC009 "My First Webserver"
    In combination with the shownotes you will be able to run your own basic website, intranet, bittorrent client, CMS system, web based desktop and more....
  • KC 008 "Local Network Security"
    This week we take a look at how to secure your wired and wireless lan. Talk cables and security protocols and how to flip the...
  • KC007 "Cloud Computing"
    The silence before the storm has passed and the Knightcast is back on the air. In episode 7 its time to take a look at...
  • KC006 "Bookmark Oblivion"
    This week we teach you how to manage and synchronise your bookmarks and keep track of the hundreds of newsfeeds on the web by taming...
  • KC005 "Superhero Syndrome"
    We brake the hiatus with episode 5 : Superhero syndrome. A extra long geek-lifestyle show EVERY geek should listen to. Everybody knows that geeks like...
  • KC004 "Virtual Machines".
    Episode 4 takes us back to the Grid series and we take a look a the power of virtual computing. Forget having rows and rows...
  • KC003 "Gutsy Gibbon Release Party"
    Find out more about the new Gutsy Gibbon release in this episode of the Knightcast as we go to the local Gutsy Gibbon release party...
  • KC002
    In this part of our "Grid Series" we show you how to install your own Ubuntu Powerstation. A combination of a Linux workstation and server...
Home arrow Home arrow Feisty for the Family PART TWO : Feisty filesharing for the faint hearted.
Feisty for the Family PART TWO : Feisty filesharing for the faint hearted. PDF   E-mail
Tag it:
Delicious
Digg
Technorati
Stumble
Furl it!
Reddit
YahooMyWeb
NewsVine
 

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".

sambaOnce again : When I wrote  this manual I had the average family geek in mind. So the methods and techniques I will use will probably differ from the "standard" approach and even get Die Hard Linux fans to foam at the mouth with anger and frustration. But all of this is done with a simple setup in mind. Making a simple fileserver for the family. In reach of simplicity I may have have given up a little "security" but its a home server we are talking about. A home server in a Home network of Home users and all that jazz. So chill out ! Its not like its gonna hook up 5000 users and have the entire Russian Hacking Federation after its pink little ars !  Sharing files with Samba has been something I have been trying to do for quite some times. But if you even mention the fact of filesharing to Linux guru's they are all over you with their Samba Config Files which they INSIST that you learn by heart. If you want to share a single folder they force the whole philosophy and history of Linux filesharing down your throat. It seems like there is NO simple approach. You just HAVE to be able to recite the entire Samba config file backwards from memory.. before you can even start doing all this crap. I personally don't believe in this method. Its too complicated to start out with and users just give up. So i'm gonna get you guyz GOING on the road of filesharing by making a simple file server. And if you like it and want to learn more you can do the whole config file editing thing until you are blue in the face. Untill then.. Lets get started.  (click on READ MORE to get the whole screeshot by screenshot manual).


 

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.

samba control

 

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.

workgroup



With the workgroup all setup its time to enter the users. The only thing you need to remember is that there are two kind of users we need to worry about. First of all we have UNIX users, these are user accounts on your Ubuntu server. These people can log in and have access to the files using SSH or the keyboard connected to the server. Don't worry about mom and dad fracking  up the server this way. They don't have a program like putty, can't access the server locally and are probably scared shitless of the command line interface anyway. (and even IF they log in as a unix user they cant do anything cause they have plain user privileges). Apart from Unix users there are SAMBA users. These are the users the Samba file sharing protocol recognizes. To keep things simple lets just say we need to design some Unix users and turn them into samba uses. That way users can access the shared folder over Samba and read an write to the files on the UNIX system.  For the purpose of this manual i've drawn up some simple usernames and passwords. You can of course make up your own. The most important part of setting up these users is that, this way, each user has his own personal home directory that cannot be accessed by anyone else (but you .. cause you are "root")

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

users

Click on create a new user / Choose username / Choose Real name / Click NORMAL PASSWORD / Choose password. 

create user

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.

convert
 
 

Choose convert users. You will see that all of your users are converted. (make you feel like some TV preacher ! Converting people like that)

conversion

 
Now our little conversion has only carried over the user names. We need to provide Samba with the passwords to our accounts. To do this click Edit Samba users and passwords. Now click on one of the accounts you have created. (lets take 'mom' as an example).

mom
 
Click on "NEW PASSWORD" and enter the same password we used when we created "mom" as a Unix user. Do this for all users and go back to the SERVERS / SAMBA window.

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.

 

homeshare
 

 

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.

 

writable

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.

 

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.

To map the home drive

  • Click on my computer
  • Choose map network drive
  • select the H drivetype
  • //IPOFYOURSERVER/MOM
  • Choose "remember connection  at startup"
  • When asked for username and password : provide the samba username and password
  • Choose "remember password"

Map the public drive.

  • Map the home drive
  • Click on my computer
  • Choose map network drive
  • select the P drive
  • type //IPOFYOURSERVER/public

done
 
 


Users' Comments (1)
Posted by Dr. John deMercado, on 26-03-2008 02:23,
Fine, well written and very useful. 
Ubuntu should provide a link to this series 
Congratulations 
10 out of 10
 

Add your comment



mXcomment 1.0.9 © 2007-2009 - visualclinic.fr
License Creative Commons - Some rights reserved
< Prev   Next >
Free Joomla Templates