Skip to main content

Posts

Showing posts with the label linux GUI

Install and configure free secure SSL certificate in NGINX web server in Oracle Linux cloud

SSL certificates are used to secure our website and encrypt the details sent to the server. We will use a free self-signed SSL certificate and configure the SSL certificate using the NGINX web server. We need the oracle Linux cloud instance and NGINX server up and running. This step is prerequisite for this tutorial. Please refer to below link to install the oracle Linux and NGINX server. https://www.tech4learners.com/2022/01/how-to-create-linux-instance-with-24-gb.html https://www.tech4learners.net/2022/01/install-nginx-web-server-in-linux-cloud.html Once your compute instance and NGINX are up and running, proceed with the following steps. First step is to create PRIVATE / PUBLIC keys using the openssl command. We are using the RSA algorithm as an encryption method.  Replace the <IP_ADDRESS> with your Linux instance IP ADDRESS. sudo openssl req -new -x509 -days 30 -nodes -newkey rsa:2048 -keyout private.key \-out public.crt -subj '/C=US/ST=Ca/L=Sunnydale/CN=<IP_ADDRESS...

How to install NGINX web server in oracle Linux cloud instance?

  Step 1: Login to oracle Linux instance using SSH client. Step 2: Enter the NGINX installation command as follows. > sudo yum install nginx If you face 'No package nginx available' error, we need to install the 'EPEL' repository. To install the EPEL repo, use the below command. > sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm We can install NGINX server once EPEL is installed . Enter the command  'sudo yum install nginx' again. Wait until the installation is complete. Step 3: We need to start the NGINX server once the installation is complete. Also, we need to make NGINX startup as a service.So that we don't need to start the NGINX server manually after reboot. Command to make the NGINX as a service is as follows. > sudo systemctl enable --now nginx.service Step 4: Verify the NGINX server status using the following command. > sudo systemctl status nginx Step 5: Add the HTTP firewall for port 80 using the ...

How to access oracle Linux GUI through TigerVNC/TightVNC viewer

In this tutorial, We will see how to access the Oracle cloud Linux GUI through TightVNC Server. We have a private key(.ppk) created during the Putty key generation process. We need to make an SSH connection between our local PC and remote Linux server. To create an SSH connection, we need to convert the .ppk key to the OpenSSH key. If we use the private key directly, we will get the 'Invalid format' error. Follow the below steps to convert the PPK to the OpenSSH key. Open the PUTTY Key generator and load the private key. Enter the passphrase. Go to conversions and click 'Export OpenSSH key.' Save the key in the drive. I have kept the key in D: Drive. If we keep the key in D: drive, we will get the "Permissions for the key is too open" error. That's because D: drive is accessible to everyone. So, we are getting this error. So, copy the file to C:/users/<our user name> folder. Now Open the command prompt and enter the following command. > C:\Users\...

How to Install Tiger VNC server GUI in oracle cloud Linux?

  This tutorial will see how to install a Graphical user interface for Linux and access the cloud Linux from our PC. Connect the Linux instance using the PUTTY server and login into the terminal. After login, We will install the required software using the Linux terminal. First, We need to install “Server With GUI” using sudo command. > sudo yum groups install “Server With GUI” It might take some time to install all required packages. We need to install tigervnc-server using sudo command once “Server With GUI” installation is completed. >sudo yum install tigervnc-server We need to start the vncserver after the installation is completed. >vncserver We need to set the password for vncserver. We will use this password to login using the vnc client on our PC.   For the view-only password prompt, select ‘No’.   Now vnc server is ready. In our following tutorial, we will see how to connect to this vnc server using the VNC client. Please click and subscrib...