Skip to content

No Results Found

Nov 01

Ubuntu HHVM Install

Facebook’s HHVM is a Virtual Machine which runs PHP, and Hack Lang, through a just-in-time (JIT) compiler to “achieve superior performance” in executing PHP code. From HHVM’s website: Rather than directly interpret or compile PHP code directly to C++, HHVM compiles Hack and PHP into an intermediate bytecode. This bytecode is then translated into x64 […]

Nov 01

Disable SSH Access Using Keys

On most Linux installs anonymous SSH is enabled by default. While the need for this is debateable, I generally disable password SSH’ing to disallow public access. Another important change to the SSH configuration is to disable root access i.e. prevent anybody from SSH’ing into the server as root. User’s with sudo access should be required […]

Oct 26

Apache Prefork MPM MaxClients

Apache2 comes with two different multi processing modules (MPM): Prefork MPM and Worker MPM. Usually when installing Apache via a Linux package manager, unless specifically specified, Apache will be operating with Prefork MPM. Prefork MPM uses multiple child processes, with one thread each, and each process handles one connection at a time. Worker MPM uses […]

Oct 25

Disable Apache Modules

The Apache web server operates by using a combination of modules. The modules are used by the Apache core and do not interact with one another, each offering unique functionality. Depending on which OS you are using, there is likely many Apache modules that are enabled by default that you do not need. Disabling this […]

Sep 12

PHP 5.5 with Opcache and APCu

As of PHP 5.5 Zend Opcache is a part of the core PHP distribution. PHP code is an interpreted language and is therefore parsed and compiled into opcode on every request. An Opcache allows the opcode to be stored in shared memory in which subsequent requests will be able to pull from, opposed to having […]

Jun 07

SSH Tunneling

A common web application server architecture is to only allow public access to specific servers. This allows all internal servers to be closed to internet traffic and only accessible from other servers in the network. I outlined this technique in an article for setting up an internal MySQL database server. Often times access is still […]

May 26

Vagrant Puppet VM Clusters

As outlined in previous posts Vagrant is a powerful tool for rapidly setting up development environments. However, after setting up numerous different environments for testing and developing in, some of the server set up tasks become repetitive. Puppet is a software solution for managing numerous servers from a single source. Puppet provisioning is a common […]

Apr 22

Vagrant Virtual Machine Cluster

With virtualization and cloud development taking over the industry there are often situations where systems need to be developed on multiple servers. Instead of having to spin up new instances of servers or make space in the cloud, one can use virtual machines (VMs) to develop locally in a clustered environment. Also, when working with […]

Apr 05

Fedora 20 LAMP Setup

I’ve been on the market for a new laptop for awhile now and after working with a Mac extensively at my job I knew I wanted a Windows/Linux dual boot development environment. Aside from the annoyances of Mac’s OS being really close to Linux but different enough have to learn new tools, Macs are way […]

Feb 03

CentOS 6.4 MySQL VPS Setup

I recently started using Digital Ocean for VPS hosting and have been very satisfied. At first I set up a single VPS droplet to host both web server and databases but then decided to break MySQL off onto its own droplet. Digital Ocean recently added private networking in my region which ensures the droplets will […]

Blog Powered By Wordpress
<<< Prev Next >>>