Quick 'n' Easy LAMP Server For CentOS/RHEL
This tutorial shows a quick way of installing a LAMP server (Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server.) on CentOS and RHEL server systems.
Quick 'n' Easy LAMP Server For CentOS/RHEL
This tutorial shows a quick way of installing a LAMP server (Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server.) on CentOS and RHEL server systems.
I have been using Maatkit in a different way since I joined Percona as a consultant. When I’m working on a system now, it’s a new, unfamiliar system — not one where I have already installed my favorite programs. And that means I want to grab my favorite productivity tools fast.
I intentionally wrote the Maatkit tools so they don’t need to be “installed.” You just run them, that’s all. But I never made them easy to download.
I fixed that. Now, at the command line, you can just run this:
wget http://www.maatkit.org/get/mk-table-sync
Now it’s ready to run. Behind the scenes are some Apache mod_rewrite rules, a Perl script or two, and Subversion. When you do this, you’re getting the latest code from Subversion’s trunk.[1][2] (I like to run on the bleeding edge. Releases are for people who want …
[Read more]Apache has a neat module called mod_dbd that allows your Apache modules to connect to a database. mod_dbd interfaces with apr_dbd, an Apache Portable Runtime (APR) abstraction layer around database specific drivers.
Back when Ubuntu 7.04 (fiesty) was released, a MySQL driver was not bundled with Apache for licensing concerns. So, in order to use mod_dbd to connect to a MySQL database, you need to get the MySQL driver source code from WebThing (apr_dbd_mysql.c) and manually re-compile apr-utils.
You also need the source code for Apache 2.2.3 (which includes apr-utils 1.2.7) from the Ubuntu 7.04 repositories, then copy the apr_dbd_mysql.c file into the Apache source …
[Read more]Apache has a neat module called mod_dbd that allows your Apache modules to connect to a database. mod_dbd interfaces with apr_dbd, an Apache Portable Runtime (APR) abstraction layer around database specific drivers.
Back when Ubuntu 7.04 (fiesty) was released, a MySQL driver was not bundled with Apache for licensing concerns. So, in order to use mod_dbd to connect to a MySQL database, you need to get the MySQL driver source code from WebThing (apr_dbd_mysql.c) and manually re-compile apr-utils.
You also need the source code for Apache 2.2.3 (which includes apr-utils 1.2.7) from the Ubuntu 7.04 repositories, then copy the apr_dbd_mysql.c file into the Apache source …
[Read more]Marketcetera obtains funding. Microsoft posts additional protocol docs. Sun announces MySQL 5.1. (and more)
Marketcetera Closes $4 Million Series A Financing Led by Shasta Ventures, Marketcetera (Press Release)
Microsoft Publicly Posts Additional Protocol Documentation, Microsoft (Press Release)
Sun Microsystems Announces MySQL 5.1, Sun Microsystems (Press Release)
Sun Celebrates Third-Party MySQL Storage Engines, Sun Microsystems (Press Release)
…
[Read more]My wife has a site that needs two WordPress blog installations. The URLs differ by a subdirectory name. Both blogs need to be (URL-wise) subdirectories of /blog/. They need to be completely independent of each other, yet use the same custom theme. And there used to be just a single blog, which was not in a subdirectory; its permalinks must not break. (It has nice URLs with the date and title in them, not post ID-style URLs). And because I’m the husband, I get to maintain it, so tack “easy to maintain” onto the requirements (it must be easy to upgrade WP in both blogs, for example). In this article I’ll show you how I did it with a single .htaccess file, a single copy of WordPress, two MySQL databases, and a single configuration file.
Fixing URLs
As I mentioned, there used to be a blog at /blog/ which must not break. Suppose this blog was about dogs and my wife has recently started blogging about cats. She wants two …
[Read more]These three open-source databases, now in OpenSolaris SXDE 1/08, offer all the needed features for most of the applications out there.
"Three databases to run them all"...
... and of course, Sun offers solutions with commercial database vendors, like the Sun and Oracle's Enterprise Grid Solutions.
Sun Microsystems has released Solaris Express
Developer Edition 1/08, Sun's free OpenSolaris-based
distribution targeted at developers.
This release brings together integrated web stack (Apache, MySQL,
Ruby, Php, PostgreSQL), NetBeans 6.0, interoperability with Microsoft's
CIFS protocol, support for virtual machines via
Sun xVM hypervisor, based on technology
developed by the Xen
community, Sun HPC ClusterTools based on the Open MPI effort.
There are …
[Read more]
Have you ever wanted to play around with(test ;) MySQL
replication/clustering techniques, LVS/Apache load balancing etc
but didn't have the hardware available and where smart enough not
to use a production environment?
Well an easy way to be able to do this is by creating a sandbox
environment using something like qemu,
xen, vmware or UML
which allow you to create virtual machines running inside a
protected environment on your own desktop machine or whatever
hardware you have spare, just be sure you have enough memory.
This article will cover setting up a sandbox using UML.
My GNU distro of choice is Archlinux and this article will be
based around it, but you should be able to take the …
Tips on load testing your web site.