Submitted by hswong3i on Tue, 2013-02-12 15:08
For building a LAMP cluster, besides identity, filesystem and database synchronize, the next step would be service configure synchronize, e.g. Apache2 and PHP. This can be done by using Csync2, including configuration file status monitoring, synchronize and service restart.
This HOWTO will guide you though installation of Csync2 on Ubuntu 12.04. We will therefore handle both Apache2 and PHP5 for clustering with it.
Submitted by hswong3i on Fri, 2013-01-18 16:03
Building LAMP cluster one of the key point is: how to synchronize file update among all servers for Apache? Here we have many choice, e.g. DRBD + OCFS2, iSCSI + OCFS2, CephFS, Rsync, etc; but one of the most simple solution is to use NFS for sharing master server's DocumentRoot, e.g. /home. For sure, we are not considering performance and bottleneck here.
This HOWTO will guide you though installation of NFSv4 server and client on Ubuntu 12.04. In order to make uid/gid mapping works, we will reference Single-Sign-On (SSO) setup with LDAP in previous HOWTO. We will also utilize CacheFS for improving the overall performance.
Submitted by hswong3i on Fri, 2013-01-18 14:50
When building a LAMP cluter usually we will face bottleneck at MySQL: traditional MySQL only support master/slave replication, so slave server can only use as scale-out for read access. Therefore how to make use of this read access scale-out will depend on application implementation, e.g. in Drupal we must specify which "read safe" SQL can be send to slave server, individually. This result as very limited improvement in overall performance.
Using MariaDB Galera can simply solve this problem: it is in master/master replication style so most likely application don't need to change any code in cluster environment for share loading, e.g. Drupal can even keep as using "localhost" as target database host among number of cluster member servers, where also works for both Drupal 5.x/6.x/7.x with none of code change. This also means we can scale-out for most LAMP-based application without code changes, too.
This HOWTO will guide you though installing MariaDB Galera on Ubuntu 12.04, plus setup master/master replication between 2 server.
Submitted by hswong3i on Tue, 2013-01-08 00:01
In order to setup a LAMP cluster we usually need a way to share the master server uid/gid with other else member servers, for whatever NFS shared home directory, or running Apache2 + PHP5 in suexec style. Using LDAP + Webmin can simplify this Single-Sign-On (SSO) need in a handy way.
This HOWTO will guide you though installation of Webmin and OpenLDAP server, then use it as SSO between 2 server with nss-pam-ldapd. First of all let's fouce on making it works, and then enhence it with better security.
Submitted by hswong3i on Fri, 2012-12-14 00:08
Amazon S3 provide object storage with "highly scalable, reliable, secure, fast, inexpensive infrastructure" which very useful for different use cases, e.g. storing your team shared files, your website backup, etc. BTW, it is using different protocal when compare with FTP/FUSE/NFS/iSCSI/etc so we need some trick in order to use it as like as local file system and mount it as usual.
s3backer give you an alternative answer when compare with S3QL: s3backer just give you a block device for loopback mount on top of FUSE, so you can format it as whatever EXT4/LVM/OCFS2/etc (where S3QL give you entire file system which it implement internally); s3backer also support other object storage service provider, e.g. Google Storage, Amazon S3 or OpenStack, so we can switch to different vendor if do required; simple implementation so more stable; and key point is: very fast when compare with other solution!
This mini-HOWTO will guide you though some basic for mounting your S3 bucket as local file system, so you can use it for whatever purpose. You need to have Ubuntu 12.04 LTS install correctly.
Submitted by hswong3i on Tue, 2012-12-11 14:33
Amazon S3 provide object storage with "highly scalable, reliable, secure, fast, inexpensive infrastructure" which very useful for different use cases, e.g. storing your team shared files, your website backup, etc. BTW, it is using different protocal when compare with FTP/FUSE/NFS/iSCSI/etc so we need some trick in order to use it as like as local file system and mount it as usual.
S3QL give you the quick answer: it is simple to install and configure, stable and also good in performance; moreover, S3QL also support other object storage service provider, e.g. Google Storage, Amazon S3 or OpenStack, so we can switch to different vendor if do required; and one of the key benefit when compare with other solution, e.g. S3FS, it is supported by Ubuntu 12.04 so I can set it up within 30mins!
This mini-HOWTO will guide you though some basic for mounting your S3 bucket as local file system, so you can use it for whatever purpose. You need to have Ubuntu 12.04 LTS install correctly.
Submitted by hswong3i on Wed, 2012-07-18 15:44
This simple HOWTO will guide you about how to setup Apache2.4 + PHP5.4 + PDO_IBM from sketch. Compile all package from tarball can give you the maximum flexibility of functionality, e.g. you can enable both mysql/mysqli/pgsql/oci8/pdo_mysql/pdo_pgsql/pdo_oci/pdo_ibm within single installation.
Before start, I will assume you have Ubuntu 12.04 and DB2 Express-C 10.1 installed correctly, which will not detail within this document. If you really need some help for that, please refer to my other article for more indeed guideline.
Submitted by hswong3i on Wed, 2012-07-18 11:13
Submitted by hswong3i on Tue, 2012-05-01 16:56
This mini-HOWTO will guide you though installation of Gallery 3 on Ubuntu 12.04, as a subdomain managed by Virtualmin.
Since the main dish of this mini-HOWTO is NOT about Virtualmin + Ubuntu 12.04, so I will assume you have that installed correctly. Please also refer to link provided for more information of subdomain creation.
Submitted by hswong3i on Mon, 2012-04-30 21:46
Virtualmin is a powerful and flexible web hosting control panel for Linux and UNIX systems based on the well-known Open Source web-based systems management GUI, Webmin. By using Virtualmin we can simply create a virtual hosting environment for Drupal development/hosting within few clicks, including both Linux user account, Apache virtualhost, MySQL database, PHP5 in FCGI, FTP access, and even more.
This HOWTO will guide you though the Virtualmin installation on top of Ubuntu 12.04, then demonstrate the virtual hosting functionality by installing a Drupal 7.x website.
Before start I will assume you have a clean Ubuntu Server 12.04 installed with minimal packages requirement. It is strongly recommend to install Virtualmin for a new host, as it will modify a lot of default settings; from the other point of view, don't install Virtualmin on top of an online production that already well configured ;-)
Pages
Recent comments