|  | 1 | Setting up a server for HG Platform using NGINX PHP5 MySQL | 
                          |  | 2 |  | 
                          |  | 3 | required installations | 
                          |  | 4 | apt-get update | 
                          |  | 5 | apt-get install subversion postfix emacs portmap nfs-common | 
                          |  | 6 |  | 
                          |  | 7 | Fresh Ubuntu Install | 
                          |  | 8 | 1. Edit /etc/apt/source.list and remove the comment on universe package for nginx then do an apt-get update | 
                          |  | 9 | 2. Install using this guide - http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-ubuntu-8.10 | 
                          |  | 10 | 3. Install subversion - check out the latest version to /var/www | 
                          |  | 11 | 4. create folder /mnt/Media then add mount point in fstab and rc.local for reboot | 
                          |  | 12 | *** /etc/fstab | 
                          |  | 13 | 192.168.137.96:/var/www/imageserv/Media /mnt/Media nfs rsize=8192,wsize=8192,timeo=14,intr | 
                          |  | 14 | *** /etc/rc.local | 
                          |  | 15 | mount /mnt/Media | 
                          |  | 16 | 5. create symbolic link to released version - make sure Media folder does not exists or else it will be placed inside media folder | 
                          |  | 17 | ln -s /mnt/Media /var/www/hg_release_betaX/document_root/Media |