Step I: Make A Back-Up Of the Old Site Files (Not Including Database) (i) Find the “root” of your site. The easiest way to do is to create a php file (called phpinfo.php) and upload it to your site containing the following: The contents of the php file should be: // Show all information, defaults
Easy to follow Guide to set up a fully functional LEMP stack with linux, nginx, MySQL & PHP to host our website(s)
Check Folder/ Directory Size With SSH + Delete Folder/ Directory With SSH
I backup my files by creating a tar folder and transporting it to a remote location. I use the simple but effective technique documented here. Recently, I was shocked to find that the tar file had bloated to several GB in size. I looked in the public_html folder but could not find any suspicious file.
NGINX: Force Pdf Files To Download & Not Open In Browser
The usual code for forcing pdf files to download and not open in the browser is this: location ~* /(.*\.pdf) { types { application/octet-stream .pdf; } default_type application/octet-stream; } Restart the nginx server with the command: service nginx restart It is best if the location directive is placed immediately after the server directive. server {
How To Force Download Files In Apache 2 | Ubuntu
To force the files to be downloaded and not open in the browser, the following commands have to be entered
In this tutorial, we will use a Vultr VPS to set up a wordpress website in under 5 minutes. Thereafter, we will point our domain name to the VPS and ensure that we have a fully functional website
Every webmaster must have a server security checklist so that it is ensured that the server is hardened and cannot be infiltrated. In a web hosting server, hardening the SSH, tmp, PHP, DNS server is necessary
A credit card is not necessary to sign up for Google Cloud and avail of the free VPS. The free server can be availed of without a credit card
When you try to update Wordpress you get the error “Update WordPress Unable to locate WordPress Root directory. Installation Failed” This problem is solved by adding the following code to the wp-config file
Detailed tutorial (with pictures) on how to set up a VPS with Amazon EC2 to send free emails From SES using VirtualMin and phplist