Разделы сайта
Новость подробно.   

Установочная программа
Опубликовано: 31.01.2004

Программа устанавливает Arp.Site, MySql, JDK на Windows.
Текст:
@echo off
echo Extracting Arp.Site....
unzip -qq -o arpsite-040703-full -d c:\arpsite
echo You must install java into c:\arpsite\bundled\j2sdk1.4.1_03
pause
j2sdk-1_4_1_03-windows-i586.exe
set JAVA_HOME=C:\arpsite\bundled\j2sdk1.4.1_03
PATH=%JAVA_HOME%/bin;%PATH%
echo You must install mysql into c:\mysql
pause
cd mysql-4.0.13-win
setup.exe
pause
PATH=c:\mysql\bin;%PATH%
echo Starting MYSQL... (Must be green!!!)
@start winmysqladmin.exe start
pause
echo Imporing database...
mysql -e "create database arpsite"
type c:\arpsite\db.sql|mysql arpsite
pause
echo Starting Arp.Site...
cd c:\arpsite
set JAVA_HOME=bundled\j2sdk1.4.1_03
set CATALINA_HOME=bundled\jakarta-tomcat-4.1.x
set CATALINA_OPTS=-Xmx100m
call %CATALINA_HOME%\bin\catalina.bat start
rem wait 10 seconds
ping 127.0.0.1 -n 10 > nul
explorer http://localhost:8080/sandbox/index.esp


©Arptek. Телефон: 409-95-76. Rambler's Top100
Hosted by uCoz