CodeCharge Studio 5.1 介紹與環境設定 劉坤宗 http://www.codecharge.com.tw
TOPIC CodeCharge Studio Introduction Tomcat+JSP+MySQL Apache+PHP+MySQL
CodeCharge Studio Introduction 官網 http://www.yessoftware.com/index2.php http://www.codecharge.com.tw/index2.php 論壇 http://www.codecharge.com.tw/phpBB2/index.php
Get CodeCharge Studio http://www.yessoftware.com/download/files/CCS_5.1. 1.18990.exe
Install CodeCharge Studio
Install CodeCharge Studio
Upgrade CodeCharge Studio
Active CodeCharge Studio
Tomcat+JSP+ MySQL Install Java Install Ant Install Tomcat Install MySQL
Install JAVA http://www.oracle.com/technetwork/java/javase/dow nloads/index.html jdk-7u51-windows-x64.exe Install path C:\Program Files\Java\jdk1.7.0_51
Install Ant http://archive.apache.org/dist/ant/binaries/ apache-ant-1.9.3-bin.tar.gz Decompress to C:\ Rename Floder to ant
Install Tomcat http://tomcat.apache.org/download-70.cgi apache-tomcat-7.0.50-windows-x64.zip Decompress to C:\ Rename Floder to tomcat
Install MySQL JDBC http://dev.mysql.com/downloads/connector/j/ mysql-connector-java-5.1.28.tar.gz Decompress tar.gz Copy mysql-connector-java-5.1.28-bin.jar To C:\tomcat\lib
Install MSSQL JDBC http://www.microsoft.com/zh- tw/download/details.aspx?id=11774 sqljdbc_4.0.2206.100_cht.tar.gz Decompress tar.gz Only Copy sqljdbc4.jar To C:\tomcat\lib
電腦->系統內容
進階系統設定 Windows 7
進階->環境變數
環境變數->系統變數
ADD Environment Variables ANT_HOME c:\ant CLASSPATH .;%JAVA_HOME%\lib;%TOMCAT_HOME%\lib;%ANT_HOME%\lib\;%JAVA _HOME%\lib\tools.jar;%TOMCAT_HOME%\lib\jsp- api.jar;%TOMCAT_HOME%\lib\servlet- api.jar;%TOMCAT_HOME%\lib\mysql-connector-java-5.1.28-bin.jar; JAVA_HOME C:\Program Files\Java\jdk1.7.0_51 PATH %JAVA_HOME%\bin; TOMCAT_HOME C:\tomcat
Import MySQL Example DB C:\Program Files (x86)\CodeChargeStudio5\Examples\Internet\Internet_M ySQL.sql C:\Program Files (x86)\CodeChargeStudio5\Examples\Intranet\Intranet_M ySQL.sql
MySQL JDBC Driver & URL JDBC Driver DataBase URL: com.mysql.jdbc.Driver DataBase URL: jdbc:mysql://localhost:3306/intranet
Add Tomcat User C:\tomcat\conf\ tomcat-users.xml <role rolename="manager-gui"/> <user username="tomcat" password="s3cret" roles="manager- gui"/>
Apache+PHP+MySQL Install Apache Install PHP Install MySQL Install phpMyAmin
Server2Go http://www.server2go-web.de/
Install phpMyAdmin http://www.phpmyadmin.net/home_page/index.php