Ubuntu

Apache http2 Activation on Ubuntu 14.04

Posted on

http/2 is apparently where the web is going on the next generation web data transfer. I'm interested on trying to configure it, to see if that gives me an edge on the SEO side. The process to activate it is particularly simple, but, I had some compatibility challenges. Let me elaborate: I'm hosting this particular […]

Apache

Apache: Change Default Not Found Image

Posted on

This is globally controlled by apache, or locally controlled by your .htaccess file (which basically changes the local apache configurations on local folders). Just add the following code to your .haccess file and adjust as per your requirements   RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} \.(gif|jpg|jpeg|png)$ RewriteRule .* /var/www/html/malla-supply/img/p/en.jpg [L]   To do it Programatically […]

Ubuntu

Ubuntu: Clean full Boot Partition

Posted on

If the your boot partition if full you won't be able to update, upgrade or install new packages (apt-get upgrade/update/install). You will get an error while trying to do this, the next step is to check if this is in fact happening. You'll get something like: root@aizary:~# df -h Filesystem Size Used Avail Use% Mounted […]

Ubuntu

LINUX: Running Shell Script

Posted on

  # Test your newly created Shell Script #sudo bash /home/rmalla/backup.sh   --- NOTE --- I spent about an hour trying to figure out why my script did not work, and the answer was that I had created the script in Notepad and uploaded it to de web and it had some hidden flags that […]