OpenMediaVault - an Open Source Self Hosted NAS running on Linux with Docker for extra functionality

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] it's your open source advocate and i'm back with another video and this week i'm going to talk about open media vault so up until now we've talked about true nas we've talked about rock store and now i want to cover another one called open media fault so several of you have asked me for this in the past and i'm finally getting around to it an open media vault like true nas and like rock store is really a great option if you're looking for a way to store a lot of information a lot of data media as they like to call it here in this case which it really is it's media right that you're storing on hard drives so this is a nas system that you're setting up now you can run open media vault on raspberry pi so be aware of that a lot of you guys asked me about if you can run these things on raspberry pi or not yes you can run open media vault on raspberry pi you want to make sure you get the raspberry pi version of course and then you want to really understand how do you connect up storage devices to your raspberry pi so that you can use them with something like media vault you might just want one really big drive like an 8 terabyte drive versus trying to have a lot of little drives that you're running in some kind of raid but just be aware of that i am going to set it up today on on proxmox as a virtual machine so we can go through the install together and i don't have the issues like i had with truenas and with rockstore where it's got this weird reflection from my windows and things like that on the screen because i'm trying to record with my phone so we're going to jump over and get started on the install right after this i want to say thank you to all of my subscribers and all of my patrons over at patreon seriously you guys make this so worth it for me to do these videos every week i really truly enjoy it and i just can't say thank you enough if you're enjoying these videos subscribe let youtube know that i'm doing a good job by subscribing to the channel plus you'll get notified when i have new videos coming out and finally if you're enjoying what i'm doing give it a like just click on that thumbs up and that way youtube knows that you like it and they'll pass it along to other people that might enjoy my content as well i really appreciate it thank you again let's get started i want to open up some channels for discussion so i've created this rocket chat server and i've got it mixed up with jitsi mead i've created a few channels already to start up some discussions but of course we can always open up more channels if you'd like to jump in and send me a direct message or just ask a question one of the channels i'll be monitoring the system it'll be up and running i'm going to leave this up and going so that we can have a place where we can all come together and answer each other's questions and have good discussions and good conversations it's disgust.opensourcesawesome.com again that's disgust.opensources.com i'll have the links in the show notes and the description all right so installing through proxmox and i've got a video that i've done on proxmox already but really installing something through proxmox is not difficult at all so i think that you'll really like this you'll enjoy seeing how this works and proxmox is really a great virtualization tool i've talked about some others in the past like vert manager and stuff like that but this time i wanted to talk about something more specific which is proxmox so proxmox is actually a full operating system that you install and really it's running debbie and i believe under the covers and then on top of that you've got this proxmox system that you access through a web interface which is really great so here i've got my my storage areas set up and i'm going to create a new virtual machine so i'm just going to click on create vm and i'm going to go here and it's going to ask like what are we creating so let's give it a name so i'm going to call this openmediavault pretty simple i'm going to click on the operating system and in this case it is linux and it's a linux kernel so i'm just going to leave that alone and it wants to know where am i going to find this iso so maybe you have an actual iso that you've uploaded to openmedia vault maybe you've got an actual cd or dvd drive that you're going to use or maybe you don't have any media and you're just going to create a virtual machine but in this case we're gonna we're gonna use one that we've uploaded so i'm gonna jump in here and find my open media vault iso now this could be an older version i downloaded this a while ago but that's okay just just understand we're gonna just click next or move to system at the top either way i'm gonna leave the defaults here jump over to hard disk in this case it's going to create a scuzzy disk and it says where do you want to store this and and kind of create your stuff so i'm going to create it on vm1 and i'm going to give it i don't really know what openmedia vault needs on the on the os but i'm just going to i'm going to leave it with 32 gigs i bet that'll be plenty as far as the operating system goes i'm going to leave this set to default so i'm going to go to cpus now i've only got one one actual chip but i i've got four cores to work with so i'm going to give it two cores and then we'll go to memory and i'm going to set this up to 40 96. um that should be enough well we could go to let's go to 81.92 so that's eight gigs okay so we'll give this thing a real a real shot at running well um and then here for the for the network i want it to have actual network access so i'm just going to leave this virtual bridge and i'm going to leave it set up like that we'll just check everything and then we're just going to click start now if you wanted to start this thing right away you can just check this box and then click finish but we'll click finish and let it create the virtual space and it'll kind of tell us down here it'll give us an ok in the bottom that says hey i did it and then up here we should see that so we should see our open media vault um right here there it popped up so it's going to be 100 it just gets an id from the system that has to be different from the other ids so now we're set we can just click on start and then i'm going to go here to the console and it's going to connect to that console and we'll see it jump into open media vault and we're already at the install so i'm just going to click on install i'm going to hit oh hit enter there i'm going to expand this out to full screen so you guys can kind of see what happens and here we go we've got our language selection so we should be able to use our mouse or our keyboard yes so we can hit english for me pick the language that best suits you and your needs and then we've got country so in my case united states is already picked which is great and then we've got american english which again is for me correct so it's american english it's probably the worst english there is out there actually but hey we're going to pick a pick american english because that's what i speak i barely speak it but hey so this thing's going to run through a little bit of a process and then it's going to pop up and kind of give us a few more options to continue forward with so you see it goes to the network configuration that it wants and then it says hey what do you want for a host name so i like this because then i can say local right here at the end so it's got openmediavault.local in fact i'm going to change this because when i did this for practice that's what i named it so i'm going to call it omv.local just just to make it different i'm going to hit continue and then it says okay what do you want for a root password so i'm just going to show i'm not going to show the password but i'm going to type in a root password here that i want to use and you should use a fairly good password there just make sure you remember what you type in and then it's going to ask you to re-enter it so we're just going to re-enter that bad boy we're going to move forward and then it's going to finish up some more configuration and some installation here and i think we'll have to do a little bit more before we get right all the way yes so it wants to know what time zone we're in we're in central i like that time zone picker that was super easy that's a lot easier than america chicago or whatever i have to find every time so now it's going to go through the system install it doesn't take very long it's really not a huge installation but we'll let it run and i'll come back when this is finished so overmedia vault runs on debian in the background so in this case they're asking you where do you want to try to pull the debian archives and updates from so in this case we're just going to say united states that's where i'm at but again pick a location that's geographically close to you and then you can pick a mirror out of that location that you picked i'm fine with debian.org but if you have a preferred mirror that you would rather use go for it you can pick any of these and probably get great results so in this case it's asking if you need to use an http proxy to access the outside internet you should type in that proxy address here i don't but if you did you would want to enter that before you continued forward but once you've entered it just tabbed it till it highlights continue hit enter so it's going to go out it's going to get updates real quick and pull those down you kind of get to these places where you just get like this screen that doesn't show you much of what's going on just be patient it always comes back up so now it's going to install our bootloader it's going to ask us where do you want to put the bootloader for this system well we only have one drive so we need to move down make sure that drive is highlighted and then press enter so went through a little bit more setup there it was pretty basic and now we're ready to move forward and it says installation is complete it's time to reboot your system and log in through the web browser so we're just going to hit continue and here we can see it's going to reboot and now we see a slightly different screen where we've got grub so we're going to just accept the first option there in the grub bootloader it's going to scroll some stuff down the screen i imagine and then we'll resize the screen there it goes and it's ready so it says omv is ready for us so instead of logging in here on the console i'm going to go back out of that and we'll go over here to our summary for this machine and we can see that it's running currently it's not using pretty much any process because there's nothing going on with it but we know the address of our system so we're just gonna go and we're actually gonna try omv.local first so omv dot local and look at that it finds it so that was great and it's english so i'm going to make this a little bit bigger it's kind of weird the way it scales but it's admin and i believe the default is open media vault so this is not the same username and password or the same password that you entered in the setup that's for your root user access through like ssh there we go so it's admin and then the password is openmediavault all lowercase all together and that gets you into the system so now we're inside of open media vault and everything looks like it's running really well now that we're in we actually want to go and change a couple of things real quick to set some set some stuff up and make it more secure so we're going to go to general settings and we're going to go here to the web administrator password and we're going to change that so right now it's the standard open media vault we don't want that we want this to be something a little more secure so we're going to type in a strong password of our own and we're going to type it two times and then we're going to click on save and now we're going to log out and then we'll log back in yes now we're going to log back in with admin and our new password so now we've got a password that's not the generic password which would make it harder for somebody to try to get into our system now we're running in http mode right now so the other thing you can do if you want to do it is here you can see this says port 80 and 5 minutes for the auto log out so first of all that auto log out can be kind of annoying so you might want to change that up to something more like 15 or 30 minutes 15 seems okay with me i'm going to click save and then down here you've got secure connection so you can say enable ssl and tls and you can enable this let's see oh we have to apply the changes okay that's a message i hadn't noticed before or i don't remember so it's applying configuration changes just so it doesn't log us out every 20 minutes but back to ssl if you want to do this when you when you turn it on there's a certificate so there's none port 443 and it says for ssl tls so we can we can turn that on as well this will probably give us a self-signed certificate right now um that's fine that's more secure than no certificate at all just be aware it's going to warn you in the browser when you do that but if you want to set this up really you'd probably want to use something like engine x proxy manager get you some let's encrypt certificates things like that and and go that route but let's see let's just save yeah it's going to force us to pick a certificate which we don't have so we may have to do a self-signed insert and then go put in the self-signed certificate right now we don't actually have that so we'll hit reset that's good there we go okay so over here in system whenever we go back you'll see that there's options to get to everything that's kind of here on the left bar except instead we see it here under system like that now if we just click on the home you're going to see that you have each of these sections that are in the left bar here down the middle as well so you can kind of work from either direction that you want to do that and you can kind of do all the same things we've always done so the first thing is disks so if we click right now it's going to show us that we have sr0 which is a dvd which is just the image that we used to create this thing we can get rid of that here in a minute through the proxmox and then we have our main drive which we don't want to use for storage and it probably isn't you know probably won't let us but we don't want to use this for storage so we need to add some hardware so whether you did this through a physical machine and actually added a drive or whether you actually went out into proxmox and did it is up to you so i'm going to go here i'm going to make sure i'm on the right one and then i'm going to click on hardware i'm going to say add and i'm going to say hard disk right here i'm just going to pick the disc that i want and that's going to be my 8 terabyte volume and i'm going to give it uh 4 000 gigabytes which is 4 terabytes basically and i'm going to click on add and now i have that next hard drive and then here i can get rid of this iso image and tell it no media click ok that's gone since we've made some changes let's go ahead and reboot this guy this should be pretty quick all right so now it's booted back up and we're going to log back in now that took a little bit of time because it stops a bunch of cron jobs in the background i just fast forwarded through it for you guys don't don't freak out if it takes longer than you think if you're not sitting right as a machine or something give it give it five or six minutes the first time you reboot for sure just so it can finish up some stuff but now we're gonna go back down to disks there we go now we see our sdb which is our four terabyte drive and then here's our our main sda or our four terabyte drive here is sda and sdb is our boot drive with 32 gigabytes so we've got our two disks which is great um next we want to go down to smart and we can kind of check out if there's anything going on with smart here so we can say you know we look at settings we can enable and then it can say you know check interval 1800 seconds you know just half an hour so we can just say you know devices we can see what's going on we can set this we can save and they want us to apply whenever we do that so yes okay and check out our devices and see what it says it may not have done any checks yet and then we can see scheduled tasks now if you move down to file systems and here we can see kind of what kind of file systems we have so this one's showing swap and this one here is showing that we've got um so this is basically our sda1 and sdb5 or sdb1 sdb5 this is on our main drive so if we want to create a new one we click on create we're going to pick our four terabyte drive we're going to give it a label and this is storage main ext4 is fine but you do have other options you have butterfs xd3 xfs and jfs i'm okay with the xd4 it says do you really want to format this device so yes that's fine it's going to go through that process all right when it finishes up getting the file system created you can click on close and now we've got a file system set up for open media vault just like a lot of things in true nas and in rock store there are lots of things in open media vault to kind of be seen and noticed so we talked about the general settings notifications so if you want to set up your smtp server settings this is where you would do that so for instance mine is box.fixitdelrio.com and my smtp port is 587 because it runs on tls it is not run on regular uh just non-encrypted mail so we need start tls is what i would have to set and then the sender email so this is where you put in who it's going to be from so in my case i could put no reply at fix it rio.com now you could of course just create another email address to be the sender email address if you're running your own mail server and that could be something like omv at fixadoro.com and then of course you put in the username and password and put authentication required in my case and in this case it would be no reply at fixdillary.com again and then the password that i have set up for that email on recipients this is where you would put your email address so that you would receive the emails and you can put a secondary email as well so you can have a primary and a secondary and then you'll receive any kind of system emails that come from from the system once you've done that then you can hit reset of course and then once you do that you can send a test email now i haven't set everything up but you can send a test email to make sure that all your settings are correct and that you actually get the email that you expect then you can go to notifications in and of itself to set up what kind of notifications you want so maybe you want notifications about smart you want to know like is there a problem with a software raid or file systems things like that and then you also have system notifications about cpu usage load average memory usage and so on so you can kind of keep an eye on your system through this email notification system which is pretty great under power management you have some power monitoring options which says specifies whether to monitor the system status and select the most appropriate cpu level this is probably something you want now if you're like a super guru and you know what you're doing you might want to turn this off and do it yourself but this is probably what you want now the power button you can say what is the power button on the system do in this case it's a virtual machine so it doesn't do anything actually but you could actually pick like is going to shut this thing down or put it in standby that kind of stuff so you can change that as well if it's a physical system physical hardware when you go into monitoring so you again can enable monitoring and then you can say whether the system performance statistics are you know are basically being collected periodically and again unless you have some kind of restrictions where you don't want this to be collected i would say just leave that turned on so this is where you would upload your certificates so when we talked earlier about having tls set up this is where you would set up those certificates and then you could go and set up tls so at first i didn't realize that and then i found this so this is where you would do that you can set up scheduled jobs so things that you want to happen on a schedule is is basically set up in this location here so if you wanted to reboot the system occasionally things like that you would set all that up under scheduled jobs and if you click on add you can see what types of jobs there are and basically you know time of execution so whether you want a certain date or certain time things like that and then basically you can just kind of move down and say here's what i here's the user that's going to do it here's the command that i want done and then here send me an email to let me know that it's going through and you can add a comment to the to the action so it's pretty flexible but you need to know what command you want to actually run in order to set a schedule for it there is update management as well so you can check for updates and you can say you know what i have a lot of updates to be done and i do in this case have some updates that need to be done so you can just check on the box and then click on update and it's going to start the update kind of processing on the system this is really nice it's nice to set it up to be like automatic updates whenever possible but in this case i'm just going to have updates here and i'm going to click on install and i check all the things i want i click on install and it's going to install those updates and then you can refresh that check to make sure you've got everything that says everything as fresh as possible before you run those updates as well if you want to then here you've got settings so you say save of course install updates from pre-release updates and then community maintained updates so if you want pre-release updates that means things that are kind of beta version i guess is the best way to put it it could even be alpha version so be careful about this and then community maintained updates would mean that you have some kind of packages that are community packages and you want to make sure those are getting updated as well in this case they're off by default and if you're not really needing something like that i'd say leave them off don't worry about it and then finally you have the plugins and the plugin architecture for open media vault sophomore vault has some pretty great plugins you can actually look at this and you can see that you've got like your share root file system you've got usb backup and they all start with open media vaults so you just have to kind of look at this part after that you've got lvm2 logical volume management you've got your disk stats so you can turn on disk stats as far as a plug-in you have forked daapd so i'm not sure what a dapd server is looks like it's something for itunes compatibility so you could turn that on and set up some itunes compatibility for your storage so here you've got shareport which emulates the airport express so that's pretty nice because airport express was something a lot of apple users really liked and really enjoyed so if you're a mac user you've got a couple of cool things here to help you out with that you've got your snmp your simple network management protocol tftp for uploading files you've got clam av for scanning the files and making sure that any files that are on your system are actually clean and not not filled up with viruses and things like that and then you've got your network ups tools which is pretty great as well so if we click you know if we check this and we say i want to install that plugin we'll say yes and when it's finished it'll tell you done just click on close and it'll say you know this page is going to reload now to let the changes take effect so just click ok it'll let you know that it's going to do that so it basically takes you back to the to the top and now you can see plugins and then you can kind of see you know which plugins you have installed and which plugins you don't so you have installed right here and you can choose how you want to sort these things so it shows you here we've got clam av installed just like we were expecting and now we can move on with the rest of the tutorial so we kind of went through disks smart raid management you do have file systems as well so remember we set up some file systems you have users so you can add users to the system and then of course you have groups where you can create groups and then add users to groups and then assign permissions to those groups or those users individually and then you have share folders so if you have a user you add and you want to create a share for them so they can upload files to open media vault they can do that as well services so there's anti-virus services which you can turn on there's ftp nfs rsync so you can do rsync backups there's a smart or smb cifs so that you can do samba you have ssh as well as far as diagnostics you have the dashboard which is kind of where you start off when you first log into the system you have your system information which gives you a little bit of an overview of your system and you have several different pieces of information through here that you can click so kind of check your tags your tabs up here at the top you have disk usage you have local storage memory usage so you have a few nice charts here that you can check out as well under the information system or system information setting you have system logs so you can kind of see a log of what's been happening on the system and keep track of that and then of course again you have services here that you can turn on and off from this section as well you have ftp you have ssh and you have samba cifs and then of course you have the overview finally you have the option to donate to the project to help support the project and all these projects have different ways of monetizing so whenever you see these things don't feel like they're trying to just you know do the rope-a-dope or they get you to think it's something free and then they want to charge you that's not the case but they do need to monetize to help move these kind of projects forward so if you really like a project like this and you want to see it continue then donating a few bucks a few dollars a few quid a few whatever it is your your your money system happens to be um you know is is probably worth it if you're going to be using something like this long term and you want it to be sustained then there's support so you can get support information and finally about and you can see the about information for open media vault so open media vault's pretty great all right so for the last thing that's kind of important out of the gate we want to have some extra capabilities and i know plugins give you that but there's also the omv extras the open media vault extras so in order to get to that we're going to go over here to this tab and you're going to go to the omvextras.org and it's omv extras.org website and right here it's going to give you and i'll have this link in the show notes in the description it's going to give you this this little command right here that you can run so we're going to copy that command and we're going to go back into our open media vault instance now you either want to make sure that you have ssh enabled which is really important in this case it's enabled it's port 22. it gives me all this information or if you're running it like i am in proxmox and you want to have access through the basically proxmox terminal to do this so i'm actually going to do this through the terminal here so i'm just going to bring it up i'm going to center it a little bit for you and then we're just going to make the font a little larger and i'm going to do ssh and this is going to be root at remember this is root this time because we're doing ssh omv dot local yeah there we go i don't know why it didn't why it did that but that was a little crazy and then put in your password that you entered during the installation process and we'll just do clear here and now we're going to do that command so i'm just going to paste in that command that i copied so it should look like this wget dash o capital o and then space hyphen space https github.com openmediavault-plugin-developer packages plugin dash slash raw slash master slash install so we're going to let it go out and get that thing and it's going to basically run this sh this this shell script to go and get the open media vault extras for us all right looks like everything there has completed now one thing i do like to do whenever i i actually install those things i do like to do a reboot yeah so that seems to have disconnected us even though it didn't kick us out of the shell so i'm just going to disconnect from that thing and we will go here and check our console and it shows that it is actually rebooting there we go it's rebooted that was pretty quick that time so it just tells us hey this thing just rebooted you need to click in that space so we do admin we do our new password we're going to log in here and we're going to see if we see and we do so now under plugins we have a new section called omv extras so we're gonna click on omv extras right there and you'll see that we have a few things so we have settings so we have testing repo extras repo and back ports so i'm going to turn on the extras repo and i'm going to hit save all right looks like it's on i'm gonna click on docker and here you'll see that we've got some docker options up here i'm gonna go back to the settings i'm gonna hit uh let's see we have we have update omv update upgrade disk upgrade and app to clean so let's do update that was pretty quick and then let's just do the omv update alright so that ran through the actual omv upgrade there is an upgrade and a disc upgrade and an app to clean so you can run all these things right from here which is pretty great now if i go to docker it's going to tell you hey docker is not actually running or installed yet but you have a couple of options here so you have docker you can install docker you can remove docker and you can restart docker right from the ui so you don't have to go through all the trouble that i've shown you in the past if you're running over media vault to actually install docker ce you've got ib tables so you can set up you know use legacy or use the new stuff you have portainer if you'd like to use pertainer you can install it or remove it and of course once you've installed it you have the option to refresh it or you can use yacht which is kind of a newcomer to the to the game similar to pertainer where it lets you kind of manage your docker containers and things like that it's got a pretty nice interface and i've got a video coming up on that as well so here with docker we're just going to go and install it we're going to click on install right so if you haven't taken notice you'll note that openmediavault said you know what docker is great and it's a great way to make add-ons to the system but we don't want to create our own user interface for it so this is basically what you get for for docker here you can see pertainer you can set up some advanced stuff if you want but right now pertainer is not even installed here you can see yacht so really if we say we want to manage things in docker we want to do it through a graphical user interface then they have the option of pertainer or yacht for you to use so if we go here to pertainer we can just click on install and if you're patient you'll see that it's actually doing the things that i've shown you in so many videos about how to install things with docker it's just doing it in the background and it's making it very clickable for you so you just click on a button and it kind of does that for you so now we've got pertainer installed and if we go down here and if we just refresh i imagine let's say oh yeah now pertainer has the refresh button so now we can click on save we're going to click on apply and here you can see that it shows pertainer up 18 seconds so the user interface does refresh there we go and then you have some advanced settings for pertainer if you want to change the actual portainer web ports you can the bad thing is you don't have the option to install the pertainer agent here which for me would be great because i have pertainer already running somewhere i'd love just to have the agent going on this thing i could do it through the command line for sure but it'd be nice to have it just set up so i could actually do it here through the user interface and run my pertainer stuff that way so it says open pertainer so you see you've got this button now so i can click that it's going to open up retainer and it's going to have me run through the pertainer setup just like just like you do with any any other setup so here it wants a password and then if i give it a different user name that's probably better and we'll create the user and then we're going to tell it this is for docker and we're going to connect and then we have this local portainer setup so in this inside of container of course you can look at the app templates that the pertainer guys put out which they've got quite a few but there's also other libraries you can go and set up to look at their app templates as well you don't have to use the ones that are specifically made by the pertainer folks which makes it pretty nice so there you go we've got open media vault up and it's running and we've got docker setup on it so we can add some extras and we've got partainer setup on it so that you can do that through a graphical user interface if you prefer there is also an option for cockpit it is not installed yet if you're not familiar with cockpit i have a video on webmin which is a web-based server administration system kind of like what you would call sql server studio i guess i don't know what it is but not sql server but microsoft server where it's got a bunch of clicky clicky stuff it's not command line driven so cockpit is kind of the same thing i think cockpit is much better on red hat type operating systems over debian ubuntu there's a lot more features to it i believe if i'm wrong about that let me know in the comments let me know how to get everything set up for the cockpit side i know the few times i've installed it it's there it's pretty basic there's just not a lot you can do with it from the from the ui in my opinion but it's there to look at it and then of course you have options for your kernel and you can kind of choose how you want those kernel updates to go so that's really the omv extras on the open media vault side and open media vault in and of itself is pretty great so now you can go and actually set up some of these uh containers and really use a media vault to its fullest potential and it really competes up there with rockstore and truenas so hope you guys enjoyed this if you did like subscribe tell your friends about it so they can come along the journey with us and i'll talk to you next time
Info
Channel: Awesome Open Source
Views: 12,162
Rating: undefined out of 5
Keywords: open, source, opensource, open-source, self, hosted, selfhosted, self-hosted, free, libre, software, server, web, internet, browser, linux, mac, macos, os x, windows, microsoft, unix, bsd, ios, android, pi, raspberry, desktop, digital, ocean, digitalocean, vps, tutorial, how to, setup, installation, instructions, interface, open source software, open source news, open source projects, openmediavault, omv, nas, truenas, freenas, rockstor, extras, network attached storage, browser user interface, headless, web gui
Id: zDDOTiSSWlE
Channel Id: undefined
Length: 33min 8sec (1988 seconds)
Published: Tue Apr 13 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.