Install Fedora as server

This installation exclude desktop environment, therefore it uses only command line interface. (Update: Based on Fedora 14)

During installation of Fedora, for software set, select ‘Minimal’, then choose to ‘Customize Now’. In customization section, for ‘Servers’ category, select only servers that you need: Web Server, PostgreSQL; then for ‘Base System’ category, select ‘Administration Tools’

Post installation configuration:

Set SELinux to ‘permissive’ (/etc/sysconfig/selinux)


Enable / disable certain services:

chkconfig [servicename] on|off

Disable: NetworkManager, firstboot, pcscd, cups (unless you connect this server with a printer), sendmail (unless you want to send e-mail using it)

Enable: httpd, mysqld, network

Note: We use ‘network’ instead of ‘NetworkManager’ to manage internet connection

Edit network interface: (/etc/sysconfig/network-scripts/ifcfg-eth0)


Restart the server

init 6

After restart, update the system:

yum install yum-fastestmirror yum-presto -y
yum update -y
X-less Fedora server on VBox


Add new user (‘webmaster’):

adduser webmaster
passwd webmaster

Install vim (CLI text editor):

yum install vim-enhanced


Better reference:

yum install patch

To create patch:

diff -crB OriginalFolder ModifiedFolder > folder.patch

-c: context
-r: recursive (multiple level dir)
-B: ignore blank lines

To apply patch:

(dry run first, at target folder – to check for any error)

patch --dry-run -p1 -i folder.patch

If dry run success, do real patching:

patch -p1 -i folder.patch
Monkey patch

Compass & rubygem

Compass is a stylesheet authoring framework that makes your stylesheets and markup easier to build and maintain. –

To install in Fedora:

yum install rubygems
gem install compass

By default, Compass is using Blueprint CSS framework –

To kickstart a project:

compass -f blueprint project-name

To start designing website using Compass:

cd project-name
compass -w

It will watch for file changes and recompile *.sass source file into *.css

Reference on how to use Compass –
Sass reference –

Some of design using Compass + Blueprint CSS framework:

Web design #1
Web design #2
Web design #3