How to Make an Ubuntu File Server With Samba

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • In this video, I will be showing you how to setup an Ubuntu file server to share your files with your Windows, Mac and Linux computers across your home network using Ubuntu Server and Samba.
    Ubuntu: www.ubuntu.com/
    Website: www.goguda55tec...
    Facebook: / goguda55techtutorials
    Twitter: / goguda55youtube

КОМЕНТАРІ • 353

  • @TheSydbloke
    @TheSydbloke 10 років тому +33

    Five Star rating from the start until end. very high class and professional as you can get. cheers

  • @raulgirao1458
    @raulgirao1458 10 років тому +8

    "Confusing video" you said!!! Are you kidding me ??? This is just the BEST video on this subject i've found so far. Thanks a lot!!! I'll subscribe and keep posted on your videos. Thanks again and BE SAFE !!!!

  • @MrDavidspiro
    @MrDavidspiro 10 років тому +7

    At the end where you say this is kind of a confusing Video. I disagree you are an excellent teacher. I got it setup on the first time and i learned a ton . All i wanted to do is learn the basics and now i really understand how this works . THANKS A TON

  • @y2ksw1
    @y2ksw1 10 років тому +1

    I'm a professional system administrator and this is one of the very best tutorials I've ever seen. Please keep going this way 😊

  • @metalbeast8427
    @metalbeast8427 8 років тому

    My professor was 'trying' to teach us this for a month now and i never understood it, but after watching your video once i understand everything clearly!
    Thanks man u r a legend :D

  • @Qharisma
    @Qharisma 7 років тому

    Struggled for a day setting up a squid proxy server for my home. Found your video and was able to do so in roughly an hour on day 2. Subscribed, I'm sure once I decide to setup a file server, this will go just as smoothly. You're the best.

  • @drwinmac
    @drwinmac 6 років тому +2

    Brilliantly detailed. I've spent a week looking for answers, and you nailed almost every question for me. Thank You SSOOOOOOOOO much!!!!!

  • @sandlizard1651
    @sandlizard1651 9 років тому

    I'd highly recommend this for Ubuntu and for that matter any of the deb linux distros if you want to set up a file server with Samba. This is the most understandable video I have seen on the subject and it's done at the right pace for newbies and intermediate users. I used it just for fun and the server worked perfectly as advertised. Excellent work Goguda55! It's right out of the Ubuntu Server 14.04 guide with all the chaf thrown out. Just what you need and nothing more. Encrypted and secured. Well done.

  • @IAmFirstborne
    @IAmFirstborne 6 років тому +1

    This is one of the most coherent, concise, effective videos I have ever watched. Since I have been trying to set up an Ubuntu LAMP server on Ubuntu Server, this video swooped in and offered a solution to setting up Samba in a reasonable period of time. Since my server is in a business application, I used a domain everywhere a workgroup was used here, but that was easy to figure out. Well done, goguda55. Thanks so much! Now, I just need to set up these shares without passwords and users, and I'm good to go!

  • @channelbizt
    @channelbizt 10 років тому +1

    Excellent video. You've put new life into my old laptop (which now sits proudly under my desk as a file server ;) Great tutorial, moved at a really good pace. I have some understanding now, and can read up on lots more stuff from the video. Thanks!

    • @channelbizt
      @channelbizt 10 років тому

      Btw next I want to setup my new server as a web server for developing my websites locally. I've got LAMP on my laptop (client device) but I want to put that all on my server and access localhost via the browser from there. If you can recommend any next steps and/or suggest a video tutorial that would follow on from this one it would be much appreciated.

  • @RossPotts
    @RossPotts 9 років тому +1

    It all worked out okay!
    Also, the user Authentication at 14:34 is no longer in the file, but it seems to work okay.
    This was so much simpler than going thru individual docs. I would give you 17.43 thumbs up if I could!

  • @rajivchiplunkar923
    @rajivchiplunkar923 6 років тому

    This is the most simplest and a no nonsense video that gives detailed information..
    Excellent job..
    You have made my life so simple..

  • @TheInstygator
    @TheInstygator 9 років тому

    new to Ubuntu server but not new to Linux, this tutorial helped me out quite a bit. The only comment I might add is that I got a little confused with the password adding. I first had to make a user "david" before making a password for them. adduser or useradd. Otherwise it was very easy to follow.

  • @jcallepi
    @jcallepi 9 років тому +4

    This is a fantastic video, we need some changes using ubuntu 14.04 but works fine so far. thanks for sharing.

  • @goguda55
    @goguda55  11 років тому

    I've personally never had a problem but what you said could be useful for people who are having problems with the internet connection after assigning the static ip :)

  • @donjennings2975
    @donjennings2975 10 років тому +1

    Thank you !!! Followed your tutorial and had my file server up and running in no time.

  • @AndrewRiebe
    @AndrewRiebe 9 років тому

    Thanks a whole lot! I got my server installed and setup in about an hour or so with your directions.

  • @hasbean2000
    @hasbean2000 9 років тому

    Nice video, helped me a lot. A couple of points that might assist others. If you have trouble restarting the network interface try ifdown eth0 && ifup eth0
    Also when you update the network configuration file make sure you also add some DNS server entries or you will find that apt-get will fail with errors because it can't find the repositories. Use Google to find how to add the entries, it's pretty easy.

  • @EnigmooseCreative
    @EnigmooseCreative 8 років тому

    Great video David! Even though it's a couple of years old now and some of the setting on the Samba configuration file have changed, we were able to follow along and set up a file server for our office. Thanks for posting! Your instructions are clear and you're easy to understand.

  • @awanmn6683
    @awanmn6683 10 років тому

    amazing how easily you have resolved complex concepts without getting into undue configurations!!!

  • @wolf12077
    @wolf12077 10 років тому +1

    thank you I'm a Noob and with your vid my sever is up and running. Outstanding

  • @TheBiodinkelpizza
    @TheBiodinkelpizza 9 років тому

    Best Tutorial Ever. I tried creating specified user Shares for Month. Finaly I god it ause of you! Thank you very much.

  • @Bicyclefarms
    @Bicyclefarms 11 років тому

    Works perfectly. You're a great teacher. Now I have my important files backed on my home server. Thanks again.

  • @farazkhan6959
    @farazkhan6959 10 років тому

    best tutorial that i ever seen regarding samba server

  • @xuflete200
    @xuflete200 10 років тому

    Thank you very much for this perfect video. It helped me a lot. I followed all the steps and now I have my file server running perfectly. I appreciate very much what you do, thank you again from Spain (Mallorca).

  • @neiltheplayer
    @neiltheplayer 7 років тому

    Awesome video. Clear concise and explained why you can't do some things. Loved it

  • @connorsgamingchannel5480
    @connorsgamingchannel5480 4 роки тому

    This one video made me a subscriber, clear, concise info on Samba file sharing. Excellent!

  • @mohammedshahidrahman8276
    @mohammedshahidrahman8276 4 роки тому

    Hello, the best video on the internet yet!! I would however request you to reboot this video with new version of ubuntu 20.4 server edition. With permissions etc and most important how to give static ip to the newer Ubuntu. Earlier it was easy but nowadays they have made it complex. Thanks!!

  • @PlanetMezz
    @PlanetMezz 5 років тому

    Great job. Nice touch with the very low volume music too. Perfect - thanks. Perfect pace of explanations too

  • @reggiemate7288
    @reggiemate7288 6 років тому

    Thank you! This was an excellent tutorial. Am subscribed because of this. Also I would like to add that for once I got the linux box to make itself a static IP, before I could never get it to work and always had to reserve it in DHCP so another thank you for fully explaining that as well.
    For those who came here as late I did the smb.conf file doesn't have all the same settings as goguda's just ignoring that seems to have it operating no problem.

  • @876kc
    @876kc 7 років тому

    Thank you for this tutorial.... I still use this as a reference guide for samba configuration

  • @victormangunsong4197
    @victormangunsong4197 10 років тому

    Great tutorial David, I had searched many videos and this tutorial is what i'm looking for...

  • @vicmena01
    @vicmena01 10 років тому

    This video has demystified ubuntu servers for me. Awesome. Thank you!

  • @ikehubbs
    @ikehubbs 6 років тому +1

    Thank you so much! Perfect clear instructions at a perfect pace.

  • @Bicyclefarms
    @Bicyclefarms 11 років тому

    Very good. One of the clearest tutorials I've ever seen. Thank you.

  • @EvangelosBrempos
    @EvangelosBrempos 10 років тому

    you just solved all my problems setting up my file server. thanks a lot

  • @LuHaTube
    @LuHaTube 10 років тому

    What a great and easy (to understand) tutorial is that!!! Thanks a lot.

  • @1kenobitoby
    @1kenobitoby 9 років тому +2

    Brilliant, thank you! Did it without losing my temper once.

  • @TylertheGeek28
    @TylertheGeek28 10 років тому

    Great video, It's going to help me a lot once I get my server running but I'm definitely going to need to watch it a few times there's a lot to remember lol

  • @rogerg0834
    @rogerg0834 6 років тому

    Clear, concise, direct and to the point!! Awesome!! video Make more!

  • @richardstewart4135
    @richardstewart4135 10 років тому

    Hi David, Great tutorial. Easy to understand and right to the point on setting up an Ubuntu server. I bought all the help books and spend a lot of money, but this tutorial explained the nuts and bolts of getting it all to work better than any of those books. Good Job and thanks for taking the time to put this up. My server is now running exactly the way I want it to run.

    • @goguda55
      @goguda55  10 років тому

      Thanks!! Really glad I could help!!!

  • @RafaelQuiles
    @RafaelQuiles 10 років тому

    Very easy to understand and follow through, testing on vm and worked perfect! Thanks!

  •  9 років тому

    Great great video! Im now beginning with Ubuntu server (now I configured FTP), and what i exactly need is the static IP and Samba configuration :). Maaanyyy Thanks and one beer for you man!!!

  • @MasterGH1
    @MasterGH1 10 років тому

    This is what i was looking for, very clear and understandable. keep it up goguda55

  • @robinhood5855
    @robinhood5855 9 років тому

    Thanks so much for sharing the setup steps, it's concise and clear.

  • @thundermanx
    @thundermanx 10 років тому

    Thank you! Been a bit since I messed with linux and I also wanted to do this for a while now. I did it sadly with Ubuntu Home but since I'm playing around and now have your tutorial, going to switch to ubuntu server. Heck going to even subscribe to your tutorials!

  • @Codunitable
    @Codunitable 9 років тому

    This worked great! Thanks a bunch, had to do this for school and with this worked without any trouble

  • @MrDavidspiro
    @MrDavidspiro 10 років тому

    Also for anyone trying this if you dont see your server just do another restart . It did the trick

  • @pgtips4240
    @pgtips4240 5 років тому

    You are brilliant! Thank you so much for explaining this in easy steps.

  • @Jbzy3000
    @Jbzy3000 11 років тому

    this was exactly what I needed. I am about to setup a file server....thanks!!!!

  • @abdurrohimmustofa7731
    @abdurrohimmustofa7731 7 років тому +2

    Hi, i am from Indonesia. when i type "apt-get update" there are some eror like "failed ti fetch id.archive.ubuntu...." what should i do?

  • @masslan3325
    @masslan3325 7 років тому

    Extremely well done, easy to follow. 10/10!

  • @htg97
    @htg97 6 років тому

    brilliant! it worked with Server 14.04.5! thank you very much! my first samba and windows connect :D

  • @earnestredwood9592
    @earnestredwood9592 10 років тому

    I want to thank you on this great how to video. I now have a good Ideal on how to add user and setup folder and share them from my Linux server.. I get it now.

    • @AnnofAmerica
      @AnnofAmerica 10 років тому

      need to warn people about Earnest Redwood. He "CLAIMS" to be able with knowledge to repair computers, but, in fact is a hacker at best. He took my fiances NEW laptop and claimed it had faults, took advantage of my fiances unknowing computer know how, charged him money to "play" and damage the computer. Every time he messed with it, it made it worse, then said he needed to come back another time with another charge to fix the problem that "HE" initiated onto the computer to begin with. This all happened until I looked at his laptop and told him what was really going on. VERY DISHONEST person here with poor ethics.

  • @saqibabbasi6068
    @saqibabbasi6068 7 років тому

    Excellent job, very well and professionally explained every single bit. :)

  • @kazisazzad1268
    @kazisazzad1268 8 років тому

    very nice, a new server learner can understand every point. thanks again.
    I need vsftp server url.

  • @ocruzyval309
    @ocruzyval309 10 років тому

    hi David, great tutorial, disregard my previous comment, since now i am able to access my folders!! great job "for futures students" be patient and follow the instructions!

  • @ijazahmad722
    @ijazahmad722 9 років тому +2

    thanks for sharing. what if i my computers are on a domain , rather than workgroup ?

  • @drakoontag
    @drakoontag 5 років тому

    Thanks bro. Worked for me 100%...

  • @stvinney
    @stvinney 10 років тому

    Excellent guide. And I know you may have long since moved on but just in case--after doing this then connecting to the server from Mac, my files/Keith window is empty. All I want is to be able to r/w to my external which is connected to ubuntu machine. I'd imagine it's a very common purpose but I can't seem to get it right. Regardless...great video! Thanks

  • @geoffupton
    @geoffupton 6 років тому +2

    brilliant! dead easy! very detailed and techie but in an easy realistic way! your a damn good teacher!
    if i wasnt an intermediate user (ish) i'd now be bril if i was a noob after this! 😊
    could you do an update for 16.04 upwards btw?

  • @jokersus2214
    @jokersus2214 7 років тому

    Most helpful tutorial so far, thanks!

  • @Synaux
    @Synaux 9 років тому

    The most useful video I found for people like me that have done this a few time over 5 years and cant remember all the steps. Good job!
    I do not recall ever using WINS, can you explain why we are using it? Isn't WINS a netbios thing and netbios is insecure? Just curious, thanks

  • @alokmishra7135
    @alokmishra7135 7 років тому

    great
    ..... really looking for something like this...
    thanks ...

  • @zxbcrhj
    @zxbcrhj 10 років тому

    Wow. David Thank You. Best explanation I've seen.

  • @andrewthefriend
    @andrewthefriend 10 років тому

    Thanks so much for your tutorial. It's late and it took me a while, but I got it. Cheers!

  • @galfredo4242
    @galfredo4242 4 роки тому

    Thanks alot young man, you are very helpful!!

  • @prai161031
    @prai161031 10 років тому

    Work like a charm! would be great if you also make a video about a cloud server , anyway, thanks a lot!

  • @sherakhela4044
    @sherakhela4044 8 років тому

    Thanks Bro. This is exactly what I was looking for.

  • @StoicMaverick
    @StoicMaverick 6 років тому

    Really good video. I used this to get a server working a couple years ago, but it seems some things have changed. you consider doing an updated video? I'd surely appreciate it, I'm hitting some snags.

  • @vencibushy
    @vencibushy 10 років тому

    Thanks for the great video!!! It's not confusing at all and I say this from a newbie level linux experience :D

  • @Openbaffle
    @Openbaffle 4 роки тому

    superb precise & clear

  • @UltraHylia
    @UltraHylia 5 років тому

    A few questions:
    - Is it possible to use Samba as a Windows domain network? That is, so I have one file directory that everyone can access and one private file directory for each user as well as a set of Windows programs that can all be accessed from any Windows 10 workstation?
    -What spec would the computer running Samba need to be in order to perform well with two users accessing and rewriting data to it at the same time?

  • @jameysquires8451
    @jameysquires8451 8 років тому

    Well done! Worked perfectly. Thank you...

  • @pickswinger
    @pickswinger 9 років тому

    Thanks David - a fantastic tutorial.

  • @stevesmith9081
    @stevesmith9081 9 років тому

    Really good video for complete novices, like myself, and I'm looking forward to giving it all a go.
    One question though is how do you give some users read/write permissions to a folder, but give read only to others?

  • @FroZyhen
    @FroZyhen 5 років тому

    Life saver. Thank you very much

  •  9 років тому

    Great guide! If you don't want to have an extra user on your linux box that has a home directory you can also use "adduser -s /bin/true [username] not that it matters :P

  • @henryschilling1120
    @henryschilling1120 4 роки тому

    I know this is an old video but I’ve been trying to get machines to connect to a share for two days. I’m primarily a windows admin (MCSE) so Linux permissions are foreign. I looked everywhere to find why nothing could attach. Alway permission errors. The Samba password fixed it. I would have thought it would been covered but I sure as hell couldn’t find it. Mine is a non standard setup. Atomic Pi running Mint. Wanted to run Lubuntu but couldn’t get it to load (I want a GUI). 5TB USB 3 HDD with just a shared folder. Set it up basically for anonymous access but it sure didn’t work. Added the Password and all is well. TYVM

  • @Ahmed-sv9sy
    @Ahmed-sv9sy 5 років тому

    Good tutorial helped a noob like myself other than that you should make a new vedeo detailing the static ip part as it has changed for the currunt ubuntu releases.

  • @zcarenow
    @zcarenow 10 років тому

    what if i wanted to share one of the home computers to the internet...like for FTP purposes? for home purposes, my linksys router is giving out dhcp, so can i just use that ip from dhcp to share my server to other computers on the network or do i need to add the static ip in the config file you mentioned. also, if i want to encrypt the server folders later, i should be able to do it right? i didn't do it during the installation process. thanks.

  • @johanlindroth1487
    @johanlindroth1487 10 років тому

    Very nice walkthrough, thanks :)

  • @rahuljoshi80
    @rahuljoshi80 9 років тому

    excellent video. Please keep this around. very useful

  • @MultiJamie12345
    @MultiJamie12345 10 років тому

    Seems like a silly question but I assume you can turn the server on/off manually with the power button and it will boot up and automatically start the server?

  • @alejandrogandara33
    @alejandrogandara33 5 років тому

    Great Job... thanks a lot for your time..!! very very good

  • @decannon4
    @decannon4 10 років тому

    This is a good tutorial with step by step instructions. Had my file server up in running in about 20 mins.... Question: I want to add another internal hard drive. How would I go about doing so? I'm a noib when it comes to Linux

    • @WILSnet420AUS
      @WILSnet420AUS 10 років тому

      did you end up finding out how to do this?

    • @kene4102
      @kene4102 10 років тому

      Did you find out how to do this? Please Advise

    • @WILSnet420AUS
      @WILSnet420AUS 10 років тому

      Ken E yes I did and was pretty simple in the end. Will post how I did it when I get home from work.

    • @WILSnet420AUS
      @WILSnet420AUS 10 років тому

      Below are the steps i put together to format and mount a second hdd
      I'm pretty new to Linux but shoot if you have any questions...
      # Linux Creating a Partition Size Larger Than 2TB
      # switch to Root user
      su
      # create a partition start GNU parted as follows:
      parted /dev/sdb
      # Example output :-
      # GNU Parted 2.3
      # Using /dev/sdb
      # Welcome to GNU Parted! Type 'help' to view a list of commands.
      # (parted)
      # create a new GPT disklabel i.e. partition table:
      mklabel gpt
      # Example output :-
      # Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?
      # Yes/No? yes
      # (parted)
      # set the default unit to GB, enter:
      unit GB
      # create a 4TB partition size, enter:
      mkpart primary 0.00GB 4000.00GB
      # print the current partitions, enter:
      print
      # Example output :-
      # Model: ATA ST33000651AS (scsi)
      # Disk /dev/sdb: 3.00TB
      # Sector size (logical/physical): 512B/512B
      # Partition Table: gpt
      # Number Start End Size File system Name Flags
      # 1 1049kB 4001GB 4001GB ext4 primary
      # quit and save the changes, enter:
      quit
      # use the mkfs.ext4 command to format the file system, enter:
      mkfs.ext4 /dev/sdb1
      # mount the new drive
      mount /dev/sdb1 /mnt/drive_two
      # check mount points and size of the new disk and partition
      df -H
      # get UUID and file system type to use in fstab
      blkid
      # Example output :-
      # /dev/sda1: UUID="8a5bf9a0-d397-4080-81da-6bf0987b1927" TYPE="ext4"
      # /dev/sda6: UUID="9e644cb1-8826-449d-b772-9658fdbc9e55" TYPE="ext4"
      # /dev/sdb1: UUID="1a834ec2-3dab-4fba-afb8-44c691006930" TYPE="ext4"
      # make note of the UUID then open the fstab file
      vi /etc/fstab
      # press [INSERT] button, go to the bottom of the file and enter:
      UUID=1a834ec2-3dab-4fba-afb8-44c691006930 /mnt/drive_two ext4 defaults 0 2
      # press [ESC] and then write and quit the fstab file
      :wq
      # the UUID is from the blkid command
      # the /mnt/drive_two is the mount location. Change this to where ever you are going to want your drive to show
      # ext4 is the file system type

  • @windingpath
    @windingpath 8 років тому

    very good vid. easy to understand. you earned a sub.

  • @farhan00
    @farhan00 7 років тому

    Great video! But look into FreeNAS.
    It uses ZFS on the backend, which makes it freaking awesome.

  • @thespikemeister1
    @thespikemeister1 10 років тому +2

    hi david, when i get to the edit samba part my computer is showing a blank screen and i am unable to enter any data.....could you please help

    • @goguda55
      @goguda55  10 років тому

      My guess is you have the directory of the samba config file wrong. Double check, and if not, try reinstalling samba.

  • @VijayGupta-ls9cj
    @VijayGupta-ls9cj 8 років тому

    Nice tutorial ... Thanks for sharing

  • @kentcochran1216
    @kentcochran1216 8 років тому

    Great job. In Ubuntu, what is the advantages of adding the components instead of using tasksel samba ?

  • @russellgallo6076
    @russellgallo6076 9 років тому

    I'm having trouble at around 1302 where you said type vi /etc/samba.... After I hit enter it just has a blank screen with /etc/samba/smb.conf" [New DIRECTORY] PLEASE HELP!

  • @crossedbars9781
    @crossedbars9781 9 років тому

    i have gone through all the steps and already can see the samba shared folders in windows but cannot access them. it says i don't have permission to access those folders. i'm trying to apply chmod 777 on those folders but i can't seem to be able to give samba the specific location of such folders. how can i do that?

  • @MaxBeast4Z
    @MaxBeast4Z 10 років тому

    hello I need some help
    Failed to open /var/lib/samba/private/secrets.tdb
    Failed to open /var/lib/samba/private/secrets.tdb
    if the only thing I'm missing and I can access everything just gets off this file I can't do anything

  • @goguda55
    @goguda55  11 років тому

    no problem!!! Glad I could help (:

  • @vegasvato55
    @vegasvato55 8 років тому

    One of the things that i think is causing me a lot of grief and frustration is not understanding how to create directories and paths and work groups so that my FTP files go to the right place once i get a connection between host and client machines??? Any suggestions or help that you may be able to provide on this issue would be greatly appreciated....

  • @MiningMadness0029
    @MiningMadness0029 9 років тому

    Amazing tutorial bro! Thanks so much! Subbed and liked.

  • @Factotiousvlogs
    @Factotiousvlogs 8 років тому

    Man I just can't seem to get rid of the errors that come during the update. Should I just move on? I tried to add 'dns-nameservers...' 100 different ways with '8.8.8.8' ,'8.8.8.8 8.8.4.4', 198.168.2.1 8.8.8.8' and many other ways. I changed eth0 to something else, as that is not what my linux named it (vrhrs0 it what it was I believe) changed different ip adresses, I am not getting anywhere, feel so defeated that I cant seem to shake off the 4 errors I get immediately after.

  • @ManojKumar-sf8dg
    @ManojKumar-sf8dg 4 роки тому

    Hi, I have a dedicated server on Hostgator and I want to access files in the same way as showing in your video, on multiple computers (on the same network) so that no need for FTP client for upload/download files. Is it possible?

  • @knkmphd
    @knkmphd 10 років тому

    Ok Silly Question time .. I am Setting up a ubuntu server but i have a 2 tb drive ( ntfs ) i want to add to it *has files on it already* do i have to dump the drive first or can i add it too the smb ??
    thanks
    ** nevermind just noticed some one has already asked the same Question ***