Version 8 (modified by faisal, 16 years ago)

--

Setting up a server for HG Platform using NGINX PHP5 MySQL

From an Ubuntu 9.04 Distro:

- Edit /etc/apt/source.list and remove the comment on universe package

required installations
apt-get update
apt-get upgrade
apt-get install language-pack-en subversion postfix emacs portmap nfs-common memcached php-apc

For Postfix: Use setting 'Internet Site' for install type. Use <server name>.healthgurumedia.com for the system name.

Set-up private IP:

emacs /etc/network/interfaces
remove last 2 line and add this:
auto eth0 eth0:0
iface eth0 inet static
 address [static ip]
 netmask 255.255.255.0
 gateway [gateway]

iface eth0:0 inet static
 address [private ip]
 netmask 255.255.128.0

save and run:
/etc/init.d/networking restart

2. Install using this guide - http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-ubuntu-8.10
3. 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

4. then setup new webserver

Attachments