>


Installing OpenVPN Access Server

Hi there, in this post I'll create some bash files in linux (ubuntu) for easy installation of openvpn access server. So, all we need is a fresh or old installation of linux (I recomment ubuntu). In the terminal we need to create the file with extension ".sh". sudo nano openvpn.sh or sudo vim openvpn.sh We gonna write into the file the following lines for Ubuntu 18(x86_64), Ubuntu 20(x86_64),Ubuntu 20(arm64), Ubuntu 22(x86_64), Ubuntu 22(arm64). Ubuntu 18(x86_64) - download file #!/bin/bash apt update wait apt upgrade -y wait echo The update was...
Read More


Installing Apache Guacamole on Ubuntu 20.04

Install Guacamole Server Install all required dependencies sudo apt install build-essential libcairo2-dev libjpeg-turbo8-dev sudo apt install libpng-dev libtool-bin libossp-uuid-dev libvncserver-dev sudo apt install freerdp2-dev libssh2-1-dev libtelnet-dev libwebsockets-dev sudo apt install libpulse-dev libvorbis-dev libwebp-dev libssl-dev sudo apt install libpango1.0-dev libswscale-dev libavcodec-dev libavutil-dev sudo apt install libavformat-dev  Download the Guacamole source code wget...
Read More


File upload with PHP

First, ensure that PHP is configured to allow file uploads. In your "php.ini" file, search for the file_uploads directive, and set it to On if it's set to OFF: file_uploads = On Create The HTML form that allow users to choose the image file they want to upload: <html> <body> <form action="upload.php" method="post" enctype="multipart/form-data">   Select the image to upload:   <input type="file" name="file_to_upload" id="file_to_upload">   <input...
Read More


Redirecting HTTP to HTTPS editing .htaccess

Many browsers have started showing insecure warnings on websites without SSL certificates. Without SSL, your website will show insecure to the visitors. Therefore, using an SSL-encrypted connection for safety, accessibility or PCI compliance reasons is necessary. It becomes very important to redirect from HTTP to HTTPS. What is SSL? Secure Sockets Layer is a standard security protocol for establishing encrypted links between a web server and a browser in an online communication. The usage of SSL technology ensures that all data transmitted between the web server and browser remains encrypted....
Read More

Nov

3


HTML File Paths

File Path Examples Path Description <img src="image.png"> The "image.png" file is located in the same folder as the current page <img src="pictures/image.png"> The "image.png" file is located in the images folder in the current folder <img src="/pictures/image.png"> The "image.png" file is located in the images folder at the root of the current web <img src="../image.png"> The "image.png" file is located in the folder one level up from the current folder   HTML File Paths A file...
Read More