Running NodeJS in Apache is currently not possible since extension for Nodejs in Apache doesn’t exist yet unlike mod-perl or mod-php. However, It is possible to run NodeJS as a separate process and set your apache server as a proxy…
Repository changed its ‘Origin’ value from ‘Google, Inc.’ to ‘Google LLC’
If your are using Google Chrome on Debian or Ubuntu, you must have encountered the following error while updating your system through sudo apt-get update. E: Repository ‘http://dl.google.com/linux/chrome-remote-desktop/deb stable Release’ changed its ‘Origin’ value from ‘Google, Inc.’ to ‘Google LLC’…
Javascript changes value when pushing an object
Have you ever encounter a problem in Javascript where it changes the value of the object when you push it to an array. Well, if you haven’t then maybe you’re not doing a lot of javascript. Anyway, this particular issue…
MySQL slow query on higher LIMIT offset
It’s normal for Mysql queries with higher offset to be slower than usual. It’s because the Mysql needs to count the OFFSET and LIMIT of your query statement. The higher the offset, the longer Mysql will have to count and…
Allow SFTP but not SSH to a user in Linux
There are many reasons why you want to achieve this kind of setup. But mostly is just because you don’t want the user messing inside your server, and the user only needs to access (download, upload) files in your server….
MySQL Master to Master Replication Setup
MySQL replication is a process in which a set of data from a single mysql server is being copied live on another mysql servers. Most popular setup of mysql replication is what they call Master-Slave Setup. This setup will just…
Apache 2.4 Basic Auth Not working
I have setup a website earlier on a staging environment using Apache 2.4. Everything was working fine until I tried to setup Basic Authentication in apache. First I tried it on the .htaccess file. This is what i wrote on…
Upgrade php5 to php7 on ubuntu 15
Now that php5 no longer has support in 2017, a lot of webmasters are trying to upgrade their php to php7. Here’s how to upgrade your php5 to php7. First install python-software-properties and then add ppa:ondrej/php-7.0 to your apt repo….
Koolova – Ransomware that decrypts your file if you read CyberSecurity articles
Ransomwares are one of the most popular malwares that spreads in the internet around the world today. This type of malware will encrypt all your files using a very strong encryption algorithm. But you can still recover your file, in…
MySQL error code 1524
I tried logging in to my MySQL server remotely and suddenly, this error appear. MySQL error code 1524. I didn’t know what it means and I am freaking out because I could lose all my data. So I did a…