From f5ee2e90f25e1736a4654529abc15eaa2f3be2a9 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 29 Nov 2012 03:34:57 +0000 Subject: [PATCH] * when start, change the port of apache and mysql. --- build/linux/start | 4 ++++ build/linux/start88 | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/build/linux/start b/build/linux/start index 97090f9176..7d6d089350 100644 --- a/build/linux/start +++ b/build/linux/start @@ -5,6 +5,10 @@ then exit fi +sed -e 's/88/80/g' lampp | sed -e 's/3308/3306/g'> lampp.80 +mv lampp.80 lampp +chmod a+rx lampp + sed -e 's/88/80/g' etc/httpd.conf > etc/httpd.conf.80 mv etc/httpd.conf.80 etc/httpd.conf diff --git a/build/linux/start88 b/build/linux/start88 index 46163da4ce..ca1b137eb7 100755 --- a/build/linux/start88 +++ b/build/linux/start88 @@ -5,6 +5,10 @@ then exit fi +sed -e 's/80/88/g' lampp | sed -e 's/3306/3308/g' > lampp.88 +mv lampp.88 lampp +chmod a+rx lampp + sed -e 's/80/88/g' etc/httpd.conf > etc/httpd.conf.88 mv etc/httpd.conf.88 etc/httpd.conf