User Tools

Site Tools


user:thakes3:portfolio:hpc0project1

Project: SAMBA MAGIC

This project is dedicated to the installation of samba and it's magical properties utilized for filesharing between many platforms.

Objectives

My objectives is to create a samba server, and then access it from every platform I can possibly get my hands on.

Prerequisites

Lots of resources were used, and I didn't keep them all stored. Here is a few:

http://www.brennan.id.au/19-Network_File_System.html

Background

Samba was developed by the GNU Gods for the use of sharing files between many platforms.

This has been utilized in many ways by many different people from many walks of life. All the way into domain control.

Yes Domain Control ( I KNOW ). Some of these guize actually setup these servers to serve user accounts and settings to computers ( Like a Domain Controler Active Directory in Windows

File sharing has grown much more rampantly with the development of ftp servers and stuff. But SAMBA still shares quite a decent size of the world with it's data.

Procedure

Okay so on the server computer, you will need to have a version of GNU/Linux installed with the abilities to get a few packages. Mostly samba. My server is running debian squeeze because i'm sane and I like to party.

tom@swagbox: sudo apt-get install samba 

After the installation, a configuration file will be generated which you need to take a look at. My entire config is posted below in the code section, but for now take a gander at these delicious morsels.

taken from /etc/samba/smb.conf:

# Change this to the workgroup/NT-domain name your Samba server will part of                                                                                                
   workgroup = HAKES
 
 (...) 
   ;   path = /home/samba/profiles

now you have your workgroup open, and depending on what network capabilities your currently

Code

Upon completion of the project, if there is an applicable collection of created code, place a copy of your finished code within <code> </code> blocks here.

/*
 * hello.c - A sample "Hello, World!" program
 * 
 * written by NAME for COURSE on DATE
 *
 * compile with:
 *   gcc -o hello hello.c
 *
 * execute with:
 *   ./hello
 */
 
#include <stdio.h>
 
int main()
{
    printf("Hello, World!\n");    // Output message to STDOUT
    return(0);
}

Execution

Again, if there is associated code with the project, and you haven't already indicated how to run it, provide a sample run of your code:

lab46:~/src/cprog$ ./hello
Hello, World!
lab46:~/src/cprog$ 

Reflection

Comments/thoughts generated through performing the project, observations made, analysis rendered, conclusions wrought. What did you learn from doing this project?

References

In performing this project, the following resources were referenced:

  • URL1
  • URL2
  • URL3 (provides useful information on topic)
  • URL4

Generally, state where you got informative and useful information to help you accomplish this project when you originally worked on it (from Google, other wiki documents on the Lab46 wiki, etc.)

user/thakes3/portfolio/hpc0project1.txt · Last modified: 2013/05/05 03:59 by thakes3