* when start, change the port of apache and mysql.

This commit is contained in:
wangchunsheng
2012-11-29 03:34:57 +00:00
parent a04a6b2e79
commit f5ee2e90f2
2 changed files with 8 additions and 0 deletions

View File

@@ -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

View File

@@ -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