当前位置: 代码迷 >> Web前端 >> Bat file起步Windows下各种开发web非安装的环境
  详细解决方案

Bat file起步Windows下各种开发web非安装的环境

热度:409   发布时间:2013-08-01 15:23:18.0
Bat file启动Windows下各种开发web非安装的环境
parameter.bat
            set CURRENT_DIR=%cd%
            set JAVA_HOME=%CURRENT_DIR%\jdk
            set CATALINA_HOME=%CURRENT_DIR%\tomcat
            set MYSQL_HOME=%CURRENT_DIR%\mysql
            set PATH=%PATH%;%JAVA_HOME%\bin;%CATALINA_HOME%\bin;%MYSQL_HOME%\bin

        startdatabase.bat
            call parameter.bat
            cd %MYSQL_HOME%\bin
            mysqld

        stopdatabase.bat
            call parameter.bat
            cd %MYSQL_HOME%\bin
            mysqladmin -u root -p shutdown

        start.bat
            call parameter.bat
            call "%CATALINA_HOME%\bin\startup.bat"

        stop.bat
            call "%CATALINA_HOME%\bin\shutdown.bat"
  相关解决方案