Low oven a welcome to the section of the course in the section we're going to get started with creating
and hosting your own deep web or Anniyan Web site.
So basically in a nutshell I'm going to be showing you how to create and host your own DEEP WEB WEB
SITE.
So what I'm going to be doing in this video is just showing you the process.
We're going to be using Linux more specifically we want to you can use any other Linux distro you want
and that's what I would recommend because they are and manageable instead of using Windows you could
do it with Windows but I'm not going to go into that because it's a really really tedious process and
again you're basically going to be turning your computer into a server and you don't want it to be running
Windows.
Trust me.
So I'm going to be using a window and running this on my machine right now.
So let me just open up a terminal.
This is how we get started.
So open up a terminal and you want to enter it.
All right.
So I'm going into router now so that sudo bash won't enter my password.
All right.
If you guys have a password enter it and it should grant you access.
Now first thing we need to do is we need to install the Tor unit or the unit package for Linux or apt
not the browser or unique package.
Apt get install Tor.
All right.
And he's gonna ask you to install it.
And if you want it installed it when it just complete.
I've already have it installed so I don't need to go through that.
Once that's done with we're gonna have to browse through to a few directories here.
So what you are doing is you.
If you are not familiar with the Linux command line just follow me along.
It's the same process but for those of you who are accustomed to how the Linux terminal works you will
get the idea.
So we're going to change the directory to CD and to the ETSI or EDC folder and it's going to open and
let me just list the directories.
All right so we're going to then move into the c d c tor I believe.
If you've installed all this folder should exist or it's all there it is.
You then want to use a text editor to edit the D Tor cease the Taurasi file right here.
So I'm going to use it if you're running Linux.
They should come pre-installed on on on Windu if you're using a Khalilah Next use the leaf pad or if
you want to do it through the terminal you can use none of the vim editor.
So what we're going to get started with is added at the door.
See this is the file we want to edit right here and add something there.
So I'm just going to open that up and it's going to open up that file in this next document full of
not.
As you can see on a scroll all the way to the bottom all the way to the bottom and you want to enter
these two lines here.
So I'm going to get rid of them and I'll show you.
Whoops.
Scuse me I'm going to get rid of these two lines and get rid of them all right.
So basically what we have to get started with now to what we have to end in now is the following.
All right so we have to just follow for follow along as I type.
Right so you're not typing me just see if I can just stay hidden.
All right so make sure that you don't leave a hash before because you want to actually activate this
command.
So just just copy what I'm doing.
Hidden service directory just the way I've been treated it.
VAR.
You understood this in the var var library Tor and the groups or hidden your hidden underscores of this.
Right.
So once that line is done we can all go to the next line and we want to type in here in this port.
All right.
And so is port 80 because that's the default A.D. for those of you in custom Toinette.
What can you understand this.
You know I wanted to get your IP address right now Ali explains only about this.
So just open your terminal.
Another terminal if you can and just type in I ifconfig is using Linux and it can zero on any Linux
distro and you want to go to the current network adapter and if you want to go to the next section right
here and you want to just copy this.
This is will be a public domain your private your local IP address.
In order for you to host this to the whole entire planet meaning globally share this Web site and hosted
through your machine you'll basically give it your real IP address or set up a server.
But to demonstrate I'm just going to be using my local IP address.
So that's that's the one that I'm using to copy it.
So after the 80 give us space and paste that are all right you then want to end the colon and 80 sorry
80 again.
All right so once that's done those are the two lines that we needed to enter.
So let's just save that right.
So that said close this file and we can open up the terminals again where we are working.
All right so let's clear that.
Now we want to stop that door service.
All right.
So this is why you say we need to install the door unit so the install the door service.
We just want it service again for those of you were accustomed to the Linux command line you know how
to start this stuff.
So the service all start all right and is going to start that also is if you install it next what we
want to do is we need to install Apache to Apache do is a lifesaver for those again or you walk us into
web development will understand what Apache is for.
Just great a local host where you can access your web site and edit it et cetera et cetera.
So to do that you just wanted app install Apache to write.
And as you can see I already have it installed but yours if it's not installed is going to install it
for you and you you're basically ready to go.
So next thing you to do is hit service Patchi too.
And we want to start it right there.
So that started now.
Now what we can do is we need to go.
We need to browse into our into default is that we have set so to do that I'm going to just hit not
less.
Not unless it's a root file browser or file explorer.
So I'm just going to open the Nautilus.
All right.
And it's going to open my file explorer so I'm going to go into the hard drive where window is installed
and we want to go to this directory.
So you want to go into var.
All right.
Var library Torigoe going to talk.
So this should be done here.
Tor and you underground hidden service and the host name.
All right your hostname is basically your deep web link your onion web website link.
So just leave that open and now we can go back go all the way back to your hard drive and you want to
go into var.
All right.
And W W W and your HQ Melissa this is your apache folder and this index which is your actual Web site
source code.
So let's say we wanted to create a test site.
I'm going to open a text editor I'm going to be using atom because I am also a web developer.
So you guys are obviously accustomed to web development.
There should be no surprise for you.
So let's create a new file and let me just say this as I'm going to say that on my desktop an index
is going to be a very simple website index that HMO.
I'm going to say that right.
And let's let's just get let me just into the index.
All right so there we are.
I'm going to click test the Web site.
This is the that's the title of the Web site in the body I'm just going to create a container div container
and let's call this world the web site.
We're not using bootstrap So I really can't stellite much more than that but this is just a simple web
so we can give it some simple scaling some in an internal styling style is equal to.
You guys don't have to do this because when you'll be creating your own Web site it's all up to you
just basically creating a text web site Gimel file so you can actually I can just show that it works.
So this you're going to say welcome to Web site.
And this this site was created for the web.
All right.
So I'm going to I'm going to save this and we can exit.
Now we're going to get rid of this index which I'm going to move it to the trash.
And we're going to move in the one we've just created which is in the vire W.W. NHT mail folder.
I'm going to copy it in there.
So once that's done we are almost getting to where we want it to get.
Next thing we need do you need to download the Tor browser the actual Tor browser as I showed you guys.
So basically what you want to do is just open up your browser and search for Tor Tor.
Simple as that.
And you know it's going to take you to the Web site right here.
Just click on that Web site and just download.
And again you can just select your architecture right here using the next or this or downloading the
next version.
And now I'm going to open my file explorer right here and when I get to my downloads I already have
the browser extracted.
So I have to do just that Tor browser and hopefully it should start the browser and again we can basically
paste the link to our Web site which hopefully should be running because of the Apache so that all browser
start up the area.
Now I'm going to just copy the link that belongs to our website.
Let's copy this and paste this in.
Go and hopefully it worked through the and the Apache.
We should get there.
So they will come to this Web site this website was created by the Deep Web.
And if you see we can basically this is what we wrote and that's the basic with page.
So as you can see this is an onion Web site and this is the basic web site really really very simple
and a meaningless website.
But you guys get the idea.
This is just showing you how to go about setting the environment up and basically creating a test web
site and how to basically set up a Patchi.
So that's basically it for this video guys.
It's not really that complicated but as you can see it's totally worth it and it does work.
So if you guys have any questions at all about anything that we have done in this in this section just
let me know in the Q&A section of the course.