Welcome to PC Mac today
We are talking about the cloud service or we can say the open
Source cloud service through which we can create our own?
data cloud on which we can save our
personal information and we can access that from outside our network as
You all know that there are lots of paid service going on. So we are using raspberry pi 3 B and
creating our own personal cloud
So let's do it
Before we start I would like you to go ahead and click on the subscribe button
It's free and you can just go ahead and click on the balalaika of my latest videos. So let's get started
First of all, let me just go ahead and connect to my raspberry pi
By using the remote
Desktop connection. The command is MST SC and
My raspberry pi is on
192.168.1.2 it we can check with the wireless network watcher at scipy address
It's right here that has verify it would close it and then try to connect
So the default name is PI and the password is raspberry
So you can also use your Raspberry Pi with the help of
xrdp connection
If you want to set up your xrdp connection on your ass verify the video link you will see right now on the top
right corner
Now let's start
installing our
Next cloud on our ice verify. So first of all, we need to open terminal
Let me just make it a little bit big
So first of all, we need to create a static IP for our Raspberry Pi so the IP address will not change
Once we like real
Restart our PI or we turn it off and turn
It back on on next day right now the raspberry pi is on DHCP. So we are going to create a static IP address
for our Raspberry Pi as we can see in the wireless network watcher the IP address of our Raspberry Pi is 88 so we will
create a static IP of
That series. So let's go ahead and paste the command right here
So we need to add it this particular file. That is DHCP CD dot config. And the location is ATC
Right here. So we are going to add it this file. I already added this file
I will show you how you can do that. You just need to
Go down
And as you can see here
For static IP configuration
You need to
Use the interface
Ethernet zero and the static IP address that we found on wireless network watcher. You need to put this address right here
192.168.1.1 you just need to provide this static router
That is
192.168.1.1 and similar to that the domain name server. The dns is similar
192.168.1.1 and
That's it this is for the ethernet if you want to do the same thing on the Wi-Fi as well
you need to do the same thing and
Uncomment these three lines one two, and three and this interface
So you just need to uncomment these four lines?
Two three and four and then put your IP addresses right here, this is the IP address of your router
192.168.1.1 and this one is
Again the router static IP address 192.168.1.1
And here is the IP address for our raspberry pi
192.168.1.1
So you just need to uncomment these boxes how you can find out the IP address is
the first thing is
wireless network watcher once you added these
Changes on this file. You just need to press
Ctrl + X to exit and you will be exited out
It will ask you to click on Y to save the changes
so you just need to select Y and hit enter to save the changes and
you can also go ahead and check if
Config command and you will see right here the Ethernet is
192.168.1.1
88 IP address and that's that one is static so it will not change
Every time you turn on your Raspberry Pi it will ask for the 88 IP address because it's on the static IP
So let's go and clear it
and going to the next step to
Update our Raspberry Pi. So the first command that we need to type is
sudo
Apt-get update
Then once this command complete we will go to an upgrade so
Right now we are on the latest package of the raspbian
Stretch image now we can go ahead and start installing
The other required packages for next cloud
The first thing that we need to install is the Apache server and the next thing that we need to install
Is the playtest version of PHP?
So let's go ahead and do it. So to install the Apache the command is sudo apt-get install
Apache2 which wouldn't start installing it
So the Apache servers installed on our computer successfully
Now let's go ahead and check and
Try to install the PHP on
Raspberry Pi so to install the PHP with its other packages the command is
Sudo apt-get install PHP
7.0 PHP 7.0 Gd
SQLite PHP 7.0 SQLite PHP 7.0 Curie
Than PHP
7.0 step and the XML and MB string, so that's good and hit enter to install all these packages
Then we need to press CS
Now the PHP is also installed what we need to do now is
To restart our Apache server and check whether the patch is successfully installed or not
So do restart the Apache
the command is
Sudo service Apache to restart now. We will check here in our web browser
That the Apache is working or not to check whether the Apache server is working or not
We need to type the raspberry pi IP address that is
192.168.1.2 8 and hit enter and as you can see the default Apache page is right here Apache 2
Debian default page
So, let's go ahead and close it now
So our apache is installed and
The PHP is installed that is useful to host the next cloud web page or you can say the whole
next cloud on a
raspberry pi
Now we will go ahead and install our next cloud on the raspberry patch. So let me clear it from here and
We'll start so to install the next cloud. We need to first of all navigate to the correct folder
so we
Need to go here. That is ver
Wwhd ml
So we need to move to this folder as you can see now. We are in where?
www
And that is the HTML folder in which we are right now. So in this folder we are going to install
our next cloud
so we will be able to
open the website on our computer or the
Devices that are connected in the network. So the command to install the next cloud is
So the command is right here curl
HTTP colon forward slash forward slash download dot next cloud.com server release
next cloud 13-point 0.4 dot dot bz2 and
Then you just need to hit enter
and
It will start installing the image
So right now the image is installing and that particular folder that is the HTML folder
That will host the website of next cloud and
We will be able to see that on a computer or any device that is connected in our network
in later part of this video
I'll show you how you can access your next cloud from outside your network
It will take a moment to install the next cloud because it's a really big package
Now the package is successfully installed on our Raspberry Pi the next step is what we need to do is
we need to create a folder a data folder where we are going to save our
Personal information or the data the important data on the cloud. So to do that the command is
sudo mkdir
- P /var
www forward slash HTML and
The latest folder that is created here is next cloud and in which we are going to create the folder. That is data
So let's go in hit enter to create the folder
once the folder is created then we need to provide it the permissions for
Read and write
So for that we need to type some commands
So first of all, we need to provide the permission
for accessing our next cloud that is
www.hyken.com
To successfully
Establish the command now the next command will provide
the permission for read and write on the data folder
So as you can see this command provide the permission to write on
The next cloud on the data folder right here
Let's go ahead and hit enter and it's done now. So let me just go ahead and minimize it
And let's go and try to open our next cloud and check whether it's working or not
So to access our next cloud we need to type the same IP address with forward slash next cloud
And then hit enter
And as you can see we are able to successfully log into our next cloud account as you can see
It's right here. So the first thing that we need to do is to create an admin account right here
Let me just go ahead and create an admin account. So my username is
PC Mac
And the password that I want to create is
Make sure that you create a secure password by using a special character and
Capitalization with numbers
So, let me just go ahead and click on finish setup
So it might take some time depending upon the internet speed and the raspberrypi speed
Now as you can see
the next cloud is successfully installed and we can download the apps on Windows PC on
Android and as well as on Apple so you can download these apps on your phone or on your computer to access your own cloud
So, let me just go ahead and close it
And as you can see, all the folders are right here, so it's somewhat
Similar to Dropbox and other online services, but it's free and open-source
So you can go ahead and install it on your Raspberry Pi and you can access it
so let's quit and check whether we are able to access it on our computer and
on our mobile
devices or not
Let me just minimize this one now
Let me just check on my Windows 7 computer that it's able to that we are able to access
Our next cloud or not
So the process is same the IP address of the Raspberry Pi and the next clout and hit enter
And let's check as you can see admin is right there. Let's just go to login
I'm typing the wrong username
Let's try to log in now
And I'm successfully logged in from here, let's wouldn't save the password as well
Now I'll show you with my forms as well
That we are able to access the own cloud or not
so, let me just go ahead and open my
Android device and then check that I am able to open my
Let's try to download the app and then we will check that we are able to access the next cloud or not
It will take a moment. So let's try to download the apps on my Windows Phone as well as on my
Android phone so
for
The windows as you can see my phone on the left side of the screen
Let me go ahead and open this store and on my android. Let me just go ahead and open the Play Store
Then let's search for
Next cloud
Let me just go ahead and open the app here and here is really
So I have already installed the apps on both of my phones
Android one and the Microsoft
so let's go ahead and launch it on Microsoft and on my
Android as well. So as you can see had asked him for the server address on both the phones
So let's go ahead and provide it the address of our Raspberry Pi
192.168.1.1 and here is the same thing that we need to do is put next cloud in front of it
Let me just start it on my android and the same here as well
192.168.1.2 it forward slash next cloud
It's asked for the username in the password on my
Windows Phone
Let's try to connect on both the phone on the Android one it one to the grant access for Xiaomi
Let's go and grant the X's as you can see. We are successfully logged in on our
Microsoft device, let's just go ahead and
Try to use it on
Android as well
So I'm successfully logged in here as well on my Android device it has some permissions
we need to allow them and you can see it's also access the same information here the documents photos and
The next cloud mp4. Let's just try to play it on the
Microsoft one and we are able to
let's try to download it on this phone and
I will try to download the same thing on Android as well
Let's just try to download it right here
And
The same thing here. Let's try to download it
So the file is downloaded on my
Microsoft device, let's check whether we are able to play it or not
So the video is successfully downloaded and played now and
Here as well. It's downloaded and played on both the devices as you can see and this is
For the local network now, we will try to connect it
To access from outside our network. We will try to configure it
So we can access it on from a different network right now
All the devices are connected to the same router. So we are able to access all our files right now
We can move the files. We can download the files as well. Let's try to
Move some file here and check whether we able to do that or not. Like it's working or not
So on the
Microsoft we just need to
Upload some files from here. Let's just go into
This device and then pictures try to move some pictures
And we'll check the speed as well. Let's just try to move one picture
I believe the picture is successfully uploaded and it's just check. Let's try to refresh
And as you can see the picture is right here I can access it on my
Android device and
Let's just go and try to upload something from here as well
Let's try to upload upload a big file of 178 MB and check whether it's working or not again
So you can see the file is moving
And I believe this speed is good in the local network. We will go ahead and test it on
When we are on the other network and we will configure our next cloud to use it from outside the network
In between just let me log in here and check whether I'm able to see the file here or not
so it took around two to three minutes to upload the
178 MB of video it depending upon the speed of your router as well
how much it will provide you to upload how much speeds will provide you to upload any file on the network and
Depending upon how much devices are connected to the network as well
So the file is successfully uploaded let's check whether it's uploaded here or not
Let me just go back here and refresh
And as you can see the file is right here
it might take some time here to
Show up, so I need to refresh the page and as you can see
OpenVPN dot mp4 is right here on both the devices. So the file is successfully downloaded as well and
Successfully uploaded as well a huge file
so let's go ahead and
close it now and then we will try to move to the next step of
Connecting our
Next cloud to our router and
we will make some changes to our router settings so we can go ahead and access our
Next cloud from outside our network
