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
Five Star rating from the start until end. very high class and professional as you can get. cheers
"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 !!!!
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
I'm a professional system administrator and this is one of the very best tutorials I've ever seen. Please keep going this way 😊
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
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.
Brilliantly detailed. I've spent a week looking for answers, and you nailed almost every question for me. Thank You SSOOOOOOOOO much!!!!!
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.
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!
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!
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.
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!
This is the most simplest and a no nonsense video that gives detailed information..
Excellent job..
You have made my life so simple..
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.
This is a fantastic video, we need some changes using ubuntu 14.04 but works fine so far. thanks for sharing.
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 :)
Thank you !!! Followed your tutorial and had my file server up and running in no time.
Thanks a whole lot! I got my server installed and setup in about an hour or so with your directions.
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.
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.
amazing how easily you have resolved complex concepts without getting into undue configurations!!!
thank you I'm a Noob and with your vid my sever is up and running. Outstanding
Best Tutorial Ever. I tried creating specified user Shares for Month. Finaly I god it ause of you! Thank you very much.
Works perfectly. You're a great teacher. Now I have my important files backed on my home server. Thanks again.
best tutorial that i ever seen regarding samba server
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).
Awesome video. Clear concise and explained why you can't do some things. Loved it
This one video made me a subscriber, clear, concise info on Samba file sharing. Excellent!
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!!
Great job. Nice touch with the very low volume music too. Perfect - thanks. Perfect pace of explanations too
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.
Thank you for this tutorial.... I still use this as a reference guide for samba configuration
Great tutorial David, I had searched many videos and this tutorial is what i'm looking for...
This video has demystified ubuntu servers for me. Awesome. Thank you!
Thank you so much! Perfect clear instructions at a perfect pace.
Very good. One of the clearest tutorials I've ever seen. Thank you.
you just solved all my problems setting up my file server. thanks a lot
What a great and easy (to understand) tutorial is that!!! Thanks a lot.
Brilliant, thank you! Did it without losing my temper once.
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
Clear, concise, direct and to the point!! Awesome!! video Make more!
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.
Thanks!! Really glad I could help!!!
Very easy to understand and follow through, testing on vm and worked perfect! Thanks!
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!!!
This is what i was looking for, very clear and understandable. keep it up goguda55
Thanks so much for sharing the setup steps, it's concise and clear.
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!
This worked great! Thanks a bunch, had to do this for school and with this worked without any trouble
Also for anyone trying this if you dont see your server just do another restart . It did the trick
You are brilliant! Thank you so much for explaining this in easy steps.
this was exactly what I needed. I am about to setup a file server....thanks!!!!
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?
Extremely well done, easy to follow. 10/10!
brilliant! it worked with Server 14.04.5! thank you very much! my first samba and windows connect :D
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.
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.
Excellent job, very well and professionally explained every single bit. :)
very nice, a new server learner can understand every point. thanks again.
I need vsftp server url.
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!
thanks for sharing. what if i my computers are on a domain , rather than workgroup ?
Thanks bro. Worked for me 100%...
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
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?
does it still work now?
Most helpful tutorial so far, thanks!
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
great
..... really looking for something like this...
thanks ...
Wow. David Thank You. Best explanation I've seen.
Thanks so much for your tutorial. It's late and it took me a while, but I got it. Cheers!
Thanks alot young man, you are very helpful!!
Work like a charm! would be great if you also make a video about a cloud server , anyway, thanks a lot!
Thanks Bro. This is exactly what I was looking for.
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.
Thanks for the great video!!! It's not confusing at all and I say this from a newbie level linux experience :D
superb precise & clear
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?
Well done! Worked perfectly. Thank you...
Thanks David - a fantastic tutorial.
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?
Life saver. Thank you very much
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
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
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.
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.
Very nice walkthrough, thanks :)
excellent video. Please keep this around. very useful
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?
Great Job... thanks a lot for your time..!! very very good
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
did you end up finding out how to do this?
Did you find out how to do this? Please Advise
Ken E yes I did and was pretty simple in the end. Will post how I did it when I get home from work.
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
very good vid. easy to understand. you earned a sub.
Great video! But look into FreeNAS.
It uses ZFS on the backend, which makes it freaking awesome.
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
My guess is you have the directory of the samba config file wrong. Double check, and if not, try reinstalling samba.
Nice tutorial ... Thanks for sharing
Great job. In Ubuntu, what is the advantages of adding the components instead of using tasksel samba ?
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!
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?
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
no problem!!! Glad I could help (:
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....
Amazing tutorial bro! Thanks so much! Subbed and liked.
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.
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?
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 ***