Here’s a list with the most common HTTP error codes and solutions for each one.
Error 500: Internal Server Error
Cause 1: Syntax error in .htaccess
Cause 2: Invalid files/directories permissions
Errors 502: Bad Gateway & 504: Gateway Timeout
Error 503: Service Unavailable
Error 508: …Read More
Protecting Apache Server From Denial-of-Service Attacks
Denial-of-Service (DoS) attack is an attempt to make a machine or network resource unavailable to its intended users, such as to temporarily or indefinitely interrupt or suspend services of a host connected to the Internet. …Read More
PHP Sessions in Memcached
The moment a PHP application grows to run on more servers, normally people will see problems caused by PHP sessions. If the application is not persistent you are lucky and don’t care about this, but if not …Read More
MySQL InnoDB Corruption Repair Guide
This is a basic guide that goes over some of the methods you can use to deal with some of the most common InnoDB corruption issues, from start to finish.
/A/ First Response
A/1 Initial Steps
A/2 If MySQL …Read More
Make Samba Go Faster
After installing a wired gigabit network in my house I tested the performance in the network using shares (Windows – samba installed centos 7). I got around 500-600MBit/sec in read speeds and about 600-700MBit/sec in write speeds. But …Read More
How to Recover InnoDB MySQL Table Data from ibdata and .frm Files
This tutorial explains how to restore MySQL tables when all or some of the tables are lost, or when MySQL fails to load table data.
One of the reason for …Read More
Installing Lighttpd with PHP (PHP-FPM mode) and MySQL or MariaDB on Ubuntu 15.04
Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on an Ubuntu 15.04 server with PHP support …Read More
Upgrading MySQL databases after a software update (and possibly repairing structure and tables if problems occurs)
Sometimes MySQL changes its internal database structures between versions. When that is the case, you might get these kind of errors after updating it (probably …Read More
Setting up PPTP VPN server on CentOS Server
There are 3 basic types of VPN servers: Point-to-Point Tunneling Protocol (PPTP), Layer 2 Tunneling Protocol(L2TP) and OpenVPN. (Yeah there are more but let’s deal with the basics here). In this post I will use PPTP …Read More
In a previous post I’ve showed how to disable firewalld and roll back to our favorite post-systemd iptables firewall. In this post we gonna see how to Configure FirewallD in RHEL/CentOS 7 and Fedora 21/22.
Firewalld is a dynamic daemon to …Read More
Usually in Centos and RHEL 6 systems a soft link is enough to change the Timezone. On RHEL 7 a few things have change. Anyway. In this post I will show you how to Change Timezone Centos / RHEL 7 …Read More
Introduction: How to Setup CentOS server
When you first Setup CentOS server, there are a couple setup steps that you ought to take at an opportune time as a feature of the fundamental setup.
This will build the security and ease of …Read More