WEBVTT
Kind: captions
Language: en

00:00:11.400 --> 00:00:14.920
[Music]

00:00:14.920 --> 00:00:17.560
do

00:00:17.560 --> 00:00:21.119
[Music]

00:00:21.119 --> 00:00:24.480
hello and welcome back to learn linux tv

00:00:24.480 --> 00:00:26.720
in today's video i am going to walk you

00:00:26.720 --> 00:00:29.119
through a full installation of nexcloud

00:00:29.119 --> 00:00:30.080
on your linux

00:00:30.080 --> 00:00:32.399
server and your server can be running

00:00:32.399 --> 00:00:34.000
either debian 10

00:00:34.000 --> 00:00:38.480
raspberry pi os or ubuntu 2004

00:00:38.480 --> 00:00:40.480
i have actually tested the process on

00:00:40.480 --> 00:00:41.600
each of those three

00:00:41.600 --> 00:00:44.000
so if you are running one of those three

00:00:44.000 --> 00:00:45.360
distributions then you are

00:00:45.360 --> 00:00:48.239
in good shape in fact there's only one

00:00:48.239 --> 00:00:50.239
command in this entire process

00:00:50.239 --> 00:00:52.960
that differs with my approach when it

00:00:52.960 --> 00:00:54.559
comes to the process

00:00:54.559 --> 00:00:56.800
for those distributions and i will call

00:00:56.800 --> 00:00:57.680
that out

00:00:57.680 --> 00:01:00.160
when we get to it but otherwise the

00:01:00.160 --> 00:01:00.879
process

00:01:00.879 --> 00:01:04.479
is exactly the same now before we get

00:01:04.479 --> 00:01:06.000
into the content though

00:01:06.000 --> 00:01:07.680
i want to let you guys know about the

00:01:07.680 --> 00:01:09.920
sponsor for today's video

00:01:09.920 --> 00:01:13.280
which is actually me i have written a

00:01:13.280 --> 00:01:14.159
book recently

00:01:14.159 --> 00:01:16.799
mastering ubuntu server third edition

00:01:16.799 --> 00:01:18.320
and i just want to get the word out if

00:01:18.320 --> 00:01:19.920
you haven't already heard

00:01:19.920 --> 00:01:21.720
you can check it out at

00:01:21.720 --> 00:01:23.280
ubuntuserverbook.com

00:01:23.280 --> 00:01:25.439
and welcome you guys through a cloud

00:01:25.439 --> 00:01:27.360
installation is actually part of that

00:01:27.360 --> 00:01:28.240
book

00:01:28.240 --> 00:01:30.320
but now i'm going to do a video version

00:01:30.320 --> 00:01:31.920
of that in today's video

00:01:31.920 --> 00:01:34.400
but that's just one of the many topics

00:01:34.400 --> 00:01:35.759
included in that book so

00:01:35.759 --> 00:01:37.840
please check it out and if you already

00:01:37.840 --> 00:01:38.960
have a copy

00:01:38.960 --> 00:01:40.400
i would really appreciate it if you

00:01:40.400 --> 00:01:42.399
would leave a review on amazon

00:01:42.399 --> 00:01:44.560
that would really help me out so now

00:01:44.560 --> 00:01:46.159
without any further ado

00:01:46.159 --> 00:01:47.759
let's go ahead and get the process

00:01:47.759 --> 00:01:52.479
started for installing nexcloud

00:01:52.479 --> 00:01:55.200
so let's go ahead and walk through the

00:01:55.200 --> 00:01:56.000
process

00:01:56.000 --> 00:01:59.200
of setting up nexcloud now first of all

00:01:59.200 --> 00:02:01.200
i highly recommend that you set up a

00:02:01.200 --> 00:02:03.280
domain for your next cloud server

00:02:03.280 --> 00:02:06.000
if you can now if the instance that you

00:02:06.000 --> 00:02:08.399
plan on installing nexcloud on

00:02:08.399 --> 00:02:11.120
isn't actually a public-facing instance

00:02:11.120 --> 00:02:12.400
then you won't be able to

00:02:12.400 --> 00:02:14.480
map a domain to it unless you set up a

00:02:14.480 --> 00:02:15.520
proxy

00:02:15.520 --> 00:02:17.920
which is beyond the scope of this video

00:02:17.920 --> 00:02:18.879
but if you are using

00:02:18.879 --> 00:02:22.400
a vps or a server that is public-facing

00:02:22.400 --> 00:02:24.480
then having a domain would be a great

00:02:24.480 --> 00:02:25.760
thing to have

00:02:25.760 --> 00:02:27.680
but i'll leave that up to you on my end

00:02:27.680 --> 00:02:30.239
i am actually going to show the process

00:02:30.239 --> 00:02:32.400
of applying a domain to the next cloud

00:02:32.400 --> 00:02:33.519
instance so

00:02:33.519 --> 00:02:35.120
if that's something that you want to do

00:02:35.120 --> 00:02:36.800
you can follow along with that

00:02:36.800 --> 00:02:38.400
otherwise you can skip this part and

00:02:38.400 --> 00:02:40.720
just refer to your next cloud server by

00:02:40.720 --> 00:02:42.000
its ip address

00:02:42.000 --> 00:02:44.480
that's perfectly fine so now i'm going

00:02:44.480 --> 00:02:46.160
to walk through the process of setting

00:02:46.160 --> 00:02:47.200
up a domain

00:02:47.200 --> 00:02:49.840
i've already purchased one and it's

00:02:49.840 --> 00:02:51.280
learn linux.tv

00:02:51.280 --> 00:02:53.680
and well that is the domain for my

00:02:53.680 --> 00:02:54.400
website

00:02:54.400 --> 00:02:56.160
so what i'm going to do is add a

00:02:56.160 --> 00:03:00.080
subdomain here so i will add an a record

00:03:00.080 --> 00:03:02.000
and for the host name i'm just going to

00:03:02.000 --> 00:03:03.120
call it nc

00:03:03.120 --> 00:03:05.680
obviously short for next cloud and then

00:03:05.680 --> 00:03:07.920
i need to type the ip address of my

00:03:07.920 --> 00:03:08.640
instance

00:03:08.640 --> 00:03:11.360
right here now on my end i decided to

00:03:11.360 --> 00:03:11.920
create a

00:03:11.920 --> 00:03:14.480
lenode instance and again it doesn't

00:03:14.480 --> 00:03:16.720
really matter if you are using a virtual

00:03:16.720 --> 00:03:17.760
machine

00:03:17.760 --> 00:03:20.560
a vps instance a physical server the

00:03:20.560 --> 00:03:22.159
instructions are all the same

00:03:22.159 --> 00:03:25.040
after the domain but lenode is a sponsor

00:03:25.040 --> 00:03:26.159
of my channel

00:03:26.159 --> 00:03:27.840
and i really do like their service so

00:03:27.840 --> 00:03:29.360
it's really easy for me to create a

00:03:29.360 --> 00:03:30.640
quick instance to use

00:03:30.640 --> 00:03:33.200
for an example for this video so i'm

00:03:33.200 --> 00:03:34.959
going to copy the ip address

00:03:34.959 --> 00:03:37.440
for this particular instance i decided

00:03:37.440 --> 00:03:39.519
to set it up with ubuntu 2004

00:03:39.519 --> 00:03:42.640
again debian 10 and raspberry pi os are

00:03:42.640 --> 00:03:44.560
fair game as well

00:03:44.560 --> 00:03:46.799
and here i'm going to paste that ip

00:03:46.799 --> 00:03:47.920
address

00:03:47.920 --> 00:03:50.239
into this field and then i will click

00:03:50.239 --> 00:03:51.920
add record

00:03:51.920 --> 00:03:54.239
now it's probably going to take about 15

00:03:54.239 --> 00:03:55.439
minutes or so

00:03:55.439 --> 00:03:58.080
for the dns change to propagate it's not

00:03:58.080 --> 00:03:59.599
actually going to resolve

00:03:59.599 --> 00:04:02.319
quite yet but that's okay because it's

00:04:02.319 --> 00:04:04.159
going to take about that long for this

00:04:04.159 --> 00:04:05.840
process to finish anyway

00:04:05.840 --> 00:04:07.599
so by the time we get to the point where

00:04:07.599 --> 00:04:10.480
we are going to add an ssl certificate

00:04:10.480 --> 00:04:13.200
it should be ready to go so again i have

00:04:13.200 --> 00:04:13.519
this

00:04:13.519 --> 00:04:15.040
instance right here i'm going to copy

00:04:15.040 --> 00:04:17.519
the ip address and then over here

00:04:17.519 --> 00:04:20.160
on this workspace i'm going to ssh into

00:04:20.160 --> 00:04:22.240
that instance

00:04:22.240 --> 00:04:23.680
and i will leave it up to you to make

00:04:23.680 --> 00:04:25.199
sure that you are typing the correct

00:04:25.199 --> 00:04:25.919
username

00:04:25.919 --> 00:04:28.479
and password to get access to your linux

00:04:28.479 --> 00:04:29.840
instance

00:04:29.840 --> 00:04:32.800
and i will accept this by answering yes

00:04:32.800 --> 00:04:35.600
i'll type in the password

00:04:35.600 --> 00:04:42.240
it might help if i type that correctly

00:04:42.240 --> 00:04:45.440
and there we go so first what i'm going

00:04:45.440 --> 00:04:47.440
to do is set the host name to match the

00:04:47.440 --> 00:04:49.440
domain name that i have chosen for this

00:04:49.440 --> 00:04:50.160
instance

00:04:50.160 --> 00:04:51.840
and if you don't actually have a domain

00:04:51.840 --> 00:04:53.680
name you should still go through this

00:04:53.680 --> 00:04:54.400
process

00:04:54.400 --> 00:04:55.919
you can name it something simple like

00:04:55.919 --> 00:04:57.680
next cloud that's fine

00:04:57.680 --> 00:04:59.680
there's two files that i want to edit so

00:04:59.680 --> 00:05:01.840
i will type nano

00:05:01.840 --> 00:05:04.880
and then i will edit slash etsy slash

00:05:04.880 --> 00:05:07.759
host name and you might need to use sudo

00:05:07.759 --> 00:05:08.240
here

00:05:08.240 --> 00:05:10.240
if you don't actually have access to the

00:05:10.240 --> 00:05:11.520
root account

00:05:11.520 --> 00:05:13.280
since i'm logged in as root i don't need

00:05:13.280 --> 00:05:15.919
sudo for this purpose i'll press enter

00:05:15.919 --> 00:05:18.320
and currently the host name is simply

00:05:18.320 --> 00:05:19.919
localhost

00:05:19.919 --> 00:05:22.800
so i'm going to delete that and then i'm

00:05:22.800 --> 00:05:24.639
going to type in in my case the fully

00:05:24.639 --> 00:05:26.000
qualified domain name

00:05:26.000 --> 00:05:29.919
of nc.learnlinux.tv

00:05:29.919 --> 00:05:32.000
and again if you don't have a domain

00:05:32.000 --> 00:05:34.000
then you can simply just type the name

00:05:34.000 --> 00:05:35.520
of your server whatever you want it to

00:05:35.520 --> 00:05:36.240
be

00:05:36.240 --> 00:05:38.560
simplifying it down to next cloud is

00:05:38.560 --> 00:05:39.280
fine

00:05:39.280 --> 00:05:42.000
so ctrl o and then enter to save the

00:05:42.000 --> 00:05:43.120
file

00:05:43.120 --> 00:05:46.400
and then control x to exit out next

00:05:46.400 --> 00:05:50.080
i'm going to edit the etsy host file

00:05:50.080 --> 00:05:52.560
and i'm going to add a new line here and

00:05:52.560 --> 00:05:58.000
i'm going to make this 127.0.1.1

00:05:58.000 --> 00:06:01.199
i'll tab over to keep everything aligned

00:06:01.199 --> 00:06:03.280
and then i will type the same hostname

00:06:03.280 --> 00:06:05.280
or domain name here that i typed in the

00:06:05.280 --> 00:06:08.960
other file

00:06:08.960 --> 00:06:10.479
and that's what mine is so i will save

00:06:10.479 --> 00:06:12.080
the file again control o

00:06:12.080 --> 00:06:14.400
and then enter and then control x to

00:06:14.400 --> 00:06:15.520
exit out

00:06:15.520 --> 00:06:17.440
now it's a great idea to make sure that

00:06:17.440 --> 00:06:19.440
all of the packages on your server

00:06:19.440 --> 00:06:21.840
are all up to date and for that i will

00:06:21.840 --> 00:06:22.720
first run app

00:06:22.720 --> 00:06:25.759
update and again use sudo if you are not

00:06:25.759 --> 00:06:27.199
logged in as root

00:06:27.199 --> 00:06:29.039
so i'll press enter and this will

00:06:29.039 --> 00:06:34.880
refresh the package repository index

00:06:34.880 --> 00:06:36.880
and it shows that we have eight packages

00:06:36.880 --> 00:06:39.280
available to be upgraded

00:06:39.280 --> 00:06:42.000
and to do that we will run apt dist

00:06:42.000 --> 00:06:42.560
hyphen

00:06:42.560 --> 00:06:45.840
upgrade and then enter

00:06:45.840 --> 00:06:49.599
and then i'll press enter again

00:06:49.599 --> 00:06:51.599
so now we have all of our packages up to

00:06:51.599 --> 00:06:52.880
date

00:06:52.880 --> 00:06:55.520
so next let's add a user for ourselves

00:06:55.520 --> 00:06:57.199
if we don't already have one

00:06:57.199 --> 00:06:58.720
depending on how you've obtained your

00:06:58.720 --> 00:07:01.520
linux server or how you have it set up

00:07:01.520 --> 00:07:03.680
you may already have a local user if you

00:07:03.680 --> 00:07:05.039
are logged in as root as i

00:07:05.039 --> 00:07:07.520
am most vps providers actually give you

00:07:07.520 --> 00:07:08.639
a root account

00:07:08.639 --> 00:07:10.319
and leave it up to you to create a local

00:07:10.319 --> 00:07:12.000
user in that case

00:07:12.000 --> 00:07:14.319
you actually have to create a local user

00:07:14.319 --> 00:07:16.000
but again if you already have one you

00:07:16.000 --> 00:07:17.280
should be all set and ready to go

00:07:17.280 --> 00:07:19.360
and you shouldn't need to do this so i

00:07:19.360 --> 00:07:21.440
am going to run add user

00:07:21.440 --> 00:07:22.960
and then i will type the name of the

00:07:22.960 --> 00:07:24.720
user that i want to create i'll just

00:07:24.720 --> 00:07:25.680
create it as me

00:07:25.680 --> 00:07:28.080
my first name i think that's good enough

00:07:28.080 --> 00:07:29.680
and then i'll type in the password for

00:07:29.680 --> 00:07:32.080
that user

00:07:32.080 --> 00:07:35.520
and again

00:07:35.520 --> 00:07:37.039
and then i'm going to skip all of these

00:07:37.039 --> 00:07:38.720
prompts right here i'll just keep

00:07:38.720 --> 00:07:41.840
pressing enter

00:07:41.840 --> 00:07:44.400
and then enter again and now our new

00:07:44.400 --> 00:07:46.639
user is created

00:07:46.639 --> 00:07:48.720
to ensure that our user is able to use

00:07:48.720 --> 00:07:51.520
sudo we can run user mod

00:07:51.520 --> 00:07:54.960
a uppercase g sudo

00:07:54.960 --> 00:07:57.199
and j which is my username just change

00:07:57.199 --> 00:07:58.000
that for whatever

00:07:58.000 --> 00:08:01.280
your username happens to be

00:08:01.280 --> 00:08:04.720
and there we go so now we have a local

00:08:04.720 --> 00:08:07.440
user we've installed all of the updates

00:08:07.440 --> 00:08:09.199
and we have also set the hostname as

00:08:09.199 --> 00:08:11.360
well so what i recommend you do is just

00:08:11.360 --> 00:08:13.520
simply reboot the server

00:08:13.520 --> 00:08:14.960
and that's what i'm going to do so i'll

00:08:14.960 --> 00:08:17.840
press enter

00:08:17.840 --> 00:08:19.919
and then i will be right back as soon as

00:08:19.919 --> 00:08:21.120
this is finished

00:08:21.120 --> 00:08:23.360
so now let's go ahead and ssh back into

00:08:23.360 --> 00:08:25.360
the server

00:08:25.360 --> 00:08:27.599
hopefully it's available so i just

00:08:27.599 --> 00:08:29.520
change the username to mine

00:08:29.520 --> 00:08:34.640
same ip address

00:08:34.640 --> 00:08:37.200
and there we go i am now connected to my

00:08:37.200 --> 00:08:39.360
next cloud server or what will become my

00:08:39.360 --> 00:08:40.880
next cloud server

00:08:40.880 --> 00:08:43.599
and i'm logged in as my normal local

00:08:43.599 --> 00:08:45.120
user

00:08:45.120 --> 00:08:47.120
so next i recommend that you install

00:08:47.120 --> 00:08:49.200
tmux and this is optional

00:08:49.200 --> 00:08:52.160
but i think it's a very good idea so

00:08:52.160 --> 00:08:52.800
sudo

00:08:52.800 --> 00:08:55.040
because i'm logged in as a non-root user

00:08:55.040 --> 00:08:56.399
at this time

00:08:56.399 --> 00:09:02.800
apt install and then tmux

00:09:02.800 --> 00:09:04.480
and in my case that was already

00:09:04.480 --> 00:09:05.839
installed

00:09:05.839 --> 00:09:08.240
and a full walkthrough of what tmux is

00:09:08.240 --> 00:09:10.399
is beyond the scope of this video

00:09:10.399 --> 00:09:12.480
i do have an entire playlist with a

00:09:12.480 --> 00:09:14.000
tutorial series that will teach you

00:09:14.000 --> 00:09:15.600
everything you need to know

00:09:15.600 --> 00:09:18.000
to use tmux already on my channel if

00:09:18.000 --> 00:09:18.959
you're interested

00:09:18.959 --> 00:09:22.240
i'll put a card right about here

00:09:22.240 --> 00:09:24.080
so go ahead and check that out if you

00:09:24.080 --> 00:09:25.279
want to

00:09:25.279 --> 00:09:26.640
but the reason why i'm having you

00:09:26.640 --> 00:09:28.640
install tmux right now is because it

00:09:28.640 --> 00:09:30.720
gives you a layer of protection that i

00:09:30.720 --> 00:09:32.720
recommend that you benefit from

00:09:32.720 --> 00:09:35.279
so i will enter tmux and you can see

00:09:35.279 --> 00:09:37.040
that we now have this little bar here at

00:09:37.040 --> 00:09:38.240
the bottom

00:09:38.240 --> 00:09:39.920
we don't have to worry about exactly

00:09:39.920 --> 00:09:42.160
what that does quite yet

00:09:42.160 --> 00:09:43.680
again check out the series if you want

00:09:43.680 --> 00:09:45.839
to learn more but i'll show you what it

00:09:45.839 --> 00:09:48.839
actually does so i'm just going to type

00:09:48.839 --> 00:09:50.080
something

00:09:50.080 --> 00:09:52.480
and let's just assume that my network

00:09:52.480 --> 00:09:54.480
connection went down or my internet

00:09:54.480 --> 00:09:55.680
connection went down

00:09:55.680 --> 00:09:58.399
and i lost access to my instance i'll

00:09:58.399 --> 00:10:01.279
simulate that right now

00:10:01.279 --> 00:10:03.279
and oops i've lost connection to my

00:10:03.279 --> 00:10:04.399
server

00:10:04.399 --> 00:10:06.000
and that would really suck if i was in

00:10:06.000 --> 00:10:08.000
the middle of the installation

00:10:08.000 --> 00:10:10.000
and maybe getting disconnected from the

00:10:10.000 --> 00:10:12.640
server at just the right time

00:10:12.640 --> 00:10:14.480
will cause me to have to start all the

00:10:14.480 --> 00:10:15.839
way over again

00:10:15.839 --> 00:10:17.360
that wouldn't be a great thing to

00:10:17.360 --> 00:10:19.440
experience so i would ssh back into the

00:10:19.440 --> 00:10:20.720
server

00:10:20.720 --> 00:10:23.200
and then i could simply run tmux attach

00:10:23.200 --> 00:10:25.279
just like that

00:10:25.279 --> 00:10:26.800
and just like that my session is

00:10:26.800 --> 00:10:29.279
restored so what tmux will allow us to

00:10:29.279 --> 00:10:30.240
do

00:10:30.240 --> 00:10:32.959
is keep this running regardless of

00:10:32.959 --> 00:10:34.800
whether or not we are connected

00:10:34.800 --> 00:10:37.279
to our server the session will stay

00:10:37.279 --> 00:10:39.040
alive in the background

00:10:39.040 --> 00:10:40.560
so next what we're going to do is

00:10:40.560 --> 00:10:42.160
download the zip file

00:10:42.160 --> 00:10:44.399
that we will use to install next cloud

00:10:44.399 --> 00:10:45.600
on our server

00:10:45.600 --> 00:10:47.839
so for that i'm going to move over to a

00:10:47.839 --> 00:10:50.079
web browser

00:10:50.079 --> 00:10:52.079
i have already navigated to the official

00:10:52.079 --> 00:10:55.120
next cloud site at nextcloud.com

00:10:55.120 --> 00:10:56.560
and then what i could do is click up

00:10:56.560 --> 00:10:59.200
here where it says get next cloud

00:10:59.200 --> 00:11:03.600
i'll go to server packages

00:11:03.600 --> 00:11:05.279
and then we have the download button

00:11:05.279 --> 00:11:06.800
right here but we're not going to click

00:11:06.800 --> 00:11:07.519
it

00:11:07.519 --> 00:11:09.360
what we're going to do instead is right

00:11:09.360 --> 00:11:11.839
click on it

00:11:11.839 --> 00:11:13.920
and then we'll click on copy link

00:11:13.920 --> 00:11:16.240
location

00:11:16.240 --> 00:11:18.480
back in the terminal i need to make sure

00:11:18.480 --> 00:11:19.920
that we have wget

00:11:19.920 --> 00:11:24.079
installed and in my case i do

00:11:24.079 --> 00:11:26.959
if i didn't i could run sudo apt install

00:11:26.959 --> 00:11:28.000
wget just

00:11:28.000 --> 00:11:30.240
like that but i already have it so i

00:11:30.240 --> 00:11:32.880
won't need to do that

00:11:32.880 --> 00:11:35.680
so what i could do is type wget and then

00:11:35.680 --> 00:11:38.000
i could paste in the url that i copied

00:11:38.000 --> 00:11:39.760
from the website

00:11:39.760 --> 00:11:41.920
which in my case is this one as of the

00:11:41.920 --> 00:11:43.519
time i'm recording this video

00:11:43.519 --> 00:11:46.560
the current version is 20.0.6

00:11:46.560 --> 00:11:48.000
but they are coming out with new

00:11:48.000 --> 00:11:49.839
versions all the time

00:11:49.839 --> 00:11:51.760
so don't be surprised if by the time you

00:11:51.760 --> 00:11:53.040
watch this video

00:11:53.040 --> 00:11:55.440
that they are up to a newer version so

00:11:55.440 --> 00:11:59.440
anyway i'll press enter

00:11:59.440 --> 00:12:02.639
and now we have downloaded nexcloud

00:12:02.639 --> 00:12:04.880
we can see it right there so now that

00:12:04.880 --> 00:12:06.880
we've downloaded the install file to our

00:12:06.880 --> 00:12:07.839
server

00:12:07.839 --> 00:12:09.519
we have what we need to install next

00:12:09.519 --> 00:12:11.760
cloud but we're going to come back to

00:12:11.760 --> 00:12:13.440
that because we need to prepare the

00:12:13.440 --> 00:12:15.279
server a little bit more first

00:12:15.279 --> 00:12:17.920
before we get that installed and one of

00:12:17.920 --> 00:12:19.600
the first requirements that we need to

00:12:19.600 --> 00:12:20.240
set up

00:12:20.240 --> 00:12:22.240
is setting up a database server because

00:12:22.240 --> 00:12:24.560
next cloud needs a database server

00:12:24.560 --> 00:12:27.760
and for that we can run sudo apt install

00:12:27.760 --> 00:12:30.880
mariadb hyphen server

00:12:30.880 --> 00:12:36.880
i'll press enter and then enter again

00:12:36.880 --> 00:12:38.959
and now we have the mariadb server

00:12:38.959 --> 00:12:40.160
installed

00:12:40.160 --> 00:12:41.760
and that's what we're going to use to

00:12:41.760 --> 00:12:43.680
set up the database that's going to

00:12:43.680 --> 00:12:46.720
serve as the back end for nexcloud

00:12:46.720 --> 00:12:48.720
so next i recommend that we set some

00:12:48.720 --> 00:12:51.680
basic security for the database server

00:12:51.680 --> 00:12:53.120
nothing too major but we have a

00:12:53.120 --> 00:12:55.279
dedicated command that we can use

00:12:55.279 --> 00:12:59.200
so we will run sudo mysql underscore

00:12:59.200 --> 00:13:02.240
secure underscore installation

00:13:02.240 --> 00:13:03.680
and even though we've installed the

00:13:03.680 --> 00:13:05.360
mariadb server

00:13:05.360 --> 00:13:07.200
the command syntax for the secure

00:13:07.200 --> 00:13:08.480
installation script

00:13:08.480 --> 00:13:11.519
still reads my sql but we'll ignore that

00:13:11.519 --> 00:13:13.680
it does work so i'll press enter and

00:13:13.680 --> 00:13:15.680
it's going to ask us a series of

00:13:15.680 --> 00:13:18.399
questions about our installation

00:13:18.399 --> 00:13:20.880
so that way we can better secure it so

00:13:20.880 --> 00:13:23.040
first of all it's asking us to enter the

00:13:23.040 --> 00:13:24.720
current root password and it's not

00:13:24.720 --> 00:13:26.480
talking about the root password for the

00:13:26.480 --> 00:13:28.079
linux distribution

00:13:28.079 --> 00:13:30.000
it's talking about the root password for

00:13:30.000 --> 00:13:31.519
the database server

00:13:31.519 --> 00:13:33.920
but we haven't set one so we're just

00:13:33.920 --> 00:13:35.519
going to press enter for none

00:13:35.519 --> 00:13:38.079
because there isn't one yet and now it's

00:13:38.079 --> 00:13:39.680
asking us if we would like to set the

00:13:39.680 --> 00:13:41.120
root password

00:13:41.120 --> 00:13:43.440
notice that the y is in caps which means

00:13:43.440 --> 00:13:45.279
it's the default option if we don't

00:13:45.279 --> 00:13:47.279
actually choose one or the other

00:13:47.279 --> 00:13:49.199
i could actually type y and then press

00:13:49.199 --> 00:13:51.120
enter to answer yes

00:13:51.120 --> 00:13:52.800
but i'm just going to press enter to

00:13:52.800 --> 00:13:54.639
accept the default of y

00:13:54.639 --> 00:13:57.440
less typing and this will allow us to

00:13:57.440 --> 00:13:58.880
set the root password

00:13:58.880 --> 00:14:00.560
so i will type in the password that i

00:14:00.560 --> 00:14:02.399
want the root password for the database

00:14:02.399 --> 00:14:05.120
server to be

00:14:05.120 --> 00:14:09.600
and again it's asking me if i would like

00:14:09.600 --> 00:14:11.760
to remove anonymous users

00:14:11.760 --> 00:14:14.399
i'll press enter for yes it's asking me

00:14:14.399 --> 00:14:16.560
if i would like to disallow root login

00:14:16.560 --> 00:14:17.760
remotely

00:14:17.760 --> 00:14:19.839
in my opinion i don't even think a

00:14:19.839 --> 00:14:21.839
database server should ever be remotely

00:14:21.839 --> 00:14:22.720
available

00:14:22.720 --> 00:14:24.720
so of course i want to disable any form

00:14:24.720 --> 00:14:26.320
of remote login that i can

00:14:26.320 --> 00:14:28.959
so i'll press enter for yes and now it's

00:14:28.959 --> 00:14:30.639
asking if i would like to remove any

00:14:30.639 --> 00:14:32.320
test databases

00:14:32.320 --> 00:14:35.360
and access to test databases and by

00:14:35.360 --> 00:14:36.800
default it comes with one

00:14:36.800 --> 00:14:38.560
named test so let's remove it by

00:14:38.560 --> 00:14:39.920
pressing enter

00:14:39.920 --> 00:14:41.839
and then enter again to reload the

00:14:41.839 --> 00:14:43.760
privilege tables which basically just

00:14:43.760 --> 00:14:45.360
refreshes everything i'll press enter

00:14:45.360 --> 00:14:46.399
again

00:14:46.399 --> 00:14:49.040
and we're back to the prompt so next

00:14:49.040 --> 00:14:50.560
what i'm going to do

00:14:50.560 --> 00:14:54.800
is run sudo mariadb

00:14:54.800 --> 00:14:56.320
and you'll notice that the command

00:14:56.320 --> 00:14:59.040
prompt has completely changed

00:14:59.040 --> 00:15:01.279
so now i actually have a command prompt

00:15:01.279 --> 00:15:03.279
to the database server itself

00:15:03.279 --> 00:15:05.760
so at this point linux commands will not

00:15:05.760 --> 00:15:07.440
work i need to enter

00:15:07.440 --> 00:15:09.920
database server commands specifically my

00:15:09.920 --> 00:15:11.600
sql style commands

00:15:11.600 --> 00:15:13.199
and if you don't know what commands to

00:15:13.199 --> 00:15:15.120
use well don't worry because i'm going

00:15:15.120 --> 00:15:17.199
to walk you through everything

00:15:17.199 --> 00:15:19.360
so first of all we need to create a

00:15:19.360 --> 00:15:21.440
database for next cloud

00:15:21.440 --> 00:15:24.839
so what i'll do is type create and then

00:15:24.839 --> 00:15:26.399
database

00:15:26.399 --> 00:15:28.480
and i type that in all caps that's not

00:15:28.480 --> 00:15:29.680
required

00:15:29.680 --> 00:15:32.079
but when it comes to database servers

00:15:32.079 --> 00:15:33.279
it's standard to

00:15:33.279 --> 00:15:35.519
type the commands in all caps but you

00:15:35.519 --> 00:15:37.360
don't have to type in all caps

00:15:37.360 --> 00:15:38.800
but i'm going to follow the best

00:15:38.800 --> 00:15:41.279
practices here and then we need to give

00:15:41.279 --> 00:15:43.199
it the name that we want applied to the

00:15:43.199 --> 00:15:44.720
database that we're creating i'll just

00:15:44.720 --> 00:15:46.320
call it next cloud

00:15:46.320 --> 00:15:48.880
clever i know and we're going to end the

00:15:48.880 --> 00:15:51.440
statement with a semicolon

00:15:51.440 --> 00:15:53.680
and i'll press enter the database has

00:15:53.680 --> 00:15:54.959
been created

00:15:54.959 --> 00:15:56.399
and to see that for ourselves we could

00:15:56.399 --> 00:15:59.360
type show databases

00:15:59.360 --> 00:16:01.120
and then of course the semicolon and the

00:16:01.120 --> 00:16:03.680
statement and we can see the third

00:16:03.680 --> 00:16:07.040
line down says nextcloud so the database

00:16:07.040 --> 00:16:08.959
has indeed been created

00:16:08.959 --> 00:16:11.680
so the next command is fairly long so

00:16:11.680 --> 00:16:12.959
i'm just going to paste it in

00:16:12.959 --> 00:16:15.440
right here so essentially what i'm doing

00:16:15.440 --> 00:16:18.000
is i'm creating a user

00:16:18.000 --> 00:16:21.120
and that user is called nextcloud

00:16:21.120 --> 00:16:22.880
and then that user is going to be

00:16:22.880 --> 00:16:25.120
located at localhost which means

00:16:25.120 --> 00:16:27.360
the user exists right here on this

00:16:27.360 --> 00:16:29.199
particular server

00:16:29.199 --> 00:16:31.279
the line did wrap a bit but i will have

00:16:31.279 --> 00:16:33.120
all of the commands that i'm using

00:16:33.120 --> 00:16:35.920
in this video in the official wiki page

00:16:35.920 --> 00:16:37.759
for this video that i will have linked

00:16:37.759 --> 00:16:38.720
in the description

00:16:38.720 --> 00:16:41.279
down below and that user will be

00:16:41.279 --> 00:16:43.600
identified by

00:16:43.600 --> 00:16:46.079
a password of my password make sure that

00:16:46.079 --> 00:16:48.399
you change this make it a good password

00:16:48.399 --> 00:16:51.920
a randomly generated password if you can

00:16:51.920 --> 00:16:53.680
and make sure you store it in a safe

00:16:53.680 --> 00:16:55.440
place because this is going to be the

00:16:55.440 --> 00:16:57.360
database that next cloud will need to be

00:16:57.360 --> 00:16:58.639
able to connect to

00:16:58.639 --> 00:17:00.639
now because this is just a test instance

00:17:00.639 --> 00:17:02.639
that i will be destroying after i'm done

00:17:02.639 --> 00:17:04.079
recording the footage

00:17:04.079 --> 00:17:05.839
i don't really care that the password is

00:17:05.839 --> 00:17:08.079
simple but on your end i recommend that

00:17:08.079 --> 00:17:10.240
you create a good password for this

00:17:10.240 --> 00:17:12.319
so what we're doing is we are granting

00:17:12.319 --> 00:17:13.919
all privileges literally

00:17:13.919 --> 00:17:16.480
all privileges on the next cloud

00:17:16.480 --> 00:17:17.199
database

00:17:17.199 --> 00:17:18.959
and everything inside the next cloud

00:17:18.959 --> 00:17:21.439
database to a user

00:17:21.439 --> 00:17:24.400
named nextcloud that exists here on the

00:17:24.400 --> 00:17:26.079
local server

00:17:26.079 --> 00:17:29.600
and is identified by this password

00:17:29.600 --> 00:17:32.799
right here so again

00:17:32.799 --> 00:17:34.480
change that password to something good

00:17:34.480 --> 00:17:35.840
and then press enter

00:17:35.840 --> 00:17:40.480
so now we will run flush privileges

00:17:40.480 --> 00:17:42.320
semicolon make sure everything is

00:17:42.320 --> 00:17:43.520
refreshed

00:17:43.520 --> 00:17:46.320
and then we can hold ctrl and press d to

00:17:46.320 --> 00:17:47.120
disconnect

00:17:47.120 --> 00:17:50.240
from the database server so now we have

00:17:50.240 --> 00:17:52.240
a database to serve as the back-end

00:17:52.240 --> 00:17:54.880
database for nexcloud and that's pretty

00:17:54.880 --> 00:17:55.919
cool

00:17:55.919 --> 00:17:57.120
so let's continue on with the

00:17:57.120 --> 00:18:00.559
installation now next cloud requires a

00:18:00.559 --> 00:18:03.200
web server in order to function

00:18:03.200 --> 00:18:06.000
and i've decided to install the apache

00:18:06.000 --> 00:18:06.880
web server

00:18:06.880 --> 00:18:08.960
it's tried and true it works great so

00:18:08.960 --> 00:18:10.160
that's what i'm going to show you how to

00:18:10.160 --> 00:18:11.280
do

00:18:11.280 --> 00:18:12.960
actually the command to install the

00:18:12.960 --> 00:18:15.120
packages that we need is quite long

00:18:15.120 --> 00:18:16.799
because there's quite a few packages

00:18:16.799 --> 00:18:17.520
that we need

00:18:17.520 --> 00:18:20.799
so i'm going to paste it in right here

00:18:20.799 --> 00:18:23.520
and again i have a wiki article linked

00:18:23.520 --> 00:18:24.240
down below

00:18:24.240 --> 00:18:26.000
in the description where you can grab

00:18:26.000 --> 00:18:28.640
these commands for yourself or

00:18:28.640 --> 00:18:30.400
you can simply pause the video right

00:18:30.400 --> 00:18:32.240
here if you'd like to jot down

00:18:32.240 --> 00:18:35.200
these packages now notice that apache is

00:18:35.200 --> 00:18:36.960
not among the packages that i'm

00:18:36.960 --> 00:18:38.080
installing here

00:18:38.080 --> 00:18:40.320
but that's okay because apache should be

00:18:40.320 --> 00:18:42.400
pulled in as a dependency

00:18:42.400 --> 00:18:45.679
we'll check that i'll press enter

00:18:45.679 --> 00:18:48.400
and we can see right here that apache is

00:18:48.400 --> 00:18:49.919
among the packages that are being

00:18:49.919 --> 00:18:50.960
installed

00:18:50.960 --> 00:18:52.960
if for some reason you don't see apache

00:18:52.960 --> 00:18:55.919
here then make sure you add the apache 2

00:18:55.919 --> 00:18:56.480
package

00:18:56.480 --> 00:18:59.200
along with the others so i'll press

00:18:59.200 --> 00:19:01.280
enter to accept the defaults

00:19:01.280 --> 00:19:02.880
it's going to download everything and

00:19:02.880 --> 00:19:04.559
install all the packages so i'll let it

00:19:04.559 --> 00:19:08.880
finish

00:19:08.880 --> 00:19:11.679
and now at this point we should have a

00:19:11.679 --> 00:19:13.039
web server installed

00:19:13.039 --> 00:19:15.600
apache in particular and it should

00:19:15.600 --> 00:19:17.360
already be working

00:19:17.360 --> 00:19:19.760
and to verify that apache is in fact

00:19:19.760 --> 00:19:20.400
working

00:19:20.400 --> 00:19:23.520
you can go over to a browser open a new

00:19:23.520 --> 00:19:24.799
tab

00:19:24.799 --> 00:19:26.559
and then just feel free to paste the ip

00:19:26.559 --> 00:19:29.919
address right here in the address bar

00:19:29.919 --> 00:19:32.160
and as you can see here apache is

00:19:32.160 --> 00:19:34.480
working i typed in the ip address for

00:19:34.480 --> 00:19:37.200
my instance here and we see the apache

00:19:37.200 --> 00:19:38.080
to default

00:19:38.080 --> 00:19:40.960
web page your default page may vary

00:19:40.960 --> 00:19:42.799
depending on which distribution you are

00:19:42.799 --> 00:19:43.919
using

00:19:43.919 --> 00:19:45.840
but you should see some sort of default

00:19:45.840 --> 00:19:47.039
page here

00:19:47.039 --> 00:19:49.360
and in fact now would be a great time to

00:19:49.360 --> 00:19:51.360
see whether or not your domain name

00:19:51.360 --> 00:19:54.559
if you have one has propagated properly

00:19:54.559 --> 00:19:57.440
and is mapped to this particular server

00:19:57.440 --> 00:20:03.320
so i'll type it in right here

00:20:03.320 --> 00:20:06.640
nc.learnlinux.tv in my case

00:20:06.640 --> 00:20:09.520
and as you can see i get the same page

00:20:09.520 --> 00:20:11.520
so now i know that the domain is

00:20:11.520 --> 00:20:12.640
actually working

00:20:12.640 --> 00:20:15.280
now let's go back to the terminal so

00:20:15.280 --> 00:20:16.240
let's go ahead

00:20:16.240 --> 00:20:19.360
and enable some php mods that we need

00:20:19.360 --> 00:20:22.400
for this to function properly so we will

00:20:22.400 --> 00:20:22.720
run

00:20:22.720 --> 00:20:26.480
sudo php and mod and then we will enable

00:20:26.480 --> 00:20:27.039
bc

00:20:27.039 --> 00:20:30.480
math gmp

00:20:30.480 --> 00:20:34.559
imagic and intl

00:20:34.559 --> 00:20:36.559
and it's beyond the scope of this video

00:20:36.559 --> 00:20:38.320
to go through those particular

00:20:38.320 --> 00:20:40.159
extensions and what they do

00:20:40.159 --> 00:20:42.320
but they do add additional capability to

00:20:42.320 --> 00:20:43.520
nexcloud

00:20:43.520 --> 00:20:45.280
and they also make it work better as

00:20:45.280 --> 00:20:47.600
well so it's a great idea to go ahead

00:20:47.600 --> 00:20:49.440
and enable those which is exactly what

00:20:49.440 --> 00:20:51.200
this command will do

00:20:51.200 --> 00:20:53.039
we didn't receive any output but i

00:20:53.039 --> 00:20:54.720
wasn't expecting to see anything

00:20:54.720 --> 00:20:57.360
so we should be good to go there now the

00:20:57.360 --> 00:20:59.280
default apache web page is

00:20:59.280 --> 00:21:01.360
well pretty cool but it's not what we

00:21:01.360 --> 00:21:03.360
want now instead of that default web

00:21:03.360 --> 00:21:05.120
page i'm sure we would prefer to see

00:21:05.120 --> 00:21:06.559
next cloud because that's the whole

00:21:06.559 --> 00:21:07.280
point

00:21:07.280 --> 00:21:09.200
so let's get that installed now first of

00:21:09.200 --> 00:21:11.039
all we need the unzip command i could

00:21:11.039 --> 00:21:12.880
type which and then unzip to see if it's

00:21:12.880 --> 00:21:14.159
present

00:21:14.159 --> 00:21:17.440
and it's not so let's go ahead and

00:21:17.440 --> 00:21:18.320
install that then

00:21:18.320 --> 00:21:21.840
sudo apt install unzip

00:21:21.840 --> 00:21:26.159
enter and the reason why we have

00:21:26.159 --> 00:21:27.679
installed on zip

00:21:27.679 --> 00:21:29.679
is because the next cloud file that

00:21:29.679 --> 00:21:31.200
we've downloaded

00:21:31.200 --> 00:21:33.760
is a zipped file so we will need the

00:21:33.760 --> 00:21:36.320
unzip utility to extract it

00:21:36.320 --> 00:21:38.720
and in fact that's exactly what we're

00:21:38.720 --> 00:21:41.200
going to do right now

00:21:41.200 --> 00:21:43.760
so we'll type unzip space and then the

00:21:43.760 --> 00:21:44.480
file name

00:21:44.480 --> 00:21:46.000
of the next cloud file that we've

00:21:46.000 --> 00:21:48.400
downloaded i'll press enter

00:21:48.400 --> 00:21:50.880
it's going to explode it into a bunch of

00:21:50.880 --> 00:21:52.640
files

00:21:52.640 --> 00:21:55.760
and now that's extracted

00:21:55.760 --> 00:21:58.640
so now that we have extracted the next

00:21:58.640 --> 00:22:00.159
cloud folder

00:22:00.159 --> 00:22:03.280
from the next cloud zip file we can see

00:22:03.280 --> 00:22:04.720
it there in blue

00:22:04.720 --> 00:22:07.520
we should actually rename that now my

00:22:07.520 --> 00:22:08.720
preference is to

00:22:08.720 --> 00:22:11.360
rename the next cloud directory to match

00:22:11.360 --> 00:22:12.000
the domain

00:22:12.000 --> 00:22:14.480
name it's not required but it's what i

00:22:14.480 --> 00:22:15.120
like to do

00:22:15.120 --> 00:22:17.280
keeps everything simple and consistent

00:22:17.280 --> 00:22:18.559
so i will move

00:22:18.559 --> 00:22:24.840
the next cloud directory to in my case

00:22:24.840 --> 00:22:27.039
nc.learnlinux.tv

00:22:27.039 --> 00:22:28.880
and now we need to change the ownership

00:22:28.880 --> 00:22:30.559
of that directory

00:22:30.559 --> 00:22:34.400
so if i run ls-l we can see that it's

00:22:34.400 --> 00:22:35.760
owned by my user

00:22:35.760 --> 00:22:38.640
and my group so let's actually change

00:22:38.640 --> 00:22:40.880
that i'll use sudo

00:22:40.880 --> 00:22:42.880
and the ch own command will allow me to

00:22:42.880 --> 00:22:45.120
change the ownership of that directory

00:22:45.120 --> 00:22:47.120
and everything underneath it and i'm

00:22:47.120 --> 00:22:49.039
going to add dash capital r

00:22:49.039 --> 00:22:51.440
which is recursive mode that will ensure

00:22:51.440 --> 00:22:52.080
that the

00:22:52.080 --> 00:22:54.480
syntax i'm about to execute will make

00:22:54.480 --> 00:22:56.159
all of those changes to not only that

00:22:56.159 --> 00:22:57.120
directory

00:22:57.120 --> 00:22:59.840
but everything underneath it as well and

00:22:59.840 --> 00:23:02.240
i will change the owner to www hyphen

00:23:02.240 --> 00:23:02.799
data

00:23:02.799 --> 00:23:04.799
that's the apache user that's created

00:23:04.799 --> 00:23:06.480
automatically when you install the

00:23:06.480 --> 00:23:08.240
apache package

00:23:08.240 --> 00:23:11.679
and then colon and again www hyphen

00:23:11.679 --> 00:23:14.640
data that's the group that i want

00:23:14.640 --> 00:23:15.280
assigned

00:23:15.280 --> 00:23:18.400
to that particular directory and then

00:23:18.400 --> 00:23:19.679
i'm going to give it the name of the

00:23:19.679 --> 00:23:21.120
next cloud folder

00:23:21.120 --> 00:23:23.440
as the object i want to change ownership

00:23:23.440 --> 00:23:24.799
on

00:23:24.799 --> 00:23:28.960
that should happen pretty quick so ls-l

00:23:28.960 --> 00:23:31.760
we can see right here that the ownership

00:23:31.760 --> 00:23:34.080
has indeed changed

00:23:34.080 --> 00:23:36.240
so now what we're going to do is we are

00:23:36.240 --> 00:23:37.280
going to move

00:23:37.280 --> 00:23:40.320
that directory into the location on the

00:23:40.320 --> 00:23:42.880
file system where it is going to live

00:23:42.880 --> 00:23:45.520
until the end of time or for the life of

00:23:45.520 --> 00:23:48.720
the server

00:23:48.720 --> 00:23:50.799
and i'm going to move it into slash var

00:23:50.799 --> 00:23:53.279
slash www

00:23:53.279 --> 00:23:57.279
so if i list the storage of var www

00:23:57.279 --> 00:24:00.799
you can see that directory now lives

00:24:00.799 --> 00:24:02.240
there

00:24:02.240 --> 00:24:05.039
so now let's disable that default site

00:24:05.039 --> 00:24:06.799
the one that we saw when we first went

00:24:06.799 --> 00:24:08.720
to the ip address of the server

00:24:08.720 --> 00:24:11.919
in the browser after installing apache

00:24:11.919 --> 00:24:14.799
let's actually get rid of it and to do

00:24:14.799 --> 00:24:16.400
that we can run sudo

00:24:16.400 --> 00:24:19.520
a2 dis site

00:24:19.520 --> 00:24:21.919
zero zero zero we can actually press tab

00:24:21.919 --> 00:24:23.120
right here

00:24:23.120 --> 00:24:24.960
it auto completes it because it knows

00:24:24.960 --> 00:24:26.559
what file i'm referring to

00:24:26.559 --> 00:24:28.400
already when i start typing the first

00:24:28.400 --> 00:24:30.080
three characters

00:24:30.080 --> 00:24:32.240
so that is the config file for that

00:24:32.240 --> 00:24:34.000
default page i'm disabling that

00:24:34.000 --> 00:24:36.000
essentially

00:24:36.000 --> 00:24:37.520
now it's telling me that i need to run

00:24:37.520 --> 00:24:40.080
systemctl reload apache 2

00:24:40.080 --> 00:24:42.559
for that change to take effect let's go

00:24:42.559 --> 00:24:46.799
ahead and do that and that was pretty

00:24:46.799 --> 00:24:48.240
easy

00:24:48.240 --> 00:24:49.919
so now that we have disabled that

00:24:49.919 --> 00:24:52.240
default config file for apache for the

00:24:52.240 --> 00:24:53.520
default site

00:24:53.520 --> 00:24:55.760
we need to create a new one that's going

00:24:55.760 --> 00:24:57.039
to be the config file

00:24:57.039 --> 00:25:00.159
for next cloud itself so sudo

00:25:00.159 --> 00:25:03.200
nano slash etsy

00:25:03.200 --> 00:25:06.480
apache 2 sites hyphen

00:25:06.480 --> 00:25:09.039
available and then inside that directory

00:25:09.039 --> 00:25:12.320
i'm going to call it nc.learnlinux.tv

00:25:12.320 --> 00:25:15.120
my domain and then i'm going to add dot

00:25:15.120 --> 00:25:15.600
com

00:25:15.600 --> 00:25:17.919
at the end of that file name and then

00:25:17.919 --> 00:25:19.760
i'll press enter

00:25:19.760 --> 00:25:22.320
this is a brand new file it's an empty

00:25:22.320 --> 00:25:23.520
file

00:25:23.520 --> 00:25:25.039
so what i'm going to do is paste the

00:25:25.039 --> 00:25:26.640
contents right here

00:25:26.640 --> 00:25:28.240
and you can get a copy of that yourself

00:25:28.240 --> 00:25:30.240
from the wiki article

00:25:30.240 --> 00:25:33.039
so there it is that is the configuration

00:25:33.039 --> 00:25:33.679
file for

00:25:33.679 --> 00:25:35.760
apache that enables it to serve next

00:25:35.760 --> 00:25:37.200
cloud when people visit

00:25:37.200 --> 00:25:39.600
our domain or ip address if you don't

00:25:39.600 --> 00:25:41.039
have a domain

00:25:41.039 --> 00:25:42.720
just make sure that you adjust

00:25:42.720 --> 00:25:44.880
everything in this file to match reality

00:25:44.880 --> 00:25:45.919
on your end

00:25:45.919 --> 00:25:48.960
so for example if you did not name your

00:25:48.960 --> 00:25:50.480
directory for the next cloud

00:25:50.480 --> 00:25:51.840
installation files

00:25:51.840 --> 00:25:54.720
as i did here and you probably didn't

00:25:54.720 --> 00:25:56.000
because unless you have

00:25:56.000 --> 00:25:58.480
this domain you probably named it

00:25:58.480 --> 00:26:00.159
something else just make sure you change

00:26:00.159 --> 00:26:00.559
that

00:26:00.559 --> 00:26:02.559
and that you change the server name here

00:26:02.559 --> 00:26:04.000
as well

00:26:04.000 --> 00:26:06.480
and then here i have the path to the

00:26:06.480 --> 00:26:08.400
next cloud directory yet again

00:26:08.400 --> 00:26:12.960
make sure that matches same thing here

00:26:12.960 --> 00:26:16.400
you can name that accordingly and here's

00:26:16.400 --> 00:26:17.520
well

00:26:17.520 --> 00:26:19.440
so let's save the file ctrl o and then

00:26:19.440 --> 00:26:20.960
enter

00:26:20.960 --> 00:26:23.919
and then ctrl x to exit out and even

00:26:23.919 --> 00:26:25.039
though we have created that

00:26:25.039 --> 00:26:26.720
configuration file

00:26:26.720 --> 00:26:28.799
it's not actually active until we

00:26:28.799 --> 00:26:29.919
activate it so

00:26:29.919 --> 00:26:33.200
sudo a2 and site

00:26:33.200 --> 00:26:37.360
and in my case nc dot learn linux dot tv

00:26:37.360 --> 00:26:41.679
dot c-o-n-f and then enter

00:26:41.679 --> 00:26:43.279
and it's telling me that i need to

00:26:43.279 --> 00:26:45.279
reload apache for this to take effect

00:26:45.279 --> 00:26:46.799
i'm not going to do that just yet

00:26:46.799 --> 00:26:48.240
because i have further changes to make

00:26:48.240 --> 00:26:49.360
to apache

00:26:49.360 --> 00:26:52.240
i may as well reload it all in one shot

00:26:52.240 --> 00:26:54.159
and the next thing that we want to do is

00:26:54.159 --> 00:26:55.840
configure php

00:26:55.840 --> 00:26:57.919
and this is actually the one command

00:26:57.919 --> 00:26:59.760
that differs based on the distribution

00:26:59.760 --> 00:27:01.200
that you're using

00:27:01.200 --> 00:27:03.279
so what we're going to do is edit a text

00:27:03.279 --> 00:27:04.880
file and the main difference is that

00:27:04.880 --> 00:27:06.720
depending on your distribution

00:27:06.720 --> 00:27:08.480
the text file might be in a different

00:27:08.480 --> 00:27:10.400
location so sudo

00:27:10.400 --> 00:27:13.600
nano and then slash etsy

00:27:13.600 --> 00:27:16.720
slash php 7 dot

00:27:16.720 --> 00:27:20.799
on ubuntu 2004 it's going to be 7.4

00:27:20.799 --> 00:27:23.039
for this part if you are running

00:27:23.039 --> 00:27:24.399
raspberry pi os

00:27:24.399 --> 00:27:27.600
or debian 10 in that case it's going to

00:27:27.600 --> 00:27:28.200
be

00:27:28.200 --> 00:27:32.080
7.3 if in doubt just type 7 dot and then

00:27:32.080 --> 00:27:34.000
press tab

00:27:34.000 --> 00:27:35.840
and it's going to auto-complete whatever

00:27:35.840 --> 00:27:37.440
it's supposed to be

00:27:37.440 --> 00:27:39.679
and that's literally the only thing in

00:27:39.679 --> 00:27:41.679
this entire process that is going to be

00:27:41.679 --> 00:27:42.480
different

00:27:42.480 --> 00:27:44.000
depending on the distribution that

00:27:44.000 --> 00:27:45.919
you're using between the three that i've

00:27:45.919 --> 00:27:48.640
tested this process on then inside there

00:27:48.640 --> 00:27:51.760
you should have an apache 2 directory

00:27:51.760 --> 00:27:55.840
the file we are going to edit is php.ini

00:27:55.840 --> 00:27:58.559
now inside this file there's a number of

00:27:58.559 --> 00:28:00.080
different things that we are going to

00:28:00.080 --> 00:28:00.880
tweak

00:28:00.880 --> 00:28:03.279
now the trick in nano is you can hold

00:28:03.279 --> 00:28:04.000
ctrl

00:28:04.000 --> 00:28:06.559
and press w and that brings up the

00:28:06.559 --> 00:28:09.039
search box you can see that down below

00:28:09.039 --> 00:28:11.039
and in the wiki article i have a list of

00:28:11.039 --> 00:28:12.880
all the parameters that we are going to

00:28:12.880 --> 00:28:13.840
edit here

00:28:13.840 --> 00:28:17.360
the first one is memory underscore limit

00:28:17.360 --> 00:28:20.159
i'll press enter we see it right here

00:28:20.159 --> 00:28:22.640
currently set to 128 megabytes

00:28:22.640 --> 00:28:24.240
and we're going to bump that all the way

00:28:24.240 --> 00:28:26.200
up to

00:28:26.200 --> 00:28:28.720
512.

00:28:28.720 --> 00:28:31.919
so ctrl w again let's search for

00:28:31.919 --> 00:28:33.440
something else

00:28:33.440 --> 00:28:36.960
this time it's upload underscore max

00:28:36.960 --> 00:28:39.039
and it's actually upload max file size

00:28:39.039 --> 00:28:40.480
but you don't have to type the whole

00:28:40.480 --> 00:28:41.840
thing to search for something

00:28:41.840 --> 00:28:43.200
i think that's good enough i'll press

00:28:43.200 --> 00:28:45.440
enter it's set to two megabytes i'm

00:28:45.440 --> 00:28:49.200
going to bump that all the way up to 200

00:28:49.200 --> 00:28:52.320
control w again looking for

00:28:52.320 --> 00:28:56.399
max execution time

00:28:56.399 --> 00:28:59.279
currently set to 30 and we are going to

00:28:59.279 --> 00:29:00.520
change that to

00:29:00.520 --> 00:29:03.840
360. the next thing that we are going to

00:29:03.840 --> 00:29:05.120
search for

00:29:05.120 --> 00:29:08.720
is post max size so i just type post

00:29:08.720 --> 00:29:11.760
underscore max it's set to 8 megabytes

00:29:11.760 --> 00:29:13.120
i'm going to change that to

00:29:13.120 --> 00:29:17.200
200 and then the next thing

00:29:17.200 --> 00:29:20.399
date dot time zone

00:29:20.399 --> 00:29:22.240
and it is commented out i'm going to

00:29:22.240 --> 00:29:25.600
remove the semicolon in front

00:29:25.600 --> 00:29:28.480
and at the end i'm going to type america

00:29:28.480 --> 00:29:29.840
detroit

00:29:29.840 --> 00:29:31.760
if you don't know what yours is supposed

00:29:31.760 --> 00:29:34.399
to be then just visit this url right

00:29:34.399 --> 00:29:35.360
here

00:29:35.360 --> 00:29:37.520
and see if you can find that out there's

00:29:37.520 --> 00:29:38.880
all kinds of different time zones i

00:29:38.880 --> 00:29:40.000
can't go over them all

00:29:40.000 --> 00:29:43.120
but this is correct for me next control

00:29:43.120 --> 00:29:44.559
w again

00:29:44.559 --> 00:29:48.159
op cash dot enable

00:29:48.159 --> 00:29:51.520
i will uncomment that that's all i

00:29:51.520 --> 00:29:53.360
needed to do for that

00:29:53.360 --> 00:29:55.679
op cache and turned strings buffer i'll

00:29:55.679 --> 00:29:58.000
just leave it as that

00:29:58.000 --> 00:30:01.120
there it is and 8 is the correct value

00:30:01.120 --> 00:30:03.440
but i wanted to uncomment that

00:30:03.440 --> 00:30:06.559
ctrl w again

00:30:06.559 --> 00:30:10.159
it's cash.max accelerated files

00:30:10.159 --> 00:30:13.039
i will uncomment that as well 10 000 is

00:30:13.039 --> 00:30:15.679
a good number for that

00:30:15.679 --> 00:30:19.039
another op cash value this time memory

00:30:19.039 --> 00:30:20.880
consumption

00:30:20.880 --> 00:30:22.159
which is actually right there in front

00:30:22.159 --> 00:30:24.240
of my face i'm going to uncomment that

00:30:24.240 --> 00:30:26.799
as well

00:30:26.799 --> 00:30:33.279
and actually 128 is correct

00:30:33.279 --> 00:30:39.200
and i will uncomment that as well next

00:30:39.200 --> 00:30:42.320
op cache.revalidate i will uncomment

00:30:42.320 --> 00:30:44.799
that as well

00:30:44.799 --> 00:30:46.080
and i had to search again because i

00:30:46.080 --> 00:30:47.919
pressed something wrong not sure why but

00:30:47.919 --> 00:30:50.320
anyway i'm going to change that to 1

00:30:50.320 --> 00:30:52.559
and then i will save the file control o

00:30:52.559 --> 00:30:54.000
and then enter

00:30:54.000 --> 00:30:57.840
and then control x to exit out

00:30:57.840 --> 00:31:00.399
now there's actually some apache mods

00:31:00.399 --> 00:31:02.640
that we need to have enabled as well

00:31:02.640 --> 00:31:06.320
so for that we will run sudo a2 and mod

00:31:06.320 --> 00:31:09.440
and then dir env

00:31:09.440 --> 00:31:14.399
headers mime rewrite

00:31:14.399 --> 00:31:17.679
and ssl these are all recommended by

00:31:17.679 --> 00:31:18.000
either

00:31:18.000 --> 00:31:20.159
nexcloud or things that i've run into

00:31:20.159 --> 00:31:21.760
and found that i've needed

00:31:21.760 --> 00:31:23.360
it's beyond the scope of this video to

00:31:23.360 --> 00:31:24.880
describe each of these

00:31:24.880 --> 00:31:27.279
but these are mods for apache that

00:31:27.279 --> 00:31:28.799
extend its functionality

00:31:28.799 --> 00:31:31.600
i'll press enter and many of these have

00:31:31.600 --> 00:31:33.279
been enabled already

00:31:33.279 --> 00:31:35.840
that's okay it doesn't matter if we run

00:31:35.840 --> 00:31:37.200
that command we just want to make sure

00:31:37.200 --> 00:31:38.720
all of those are enabled and now they

00:31:38.720 --> 00:31:39.679
are

00:31:39.679 --> 00:31:41.919
and now we need to restart apache to

00:31:41.919 --> 00:31:44.320
take advantage of all those mods so

00:31:44.320 --> 00:31:47.600
sudo systemctl restart

00:31:47.600 --> 00:31:56.559
apache2 and then we can check the status

00:31:56.559 --> 00:31:58.480
and as you can see it's running if there

00:31:58.480 --> 00:32:00.080
were any errors if you've typed

00:32:00.080 --> 00:32:01.600
something improperly

00:32:01.600 --> 00:32:04.320
then apache may have failed to restart

00:32:04.320 --> 00:32:06.480
but it's green it's active and running

00:32:06.480 --> 00:32:10.159
so we're good so now let's actually

00:32:10.159 --> 00:32:11.919
configure nextcloud

00:32:11.919 --> 00:32:13.679
it's partially working at this point or

00:32:13.679 --> 00:32:15.360
at least it should be partially working

00:32:15.360 --> 00:32:18.880
let's check now here i still have the

00:32:18.880 --> 00:32:20.480
default web page

00:32:20.480 --> 00:32:22.799
that's on my screen right now this no

00:32:22.799 --> 00:32:24.559
longer technically exists well it does

00:32:24.559 --> 00:32:26.720
exist it's just not enabled anymore

00:32:26.720 --> 00:32:28.640
if i refresh this it should change over

00:32:28.640 --> 00:32:31.840
to next cloud let's see

00:32:31.840 --> 00:32:34.480
and would you look at that we now have

00:32:34.480 --> 00:32:36.159
next cloud installed and technically

00:32:36.159 --> 00:32:37.279
it's running

00:32:37.279 --> 00:32:38.799
so we need to create a new user for

00:32:38.799 --> 00:32:40.640
ourselves

00:32:40.640 --> 00:32:43.120
i'll just use my first name and it's

00:32:43.120 --> 00:32:44.320
kind of hidden right here but i'm going

00:32:44.320 --> 00:32:46.000
to tab over

00:32:46.000 --> 00:32:47.519
and then i'm going to create a password

00:32:47.519 --> 00:32:50.640
for myself

00:32:50.640 --> 00:32:53.039
the data folder we can leave alone

00:32:53.039 --> 00:32:54.640
scroll down

00:32:54.640 --> 00:32:58.559
database user we use nexcloud for that

00:32:58.559 --> 00:33:00.240
and then for the password this is the

00:33:00.240 --> 00:33:02.000
password for the database

00:33:02.000 --> 00:33:04.480
that you set up earlier in the wiki

00:33:04.480 --> 00:33:05.200
article

00:33:05.200 --> 00:33:07.360
as well as on the screen you saw me type

00:33:07.360 --> 00:33:09.440
it as my password

00:33:09.440 --> 00:33:11.600
and i recommended that you change that

00:33:11.600 --> 00:33:13.360
to something secure so hopefully you

00:33:13.360 --> 00:33:15.039
have done that

00:33:15.039 --> 00:33:16.559
whatever your password is for the

00:33:16.559 --> 00:33:19.760
database you add that right there

00:33:19.760 --> 00:33:22.000
and then for the database name we set

00:33:22.000 --> 00:33:23.120
that to simply

00:33:23.120 --> 00:33:26.480
next cloud just like that and i will

00:33:26.480 --> 00:33:28.240
leave this checked right here install

00:33:28.240 --> 00:33:30.080
recommended apps

00:33:30.080 --> 00:33:32.320
and then i will click finish setup this

00:33:32.320 --> 00:33:33.919
part can take a while so we'll just let

00:33:33.919 --> 00:33:50.320
it run

00:33:50.320 --> 00:33:52.159
and now we have a successful

00:33:52.159 --> 00:33:55.120
installation of nexcloud

00:33:55.120 --> 00:33:56.960
and go ahead and go through this little

00:33:56.960 --> 00:33:59.120
welcome here

00:33:59.120 --> 00:34:00.720
i'll leave it up to you to read this if

00:34:00.720 --> 00:34:05.360
you want to

00:34:05.360 --> 00:34:07.039
and we're actually good to go but

00:34:07.039 --> 00:34:08.399
there's a few things that i recommend

00:34:08.399 --> 00:34:09.440
that you do

00:34:09.440 --> 00:34:11.119
that's going to benefit this so let's go

00:34:11.119 --> 00:34:13.599
back to the terminal

00:34:13.599 --> 00:34:15.440
so our installation will actually

00:34:15.440 --> 00:34:18.879
benefit by enabling a memory cache

00:34:18.879 --> 00:34:20.639
and one of the packages that we have

00:34:20.639 --> 00:34:23.119
installed has actually already provided

00:34:23.119 --> 00:34:24.399
us what we need

00:34:24.399 --> 00:34:26.639
we just have to enable it so for that we

00:34:26.639 --> 00:34:27.679
will run sudo

00:34:27.679 --> 00:34:32.159
nano slash var slash www

00:34:32.159 --> 00:34:35.520
and then your next cloud folder name

00:34:35.520 --> 00:34:37.119
inside there you should have a config

00:34:37.119 --> 00:34:39.679
directory and inside that directory you

00:34:39.679 --> 00:34:42.200
should have a config file

00:34:42.200 --> 00:34:45.200
config.php

00:34:45.200 --> 00:34:48.399
and we do and this did not exist until

00:34:48.399 --> 00:34:49.679
we actually set it up

00:34:49.679 --> 00:34:52.240
in the browser so we'll go to nearly the

00:34:52.240 --> 00:34:53.280
end

00:34:53.280 --> 00:34:55.359
and about right here we'll just press

00:34:55.359 --> 00:34:56.480
enter

00:34:56.480 --> 00:34:58.960
and then space a couple of times there

00:34:58.960 --> 00:35:01.359
and then i'll paste it in right here

00:35:01.359 --> 00:35:03.359
and we have installed the package that's

00:35:03.359 --> 00:35:05.599
required to enable apcu

00:35:05.599 --> 00:35:07.359
so here we're just telling nextcloud to

00:35:07.359 --> 00:35:09.280
go ahead and load that

00:35:09.280 --> 00:35:11.680
so control o and then enter to save the

00:35:11.680 --> 00:35:12.320
file

00:35:12.320 --> 00:35:14.839
and then ctrl x to exit out it was that

00:35:14.839 --> 00:35:16.640
simple

00:35:16.640 --> 00:35:19.440
so next what i recommend that you do is

00:35:19.440 --> 00:35:21.359
actually correct the permissions of the

00:35:21.359 --> 00:35:22.400
config file

00:35:22.400 --> 00:35:23.920
want to actually make the permissions

00:35:23.920 --> 00:35:25.920
for that file different than the other

00:35:25.920 --> 00:35:27.839
files and folders that are inside our

00:35:27.839 --> 00:35:28.960
next cloud folder

00:35:28.960 --> 00:35:33.359
so we can run sudo chmod 660

00:35:33.359 --> 00:35:36.960
slash var slash www

00:35:36.960 --> 00:35:40.880
next cloud folder config and config.php

00:35:40.880 --> 00:35:41.520
the same

00:35:41.520 --> 00:35:44.480
file that we were editing before and

00:35:44.480 --> 00:35:46.240
then similarly we're going to recall

00:35:46.240 --> 00:35:47.359
that command

00:35:47.359 --> 00:35:49.839
we can run ch own rather than chmod for

00:35:49.839 --> 00:35:51.440
this step

00:35:51.440 --> 00:35:52.880
we're going to change the ownership to

00:35:52.880 --> 00:35:54.560
root colon

00:35:54.560 --> 00:35:58.240
www hyphen data so effectively what

00:35:58.240 --> 00:36:00.000
we're doing is we are making it so that

00:36:00.000 --> 00:36:01.920
this config file is owned by the root

00:36:01.920 --> 00:36:02.720
user

00:36:02.720 --> 00:36:05.599
and the www hyphen data group so i'll

00:36:05.599 --> 00:36:07.200
press enter

00:36:07.200 --> 00:36:08.800
and let's go ahead and make sure that we

00:36:08.800 --> 00:36:10.400
didn't break anything let's go back to

00:36:10.400 --> 00:36:17.599
the page you can refresh it

00:36:17.599 --> 00:36:20.720
and it still works so let's go ahead and

00:36:20.720 --> 00:36:23.599
click on our name right here

00:36:23.599 --> 00:36:26.800
and go to settings

00:36:26.800 --> 00:36:28.320
and then under administration we'll go

00:36:28.320 --> 00:36:31.760
to overview

00:36:31.760 --> 00:36:33.280
and this is going to check for any

00:36:33.280 --> 00:36:35.760
issues that you might have

00:36:35.760 --> 00:36:37.359
and is telling us that we are connecting

00:36:37.359 --> 00:36:38.960
over an insecure connection

00:36:38.960 --> 00:36:41.119
we'll fix that shortly but it's also

00:36:41.119 --> 00:36:43.680
complaining about missing indexes

00:36:43.680 --> 00:36:46.240
let's go ahead and fix that back on our

00:36:46.240 --> 00:36:48.000
terminal

00:36:48.000 --> 00:36:52.000
let's run the following command sudo php

00:36:52.000 --> 00:36:55.119
slash var slash www

00:36:55.119 --> 00:36:58.320
next cloud directory occ

00:36:58.320 --> 00:37:01.520
space db colon add hyphen

00:37:01.520 --> 00:37:05.760
missing hyphen indices

00:37:05.760 --> 00:37:07.200
press enter hopefully i don't have any

00:37:07.200 --> 00:37:09.359
syntax errors here

00:37:09.359 --> 00:37:12.000
and well it looks like that worked so

00:37:12.000 --> 00:37:13.119
now the final step

00:37:13.119 --> 00:37:16.160
is to create an ssl certificate this is

00:37:16.160 --> 00:37:17.119
not required

00:37:17.119 --> 00:37:18.640
you could actually end the video right

00:37:18.640 --> 00:37:20.640
here and begin using next cloud but if

00:37:20.640 --> 00:37:22.079
you do have a domain

00:37:22.079 --> 00:37:23.760
and your server is publicly available

00:37:23.760 --> 00:37:25.599
then i recommend that you go ahead and

00:37:25.599 --> 00:37:26.960
finish this

00:37:26.960 --> 00:37:31.839
so let's install the certbot package

00:37:31.839 --> 00:37:35.440
which is python3 hyphen certbot

00:37:35.440 --> 00:37:39.200
hyphen apache i'll press enter

00:37:39.200 --> 00:37:40.960
and then i'll go ahead and accept the

00:37:40.960 --> 00:37:42.960
defaults and that will install

00:37:42.960 --> 00:37:44.800
all the packages that are required to

00:37:44.800 --> 00:37:47.359
support the cert bot utility

00:37:47.359 --> 00:37:49.760
which is actually the utility that is

00:37:49.760 --> 00:37:52.000
used by let's encrypt to facilitate

00:37:52.000 --> 00:37:54.320
obtaining an ssl certificate

00:37:54.320 --> 00:37:56.079
which is exactly what we're going to do

00:37:56.079 --> 00:37:57.680
right now

00:37:57.680 --> 00:38:00.800
now back on the web page note that it is

00:38:00.800 --> 00:38:01.440
in fact

00:38:01.440 --> 00:38:04.720
an insecure connection so this verbiage

00:38:04.720 --> 00:38:06.400
right here was not lying

00:38:06.400 --> 00:38:07.760
let's see if we can fix that with the

00:38:07.760 --> 00:38:09.920
next command so we will run

00:38:09.920 --> 00:38:13.280
sudo certbot dash dash

00:38:13.280 --> 00:38:17.040
apache dash d and then the domain name

00:38:17.040 --> 00:38:21.760
to our next cloud server

00:38:21.760 --> 00:38:23.839
which is that one in my case i'll press

00:38:23.839 --> 00:38:25.599
enter

00:38:25.599 --> 00:38:27.760
for the email address we just put in the

00:38:27.760 --> 00:38:29.440
email address where we want to actually

00:38:29.440 --> 00:38:31.440
get the notifications if there's any

00:38:31.440 --> 00:38:32.240
problems

00:38:32.240 --> 00:38:37.440
so i will type mine in

00:38:37.440 --> 00:38:40.560
press enter then i will type a capital a

00:38:40.560 --> 00:38:41.440
to say that i do

00:38:41.440 --> 00:38:44.720
agree with that notice and it's asking

00:38:44.720 --> 00:38:46.400
me if i would be willing to share my

00:38:46.400 --> 00:38:48.480
email address with the eff they already

00:38:48.480 --> 00:38:49.280
have that

00:38:49.280 --> 00:38:55.680
so i'll say no in this case

00:38:55.680 --> 00:38:58.320
and it's actually working and at this

00:38:58.320 --> 00:39:00.320
point it's asking us if we would like it

00:39:00.320 --> 00:39:02.160
to automatically redirect

00:39:02.160 --> 00:39:05.520
to https and i see no reason not to do

00:39:05.520 --> 00:39:07.359
that so i will answer with

00:39:07.359 --> 00:39:10.640
two and then i'll press enter and we're

00:39:10.640 --> 00:39:11.760
good

00:39:11.760 --> 00:39:13.920
and i also want to make sure that apache

00:39:13.920 --> 00:39:16.079
is refreshed this might not be necessary

00:39:16.079 --> 00:39:16.800
but i will run

00:39:16.800 --> 00:39:20.320
sudo systemctl restart

00:39:20.320 --> 00:39:23.599
apache 2. let's check the status make

00:39:23.599 --> 00:39:27.119
sure that that is working

00:39:27.119 --> 00:39:31.200
and it is q to exit out of that

00:39:31.200 --> 00:39:33.359
and back here let's refresh the page and

00:39:33.359 --> 00:39:38.000
see what happens

00:39:38.000 --> 00:39:40.000
we have the green padlock here so we

00:39:40.000 --> 00:39:41.520
know that the certificate has been

00:39:41.520 --> 00:39:43.280
successful

00:39:43.280 --> 00:39:45.839
and we do have a warning here about the

00:39:45.839 --> 00:39:48.400
strict transport security setting

00:39:48.400 --> 00:39:50.400
you can go ahead and check that out if

00:39:50.400 --> 00:39:52.480
you'd like but i think at this point

00:39:52.480 --> 00:39:54.640
you have a next cloud server it's

00:39:54.640 --> 00:39:55.680
working

00:39:55.680 --> 00:39:58.880
it's secure it's awesome everything was

00:39:58.880 --> 00:40:02.240
a complete success

00:40:02.240 --> 00:40:05.200
so there you go i hope this process has

00:40:05.200 --> 00:40:06.720
been a success for you

00:40:06.720 --> 00:40:09.119
and you now have your very own next

00:40:09.119 --> 00:40:10.160
cloud server

00:40:10.160 --> 00:40:12.000
i love working with nexcloud it's one of

00:40:12.000 --> 00:40:13.280
my favorite open source

00:40:13.280 --> 00:40:16.160
applications and it's awesome to be

00:40:16.160 --> 00:40:18.480
empowered to run your very own cloud

00:40:18.480 --> 00:40:20.319
where you call the shots

00:40:20.319 --> 00:40:22.720
which i think is exactly the benefit of

00:40:22.720 --> 00:40:24.400
running nexcloud

00:40:24.400 --> 00:40:26.480
now be sure to subscribe to my channel

00:40:26.480 --> 00:40:28.240
if you haven't already done so

00:40:28.240 --> 00:40:30.319
i have some awesome content coming very

00:40:30.319 --> 00:40:34.380
soon and i will see you in the next

00:40:34.380 --> 00:40:36.839
[Music]

00:40:36.839 --> 00:40:41.520
video

00:40:41.520 --> 00:40:50.839
[Music]

00:40:50.839 --> 00:40:54.390
so

00:40:54.390 --> 00:41:00.160
[Music]

00:41:00.160 --> 00:41:02.240
you

