Host Your Website For Free on Oracle Cloud Free Tire VPS with Hestia Panel

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video i am going to be showing you how you can set up 24 gb of ram and 4 cpu cores vps free for your entire lifetime yes that is right for your entire lifetime you don't need to pay anything for this oracle cloud free tier oracle is a very big company so you can really trust their service if you want to know more about this oracle cloud free tier you can visit these docs i will make a separate video where i will explain the terms that you should know if you are using this oracle cloud free tier now when i started building my virtual machine on oracle cloud i was shocked that there is not a single video on the internet which shows you the total process if you watch this one single video you won't need to go for any other resource i will be making some other supplementary contents like which topics you should know about oracle cloud free tier what are micro instances or arm processors or what is 3000 ocpu or what is 18 000 gb hours per month for free if you are using this free tier then you should know these technicalities so that you don't go beyond your limits if you are inside the limits then you can use it for your lifetime you won't need to pay anything i will provide the link of the q a video in the description so in this video we will make our own virtual machine and use it as a vps and set up our website on that vps and run that so you can follow the steps and you can get your own vps too so let's get started to get started you need to come to this page just google oracle cloud pre here and the first link here is the link that you need when you come to this link click on start for free then select your country i live in bangladesh so i will select bangladesh and then i will be putting my name then my email address this is my email address and now i have to prove that i am a human wow so let's pick the lines and verify then this button will be enabled to verify my email and i will click on this okay oracle cloud has sent a verification link to my email address so i will be going to my inbox this is the email that i have got and i will click verify email then i don't need to do anything above because everything here is done then i need to give a password let's use this password okay confirm password has also been taken then company name this is though this is optional i am providing my name uh then cloud account name this is the user id so i can you can keep it default or you can select another one but my suggestion is you just keep it default that's fine then home region this is a very important term uh home region means where your files or where your vps will be stored or hosted so they have different data centers around the world you can see they have many many many data centers so you can select one of them i will be selecting us east ashburn you can select anyone whatever you want then just click on continue now the you just need to give the address i will uh my address is dhaka bangladesh then my city is also dhaka state is also dhaka yes that is weird i think then my zip code is 12 05 province that's optional then my phone number i will be providing a phone number and then continue okay now the important part you need to add a payment verification method yes that is mandatory because they are also running a business so they need to know that which clients are actually going to pay them in the future so they have added this verification method uh they only allow credit cards uh they don't allow paypal or prepaid cards i have tried prepaid card but that didn't work so you will need to add a credit card okay so then when you come to the screen provide your name first name last name address address to though this is not necessary optional of the easter marked are mandatory then select which type of card you are going to use i used the visa one then provide the card number and expiration month expiration year and cvn i have just one credit card and i created my account you just need to provide the card number month year and cvn and then click on finish if your card is okay then oracle cloud will automatically set up your account you won't need to do anything else when you click the finish button you will be you will be redirected to this page you can see that i have got 400 singaporean dollar in the free trial this is valid for just the first month as i was not pushing my limits so i still have those 400 singaporean dollars and after and after the end of 30 days those credits will also end but i can still use the always free resources and create the 24 gb ram and poor cpu vps to create a vps uh just come down here and click on the create a vm instance you can see that always free is eligible here there are other resources here also but now we will be creating a vm instance just click on create fvm instance then let's give it a name i will be calling it ampere because i am going to use the arm processors then you just need you don't need to do anything here then placement or you don't need to do anything here also just leave it default then we need to select the image and shape image means which operating system we are going to use and shape means how much ram and cpu we are going to be using from our free resources then i will be selecting a canonical ubuntu here and the version i want to use is 20.04 i could be using 22.04 but i want to use 22 20.04 because many softwares don't support it still don't support 22.04 so i think it's better to use 20.04 then just click on select image okay then we need to select the cpu course we have two types of cpus available in the always free resources one is the ampere one you can see that always free is eligible here and another one is the micro instances where you get uh 0.480 gbps of bandwidth and one ocpu and 1gb of memory but i will be using but i will be using the ampere one because here you can we can use 24 gb of ram i will be selecting this and i want to select force cpu cores you can see that 24 gb of ram is already selected now we just select this shape you can see that for ocpu 24 gb of memory and for 4 gbps of network bandwidth that is really huge you don't need to do anything with the show advanced options then just come here uh in the networking section here you also don't need to do anything for me uh oracle has selected a virtual cloud network that i had created previously but if you hadn't create any vcn or virtual cloud network then there will be create new options selected i thought of showing you both of them because maybe you have played a little bit about oracle cloud and created a virtual cloud network so i thought let's show you both of them after this we need to create a ssh key just click on save private key and save public key and this will be done and then boot volume uh oracle don't allow you to select custom boot volume the the default boot volume is 46.6 gb that is more than enough for hosting a couple of websites you can post like 20 30 websites here then encrypt this volume with this key don't you don't need to do anything here then click on create so oracle cloud is provisioning the virtual machine it will take a few seconds meanwhile let's download putty we need putty to communicate with the virtual machine which is hosted somewhere else just search for putty download then click on the first link by the way this is a totally free software to you so you don't need to think anything just create click on download putty and click on 360 bit 0.77 installer dot msi this may take a couple of minutes to download so our party is downloaded and in the oracle cloud we can see that our vm instance is running that's really great now we need to set up a control panel on the on our vps that can handle all of the tasks like database and other things now we need to do a little bit of networking also uh come here uh in the networking section and click on virtual cloud networks okay i had already created some virtual cloud networks which i were using before but we need to know which vcn is our instance is using so let's again come back to the instances in the vcn you we can see that we are using the 1535 let's again go to the networking then virtual cloud networks and then 1535 we need this one then we then you need to click on the subnet so in the subnet we need to open some ports that we are going to be using come to the security list and here we will be adding the ports you you can see that i have added a lot of ports to my virtual cloud network for you port 22 will just be added and you need to add other ones i had added these ports for various kinds of reasons but you don't need to add all of them you need to add http port 80 https port 443 then port 21 for ftp and and port number 8083 and 2083 we are going to be using htr panel because that's really amazing i tried double panel cyber panel but those are really problematic but hdr panel is really great so we'll be using html so you need to add four ports http which is port number 18 https which is port number 443 and 8083 for html and 2083 this one is also for htr panel if you are using it with cloudflare to add a port you just need to click on add ingress rules then click here zero point zero point zero point zero slash zero then port i will be uh i will be showing you port number 80 which is for http port 80 and then description this is optional you can write anything here i will be writing http this is like a comment then click on add ingress rules in this same process you need to add port number 21 port number 8 port number 80 port number 8083 port number 2083 and and port number 443 because this is for https because we are going to be using https in our website okay now let's come to putty we have already downloaded putty then just install it like any other software i have already installed it then you need to come on here and and look for party here is party then firstly you need to click on patient okay then then click on conversions then import key and we had downloaded two keys from oracle one is a public key and one is a private key then just click on the private key this one and then select open you can see that our key has been imported then just click on just click on save private key click on yes i will be naming it ampere then save close this you can see that we have got our dot ppk file and we need this after this again let's go to party and click on this time click on putty now come to the oracle cloud and let's go to the vcn virtual cloud compute instances and we have this one running and here you can see that we have got a private ip address we need this private diagram address and then paste it here we named our virtual machine ampere so we'll be writing ampere this is our username of the virtual machine and then right at the rate then click on sh out out then click on browse and and select this private key which we have converted through patient click on open and then again come to sessions and let's save it we'll be naming this amp here and then click on save click open if you see this window appearing then just accept it this can take a couple of seconds so there is some problem actually let's close this session and let's open party again and again then and then load ampere which we created previously and we need to add ubuntu here because we have installed ubuntu and the ip address will be the public ip address let's change this public ip address and save this and now we can load we can open it yes we have connected to our virtual private server now let's see uh pre minus m can see that we have 23 988 mb of total memory which is ram which is uh equivalent to 24 gb of ram and we have used only 234 mb so we have successfully created our vpa server now we will install htr panel on it to install hdr panel we just need to paste use three lines of code first we will access the super user for that the code is sudo seo and then space minus you can see that the dollar sign has converted into cash and there is root at the right ampere so now we are the super user then i will use another command which is ufw disable after you run this command if you see command not found then don't worry that's also fine we need to use another command which i am pasting here to paste in this window is really easy you just copy it and you just right click here and it gets pasted i will provide the link of the codes in the description box let's paste enter and now i will make the screen a little bigger and then i have pasted the next code and here you need to provide your email address that you are going to be using to login to hdr panel and the password you will use to log in there and also the address you are going to be using to access that like my main website is folder.com and i will i want to access hdr panel at hcp.follow.com so i have added it here your domain can be abc.com you will just add hcp.abc.com and then paste enter we can see that hdr panel is installing it will take a couple of minutes to install i will catch you when it gets installed you can see that hdr panel is completely installed for future references you should copy these texts so i am copying this and using ctrl c and then i am testing it here hdr panel has said as that the admin url is this one so i will just save it and again i am going to open party and you can see that here are some arbitrary codes you don't need to worry about them i accidentally pressed some key that's why these errors have come you don't need to think about that the next code is this one we will just enter this well it says we change system port command not found because we need to reboot the system first sudo reboot okay then we just press ok and our system is rebooting it can take 30 second to one minute to reboot the system we will just wait for the time and we close party again and then we again open putty and we load amp here and let's open it okay our system has rebooted successfully we again need to change to super user sudo seo minus so we have entered into super user and then we will paste the code first let me just resize the window and we can paste it yes now it is working let's just first log into our hdr panel so this was our address so i will just copy it and then i will come to my browser and paste it here and we change the port number 8083 to 2083 because we may sometimes need to use cloudflare cloudflare doesn't support 8083port so we changed it to 2083 and then press just enter so the connection is on private actually so just come here and proceed to the ib address and yes we have successfully come into our htr panel so according to htr the username is admin and the password that we chose so the username is admin next and password i provided password and then just login yes we have successfully logged in to our account so now it is mandatory that you create a user in the htr panel so i will just click on add user then give a username and name email address and a password i have provided all the credentials and i will click on send welcome email though this is not mandatory you can skip it and then just click on save so we have successfully added the user you can see that here we have two users now we need to configure the dns of the domain remember we added hcp.folder.com while we were installing htr panel now we need to configure that domain i bought that domain from namecheap.com namecheap is a renowned hosting and domain provider their service is really good i have been using namecheap since last year their customer service is really really impressive you can knock them anytime and there is a customer support agent always ready for you to give you service i will just login into my namecheap account if you are planning to buy a domain or hosting you can get it from namecheap i am providing a link below in the description box through which you can find the best offers available on namecheap i will also make a video on namecheap coupon codes and link it in the description so you can see that i have this domain here now i will click on manage and then you can see that i am using custom dns but i need to use namecheap basic dns custom dns means if you are using cloudflare or other third-party dns providers then you will need to use custom dns if you are using namecheap web hosting then you will have to use namecheap wasting dns as i am neither using namecheap wasting nor any custom dns i will select namecheap basic dns and save it then you need to go to advanced dns here you can see that i added previously some credentials so i will delete them so delete this one delete these two so first i will click on add new record then we need to write here at the rate this is for the root and ip address the ip address is the public ip address so i will copy it and paste it here and save it let's add another a record select a record and here i will give the domain name which is polaroo.com and i will provide the ip address here and save it also and another one is and we are using hcp subdomain so we need to add another a record for it hcp and we will again paste the ip address here and save it there is a cname record so i will delete it to show you how to add it so click on add new record then here you can find the search name records paste your www and so this is for www redirect and we will paste here poldru.com you will use your domain name and save we are done the system may take a couple of minutes to add these credentials as per my experience that namecheap is very fast in this purpose it adds it in one or two minutes that's why i like namecheap a lot now let's go to putty and paste this code here and before you hit enter make sure that you are a super user if you are not a super user then just run this code is sudo su minus if there is a dollar sign then you are a normal user and if there is a hash sign then you are a super user you can see that the last one is a hash sign so i am in the super user mode and i have pasted this code and i will hit simply enter this may take a couple of seconds the job is done now we can access htr panel with our domain so we will now type here hcp.folder.com is to the port number 2083 and we'll hit enter bullseye you can see that our ssl is activated and we can log in with our domain name i will give the username and the password and hit on login now i will login to the user that we have created so i am logging into it then we will add our domain so our domain is polar.com the ip address is default and we will just save it we will go back now we will edit it we will add sl to this domain also to add an sl we will just click on enable ssl for this domain and then just select use let's encrypt to obtain ssl certificate and then click on save this also will take a couple of seconds so you can see that changes have been saved now we will install wordpress on it to install it we will click on quick install app and then we will select wordpress and click on setup i will provide my name here my email address here and click on generate password i will copy it for further reference and then click on install this will again take a couple of seconds you can see that wordpress app was installed successfully so now if we go to a new tab and type polo.com you will see that our wordpress website has been set successfully amazing hope you have understood how you can set up your vps and setup wordpress website on it with hdr panel and oracle cloud free tier if you like this video click on the subscribe button and give it a thumbs up
Info
Channel: Fahim Shahriyar
Views: 24,361
Rating: undefined out of 5
Keywords: Oracle Cloud, 24GB RAM 4 CPU, Always Free, VPS Hosting
Id: EnPLxt6gcVs
Channel Id: undefined
Length: 33min 39sec (2019 seconds)
Published: Sun Sep 18 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.