Version 1 (modified by faisal, 16 years ago) |
---|
Setting up a server for HG Platform using NGINX PHP5 MySQL
required installations apt-get update apt-get install subversion postfix emacs portmap nfs-common
Fresh Ubuntu Install 1. Edit /etc/apt/source.list and remove the comment on universe package for nginx then do an apt-get update 2. Install using this guide - http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-ubuntu-8.10 3. Install subversion - check out the latest version to /var/www 4. create folder /mnt/Media then add mount point in fstab and rc.local for reboot
*** /etc/fstab 192.168.137.96:/var/www/imageserv/Media /mnt/Media nfs rsize=8192,wsize=8192,timeo=14,intr *** /etc/rc.local mount /mnt/Media
5. create symbolic link to released version - make sure Media folder does not exists or else it will be placed inside media folder
ln -s /mnt/Media /var/www/hg_release_betaX/document_root/Media
Attachments
-
liveservers
(1.3 kB) - added by faisal
16 years ago.
nginx server configurations
- nginx.conf (1.0 kB) - added by faisal 16 years ago.
-
spawn-fcgi-php
(1.7 kB) - added by faisal
15 years ago.
spawn fcgi init script