1) Create a file (if not already existing) .vimrc in your home directory.
2) Put following vimrc file in ~/.vimrc:
set expandtab
set tabstop=2
set shiftwidth=2
set autoindent
set smartindent
set filetype=php
if has("autocmd")
" Drupal *.module and *.install files.
augroup module
read more>>
1. Install Apache (httpd), PHP, MySQL (server and client) and php-mysql bridge:
yum -y install httpd php mysql mysql-server php-mysql
2. Make the new services to start automatically on boot:
/sbin/chkconfig httpd on
/sbin/chkconfig --add mysqld
/sbin/chkconfig mysqld on
3. Start http and mysqld:
/sbin/service httpd start
/sbin/service mysqld start
read more>>