In this tutorial we are going to see how to publish a web page (HTML/CSS/JavaScript) on a VPS server and using the System Ubuntu Server operating, from the Oracle platform (OCI Oracle Cloud Infrastructure) in just 20 minutes. From the acquisition of the VPS server in OCI to the publication of the web page on the server. It is implicit that you already have your website. Well, in the tutorial we created a simple one.
What software do we need to carry out this tutorial?
Since we are going to use Ubuntu Server (Linux System) we will need these programs compatible with Windows.
Acquisition of VPS Server (Instance) in Oracle (OCI Oracle Cloud Infrastructure) We will acquire a VPS server (Instance) and configure the input ports 80/443 (Http/Https) We will configure Putty a unique key for access to the server. This way it will be totally safe.
Server access Using the program Putty we will access the server. Once inside we update it and We removed the IPTables which we all know don't play well on the Oracle platform.
Apache Web Server We install and configure the Apache web server.
We point the IP to the domain at CloudFlare Here we must point the IP to the domain "java-programming.juanantonioripoll.es" on the platform CloudFlare
Let's Encrypt Digital Security Certificate We install, configure and obtain the Let's Encrypt certificate for the domain "java-programming.juanantonioripoll.es"
Installation and configuration of PHP 8.2 We install the version of PHP 8.2
Publishing the web page on the server Using the program FileZilla we are going to publish our web page on the server. First we will grant permissions to the user on the server. We test the website.
Follow the steps from left to right, correlative and don't get lost. In just 20 minutes, you have a web page published on a VPS server Oracle (OCI Oracle Cloud Infrastructure) on Ubuntu Server. You just have to replace the domain "java-programming.juanantonioripoll.es" with yours.