Category: Daemons

Protecting Apache Server From Denial-of-Service Attacks

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. A distributed denial-of-service (DDoS) is where the attack source

PHP Sessions in Memcached

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 you will quickly see this regardless of how good

MySQL InnoDB Corruption Repair Guide

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. SECTIONS /A/ First Response A/1 Initial Steps​ A/2 If MySQL is Crashing ​ /B/ Identifying

Make Samba Go Faster

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 why ? After looking at the samba configuration file

How to Recover InnoDB MySQL Table Data from ibdata and .frm Files

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 this to happen is when the table data

Installing Lighttpd with PHP (PHP-FPM mode) and MySQL or MariaDB on Ubuntu 15.04

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 (through PHP-FPM) and MySQL. PHP-FPM (FastCGI Process Manager) is

Upgrading MySQL databases after a software update

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 via yum) and trying to start it: [ERROR]

Setting up PPTP VPN server on CentOS Server

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 as it’s supported by almost all devices and OSes

Configure FirewallD in RHEL/CentOS 7 and Fedora 21/22

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 configure and manage firewalls (iptables rules typically) with support