Difference between revisions of "Here are two shell scripts"

From SME Server
Jump to navigationJump to search
(Created page with 'Copy the lines below to to a file, change the [YourWebApp] to your application name and run them from the command line #[YourWebApp]-php5.sh ***********************************…')
(No difference)

Revision as of 21:47, 7 May 2010

Copy the lines below to to a file, change the [YourWebApp] to your application name and run them from the command line

  1. [YourWebApp]-php5.sh
 mv ~/90[YourWebApp] /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/;
 expand-template /etc/httpd/conf/httpd.conf;
 svc -t /service/httpd-e-smith;
  1. [YourWebApp]-php4.sh
 cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/;
 mv 90[YourWebApp] /root/;
 cd ~/;
 expand-template /etc/httpd/conf/httpd.conf;
 svc -t /service/httpd-e-smith;