Gallery 3 on Ubuntu 12.04 mini-HOWTO

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.

Virtualmin + Drupal 7.x on Ubuntu 12.04 HOWTO

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 ;-)

Ubuntu 12.04 on Virtualbox 4.1 mini-HOWTO

This mini-HOWTO will guide you though installing Ubuntu Server 12.04 with minimal setup on Virtualbox 4.1.x.

Before start, you should first install latest Virtualbox from https://www.virtualbox.org/wiki/Downloads, including:

  • VirtualBox platform packages
  • Oracle VM VirtualBox Extension Pack

Also, download the latest Ubuntu Server 12.04 install CD from http://releases.ubuntu.com/12.04/

Apache 2.4 + PHP 5.4 + PDO_OCI on Ubuntu 12.04 HOWTO

This simple HOWTO will guide you about how to setup Apache2.4 + PHP5.4 + PDO_OCI 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 within single installation.

Before start, I will assume you have Ubuntu 12.04 and Oracle 11gR2 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.

Oracle Database 11g Release 2 on Ubuntu 12.04 HOWTO

This HOWTO will guide you though installation of Oracle Database 11g Release 2 on Ubuntu 12.04.

Before start I will assume you have a clean Ubuntu Server 12.04 installed with minimal packages requirement. It is strongly recommend to install on a new host, as it will modify a lot of default settings ;-)

Gitorious on Ubuntu 12.04 mini-HOWTO

Gitorious provides open source infrastructure for hosting open source projects that use Git. This mini-HOWTO will guide you though the installation procedure on Ubuntu 12.04.

Before start I will assume you have a clean Ubuntu Server 12.04 installed with minimal packages requirement. It is strongly recommend to install on a new host, as it will modify a lot of default settings ;-)

要是換做你們的話?你們會毀滅誰?創造誰?

An interesting article shared by my friend from Facebook:

朋友拿了一份報紙要我作個實驗,我同意了。

問題一︰如果你知道一個女人懷孕了,她已經生了8個小孩子了,其中有3個耳朵聾,2個眼楮瞎,一個智能不足,而這個女人自己又有梅毒,請問,你會建議她墮胎嗎?

我剛要回答,朋友制止了我,又問我第二個問題。

問題二︰現在要選舉一名領袖,而你這一票很關鍵,下面是關于3個候選人的的一些事實︰

候選人A︰跟一些不誠實的政客有往來,而且會星象佔卜學。他有婚外情,是一個老煙槍,每天喝8到10杯的馬丁尼。

候選人B︰他過去有過2次被解雇的記錄,睡覺睡到中午才起來,大學時吸鴉片,而且每天傍晚會喝一大夸特威士忌。

候選人C︰他是一位受勛的戰爭英雄,素食主義者,不抽煙,只偶爾喝一點啤酒。從沒有發生婚外情。

請問你會在這些候選人中選擇誰?

我把答案寫在紙上,然後朋友告訴我︰

候選人A是富蘭克林羅斯福,候選人B是溫斯頓丘吉爾,候選人C是亞道夫希特勒。

我听了答案張大了嘴巴。朋友問我你是不是為人們選擇了希特勒?那你會建議哪個婦女去墮胎嗎?

夫唯不爭,故天下莫能與之爭。

曲則全,枉則直,窪則盈,敝則新,少則得,多則惑。

是以,聖人抱一為天下式。

不自見,故明;不自是,故彰;不自伐,故有功;不自矜,故長。夫唯不爭,故天下莫能與之爭。

古之所謂「曲則全」,豈虛語?故誠全而歸之。

Apache2 + NFSv4 + OCFS2 + ldirectord Cluster on Debian Wheezy + Pacemaker

primitive p_apache2 lsb:apache2
primitive p_controld ocf:pacemaker:controld
primitive p_exportfs_exports ocf:heartbeat:exportfs \
        params fsid="0" directory="/exports" options="rw,sync,insecure,crossmnt,no_subtree_check" clientspec="*"
primitive p_exportfs_exports_home ocf:heartbeat:exportfs \
        params fsid="1" directory="/exports/home" options="rw,sync,insecure,no_subtree_check,no_root_squash" clientspec="*"
primitive p_fs_exports_home ocf:heartbeat:Filesystem \
        params device="/home" directory="/exports/home" fstype="none" options="bind,rw" run_fsck="no"

Pages

Subscribe to edin.no-ip.com RSS