Category: Debian

Things to do after installing Ubuntu 16.04 LTS

Things to do after installing Ubuntu 16.04 LTS To have a fully functional and smoothly running Ubuntu 16.04 Desktop users need to have some services application running before they start working with this fresh flavor of Ubuntu, although it depends upon nature of services for which system will be utilized,

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

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

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

Install and Configure CSF ConfigServer Firewall

Install and Configure CSF ConfigServer Firewall About CSF Firewall ConfigServer Security and Firewall, also known as CSF, is an opensource software firewall application. It is working based on iptables. Firewall configuration script created to provide better security for your server while giving you an easy to use, advanced interface for managing

Chmod all files to 644 and all folders to 755 of a directory

Why to chmod ? Using suPHP or FastCGI you gonna notice that they need special permissions. In dso for example 777 is the default. Having those permissions using suPHP is first dangerous and secondly not recommended Especially when almost all providers forbid 777 when using suPHP. So we need to

Console commands to hibernate and standby / sleep Linux machines

It’s great that Linux nowadays supports all the power management features available on computers. But it’s odd that beside the buttons to trigger standby/hibernate – which are only available in a graphical interface – there are no simple console commands to put the computer to sleep or into hibernation. Standby