Changes between Version 15 and Version 16 of ServerSetup

Show
Ignore:
Timestamp:
10/29/09 18:23:35 (16 years ago)
Author:
faisal (IP: 216.214.144.156)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerSetup

    v15 v16  
    3636}}} 
    3737 
    38 2. Install using this guide - http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-ubuntu-8.10 [[BR]] 
    39 3. create folder /mnt/Media then add mount point in fstab and rc.local for reboot [[BR]] 
     382. Follow guide below or http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-ubuntu-8.10 [[BR]] 
    4039{{{ 
    41 *** /etc/fstab 
     40apt-get install mysql-server mysql-client nginx lighttpd php5-cgi php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl 
     41update-rc.d -f lighttpd remove 
     42emacs /etc/php5/cgi/php.ini 
     43- add this line in the end of file 
     44cgi.fix_pathinfo = 1 
     45- save and exit (ctrl+x, ctrl+c) - make sure to add a new line in every end of file for safety 
     46emacs /etc/rc.local 
     47- add this line before exit 
     48/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f /usr/bin/php5-cgi -P /var/run/fastcgi-php.pid 
     49mount /mnt/Media 
     50- save and exit 
     51}}} 
     523. create folder /mnt/Media then add mount point in fstab for reboot [[BR]] 
     53{{{ 
     54emacs /etc/fstab 
     55- add this line 
    4256192.168.137.96:/var/www/imageserv/Media /mnt/Media nfs rsize=8192,wsize=8192,timeo=14,intr 
    43 *** /etc/rc.local 
    44 mount /mnt/Media 
     57- save and exit 
    4558}}} 
    46594. Add new private IP in image server