Category: Uncategorized

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

Fedora Linux – Use dnf Command With A Proxy Server

How do I access and use dnf command with a web proxy server on a Fedora Linux? How do I configure dnf to use a proxy server only? Dnf repositories (“repos”) can be accessed through standard proxy servers such as Squid or any other proxy server. You need to configure

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

Linux RAID Mdadm Cheat Sheet

Linux RAID Mdadm Cheat Sheet Mdadm is the modern tool most Linux distributions use these days to manage software RAID arrays; in the past raidtools was the tool we have used for this. This cheat sheet will show the most common usages of mdadm to manage software raid arrays; it assumes

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]

How to Setup ZFS Filesystem on Linux with zpool Command Examples

Messing around with FreeBSD 10 lately I loved ZFS, its simplicity and expand-ability. So I thought, what about a Linux with ZFS ? I’ll write about How to Setup ZFS Filesystem on Linux with zpool Command Examples in here.   ZFS has combined volume manager and filesystem with several advanced features.