+ add start and stop shell.

This commit is contained in:
wangchunsheng
2011-12-22 02:50:20 +00:00
parent 1d42a1f606
commit c4e6d7f6e1
3 changed files with 21 additions and 1 deletions
+3 -1
View File
@@ -76,5 +76,7 @@ cp ../zentao.conf etc/extra/httpd-xampp.conf
# copy the zentao code.
mv ../../../zentaopms ./zentao
# copy the makefile
# copy needed files.
cp ../Makefile .
cp ../start .
cp ../stop .
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if test "`id -u`" -ne 0
then
echo "You need to start XAMPP as root!"
exit
fi
chown nobody -R var/mysql
chmod 777 tmp
./lampp start
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
if test "`id -u`" -ne 0
then
echo "You need to start XAMPP as root!"
exit
fi
./lampp stop