Install Apache, MySQL, SQLite, and other developer packages
yum install httpd-devel mysql mysql-server
yum install mysql-client mysql-devel
yum install apr-devel sqlite3 sqlite-devel
yum install libjpeg libpng gcc make autoconf
yum install libxslt gettext zlib-devel
yum groupinstall “GNOME Desktop Environment”
yum groupinstall “Development Tools”
This tutorial will assume that you are using MySQL on production and you may also use SQLite for development. If you are using another database like PostgreSQL then you should install those files now. Also, please note that these are not the only packages that you will need for your webserver, this should just be considered a minimum to get your django app working.
Add New User
groupadd webmaster
useradd -c “username” -g webmaster -m -s /bin/bash username
passwd username
passw0rd
visudo
Near line 77 where it reads “root ALL=(ALL) ALL add
username ALL=(ALL) ALL
From here you can change to your user to leave the root account as is.
If you find that some of the item do not want to run you should use the sudo command
Install Python 2.6 along side of Python 2.4

