System Administration Troubleshooting Mod_evasive Configuration with Apache on Ubuntu Server 16.04 Introduction: Mod_evasive Mod_evasive helps protect against attacks like DoS, DDoS (Distributed Denial of Service) and brute force attacks on Apache web server. As the name suggests mod_evasive provide evasive action in the event of attacks and reports malicious activities via email and syslog. Moreover, it also monitors the incoming traffic to the Apache web server […] Written by Clemence Ayekple June 11, 2018April 5, 2019
Programming Troubleshooting Vue packages version mismatch error fix Approachable, Versatile and Performant are the words used to describe Vue.js on their website. Vue (pronounced /vjuː/, like view) is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only, and is easy […] Written by Allan Philip Barku May 17, 2018August 3, 2020
Frontend Programming Troubleshooting How to fix “Error: Node Sass does not yet support your current environment” Node Sass does not yet support your current environment error normally happens when the node version is updated globally and the necessary update of dependencies on the project level is not done. Maybe you already get this error when compiling sass files. In my case it’s regularly when I updated my node version or switch versions due […] Written by Allan Philip Barku May 17, 2018August 3, 2020
System Administration How to Set or Change System Hostname in Linux If you’ve worked as a system admin for any length of time, you’ve probably run into a situation where you have to change the hostnames on your server to match some corporate naming convention, but you can’t have downtime either. So the question is how do you change the hostname without rebooting the server? Luckily, for […] Written by Clemence Ayekple May 15, 2018September 24, 2018
System Administration How To Set Up mod_rewrite for Apache on Ubuntu Introduction In this tutorial, we learn how to use mod_rewrite module to manage URL rewrites using Apache2. The module allows us to rewrite URLs in a fashionable, that is converting URLs to human-readable paths. Just think of the last time you visited a blog site to read an article, looking for that particular article to […] Written by Clemence Ayekple May 14, 2018May 14, 2018
Troubleshooting How to fix Apache – “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName” Error on Ubuntu “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName“. I get this error upon restarting Apache Server on a server running Ubuntu 16.04. This occurs because the ServerName is not set. sudo systemctl restart apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the […] Written by Clemence Ayekple April 16, 2018September 23, 2018
Database How to Backup MySQL Database using mysqldump Backup MySQL Database using mysqldump One of the most common ways to backup MySQL database is to use a command called “mysqldump“. Backing Up The basic syntax of the command to backup mysql with mysqldump is: mysqldump -u your_username -p database_to_backup > backup_file_name.sql Restoring Dumped Data To restore a database backup we created with mysqldump, […] Written by Clemence Ayekple March 23, 2018September 24, 2018
Troubleshooting Reset MySQL root password via command line – mysql 5.7 The MySQL root password allows the root user to have full access to the MySQL database. You must have (Linux) root administrator access to the server to reset MySQL root password. Use the following steps to reset a MySQL root password by using the command line interface. Stop The MySQL Service (Ubuntu And Debian) Run […] Written by Allan Philip Barku November 13, 2016August 5, 2018
Laravel Programming Custom classes in laravel 5.2, the easy way Custom classes in Laravel 5.2 The PHP Framework For Web Artisans “Love beautiful code? We do too. The PHP Framework For Web Artisans “- well that is all that laravel.com captured about their intuitive and comprehensive framework on their website. If you are a framework fanatic, devotee or even a bigot then I do not have to talk […] Written by Allan Philip Barku August 3, 2016October 7, 2018
Programming How to “manually” add/append values to request array in laravel Add/append values to request array in Laravel I have encountered a situation where I needed to change the value of a particular request or append values to request array in Laravel before calling an Eloquent method in a store() or update() method with Request parameter. So I did search for how to do that and I will like to share my findings […] Written by Clemence Ayekple July 1, 2016September 23, 2018