Memcached is a general-purpose distributed in-memory object caching system, which is often used to speed up and optimize back-end dynamic database performance. It does this by temporarily storing data and objects in the servers RAM/memory (like rendering a popular WordPress page on your blog). This reduces the number of direct requests to your databases, saving it time and resources. This also prepares you for any Slashdot effects that could hit your website.
Because systems like Memcached can contribute to denial of service attacks (DoS attack) if not set up correctly, it is essential to secure your Memcached servers. So keep the settings local, or harden your server after setup.
In terminal, over SSH, enter these commands:
apt-get update apt-get install memcached libmemcached-tools systemctl start memcached systemctl enable memcached apt-get install php-memcached service apache2 restart
Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.Follow @ twitter
Force SSL on a WordPress
I’ve noticed that a .htaccess redirect works from the root folder down, but if you access the website from an old link you won’t be forced to HTTPS. Updating the WP URL structure does not help The Redirect This will work to force the redirect: If you are running WordPress in a sub folder, the… Read More
DDoS Trojan attacks
Have you encountered with DDoS Trojan attack? It’s a familiar issue to all SysAdmins, when we work on DDoS attack. Normally, the top command shows a suspicious process with a random name like, Xdrgwdjd, jjiiyaykzg etc or some system commands like ls, ifconfig, pwd, ping, awk, telnet etc. When we kill that task another random… Read More