TypeSdk打包工具 (Packge和Manager)安装部署
2017-03-17 16:10
176 查看
TypeSdk打包工具手动安装部署:TypeSdkManage和TypeSdkPackge两个模块统称为打包工具
以下范例服务器操作系统使用:windows_server_2012R2
软件使用: Mssql_express_2012;Jdk1.8;Nodejs6.9;Android-Sdk-Windows27;Ant1.9
代码和相关环境可以在这里下载
TypeSdkManage:https://code.csdn.net/typesdk_code/typesdk_manager/tree/master
TypeSdkPackge:https://code.csdn.net/typesdk_code/typesdk_package/tree/master
相关环境包:http://pan.baidu.com/s/1hrCrgEw
一、安装完windows之后,先下载相关程序
1、 到网站上下载TypeSdkManager和TypeSdkPackge的源码
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317134612088-247013570.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317134622463-1665419200.png)
2、 从百度云上下载相关环境
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317135555885-71320503.png)
二、安装Mssql并导入数据库
1、 安装mssql
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317135934745-771132639.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317135944760-858057964.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140003682-737536335.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140011495-131452762.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140019041-1454057243.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140027573-1205695339.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140034916-1395037941.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140040948-196638275.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140047573-1578822183.png)
2、 安装mssql管理工具
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140350323-1571318925.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140359151-1123529851.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140407213-640991925.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140414198-833321616.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140559135-1093591971.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140611010-769470088.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140622416-376238835.png)
三、安装IIS
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140639104-46504035.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140646463-1381276379.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140654729-1337224434.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140702104-1716140041.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140709713-219542334.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140718198-165557767.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140725276-710733381.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140732104-895027309.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140739026-862045859.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140745135-268699938.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140752948-135324151.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140801463-1758254840.png)
四、配置数据库
1、 导入数据库
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141252229-2117103621.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141629807-1765689101.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141639932-445932517.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141648135-2094393259.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141655682-1319087257.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141703010-808090560.png)
五、部署打包工具
1、 新建目录结构
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141954995-1840339510.png)
拷贝typesdk_manager源码目录里的www目录到manager目录下
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142006151-2010852907.png)
拷贝typesdk_packge源码目录里的packge,share,software三个目录到typesdk目录下
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142015120-1188772714.png)
解压百度云下载的software.zip到typesdk目录(请使用winrar解压,windows自带的ZIP解压会因为文件名过长报错)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142052698-310380688.png)
添加nodejs环境变量
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142101635-90508477.png)
2、 配置TypeSdkPackge
打开C:\TypeSdk\TypeSdkPackge\typesdk\package\server目录下的config.json配置文件,修改配置
INTERVAL:接受任务的查询时间,建议使用默认
WEB_SERVER_IP:TypeSdkManager的webserver访问地址
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142111651-1249060238.png)
启动packger(举例程序放在C盘)
打开cmd
cd C:\TypeSdk\TypeSdkPackge\typesdk\package\server
node package_task_new.js
六、配置IIS
1、 新建网站
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142120151-943444420.png)
2、 添加虚拟目录
/icon 映射 C:\TypeSdk\TypeSdkPackge\typesdk\share\icon
/share/output 映射 C:\TypeSdk\TypeSdkPackge\typesdk\share\output
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142128682-67232077.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142140463-1507622731.png)
3、 修改web.config配置文件
建库脚本会新建typesdk数据库,typesdk_user用户和密码,用户一般不需要改动
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142150338-512489643.png)
根据自己的文件位置修改,如果使用前面文档中的路径则不需要修改
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142233323-941332151.png)
4、 修改www目录权限
目录添加IIS_IUSRS用户,并给与完全控制权限
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142249088-2080436559.png)
5、 添加网站的MIME支持apk文件下载
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142258916-1834139735.png)
扩展名:.apk(前面的.别漏了)
MIME类型:application/vnd.android.package-archive
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142306479-1381202501.png)
七、访问打包工具
http://IP
默认用户:demo@typesdk.com
默认密码:123.com
如果想了解更多,请关注我们的blog和官网
http://www.typesdk.com/documents
http://blog.csdn.net/kasimshi
以下范例服务器操作系统使用:windows_server_2012R2
软件使用: Mssql_express_2012;Jdk1.8;Nodejs6.9;Android-Sdk-Windows27;Ant1.9
代码和相关环境可以在这里下载
TypeSdkManage:https://code.csdn.net/typesdk_code/typesdk_manager/tree/master
TypeSdkPackge:https://code.csdn.net/typesdk_code/typesdk_package/tree/master
相关环境包:http://pan.baidu.com/s/1hrCrgEw
一、安装完windows之后,先下载相关程序
1、 到网站上下载TypeSdkManager和TypeSdkPackge的源码
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317134612088-247013570.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317134622463-1665419200.png)
2、 从百度云上下载相关环境
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317135555885-71320503.png)
二、安装Mssql并导入数据库
1、 安装mssql
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317135934745-771132639.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317135944760-858057964.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140003682-737536335.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140011495-131452762.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140019041-1454057243.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140027573-1205695339.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140034916-1395037941.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140040948-196638275.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140047573-1578822183.png)
2、 安装mssql管理工具
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140350323-1571318925.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140359151-1123529851.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140407213-640991925.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140414198-833321616.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140559135-1093591971.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140611010-769470088.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140622416-376238835.png)
三、安装IIS
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140639104-46504035.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140646463-1381276379.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140654729-1337224434.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140702104-1716140041.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140709713-219542334.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140718198-165557767.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140725276-710733381.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140732104-895027309.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140739026-862045859.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140745135-268699938.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140752948-135324151.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317140801463-1758254840.png)
四、配置数据库
1、 导入数据库
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141252229-2117103621.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141629807-1765689101.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141639932-445932517.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141648135-2094393259.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141655682-1319087257.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141703010-808090560.png)
五、部署打包工具
1、 新建目录结构
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317141954995-1840339510.png)
拷贝typesdk_manager源码目录里的www目录到manager目录下
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142006151-2010852907.png)
拷贝typesdk_packge源码目录里的packge,share,software三个目录到typesdk目录下
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142015120-1188772714.png)
解压百度云下载的software.zip到typesdk目录(请使用winrar解压,windows自带的ZIP解压会因为文件名过长报错)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142052698-310380688.png)
添加nodejs环境变量
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142101635-90508477.png)
2、 配置TypeSdkPackge
打开C:\TypeSdk\TypeSdkPackge\typesdk\package\server目录下的config.json配置文件,修改配置
INTERVAL:接受任务的查询时间,建议使用默认
WEB_SERVER_IP:TypeSdkManager的webserver访问地址
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142111651-1249060238.png)
启动packger(举例程序放在C盘)
打开cmd
cd C:\TypeSdk\TypeSdkPackge\typesdk\package\server
node package_task_new.js
六、配置IIS
1、 新建网站
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142120151-943444420.png)
2、 添加虚拟目录
/icon 映射 C:\TypeSdk\TypeSdkPackge\typesdk\share\icon
/share/output 映射 C:\TypeSdk\TypeSdkPackge\typesdk\share\output
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142128682-67232077.png)
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142140463-1507622731.png)
3、 修改web.config配置文件
建库脚本会新建typesdk数据库,typesdk_user用户和密码,用户一般不需要改动
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142150338-512489643.png)
根据自己的文件位置修改,如果使用前面文档中的路径则不需要修改
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142233323-941332151.png)
4、 修改www目录权限
目录添加IIS_IUSRS用户,并给与完全控制权限
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142249088-2080436559.png)
5、 添加网站的MIME支持apk文件下载
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142258916-1834139735.png)
扩展名:.apk(前面的.别漏了)
MIME类型:application/vnd.android.package-archive
![](http://images2015.cnblogs.com/blog/1082216/201703/1082216-20170317142306479-1381202501.png)
七、访问打包工具
http://IP
默认用户:demo@typesdk.com
默认密码:123.com
如果想了解更多,请关注我们的blog和官网
http://www.typesdk.com/documents
http://blog.csdn.net/kasimshi
相关文章推荐
- vs 2012自带打包工具进行部署安装
- kafka集群管理工具kafka-manager部署安装
- vs2012自带打包工具进行部署安装
- vs 2012自带打包工具进行部署安装
- TypeSdkServer手动安装部署
- vs 2012自带打包工具进行部署安装
- 关于Android SDK Manager安装工具失败的解决办法
- kafka集群管理工具kafka-manager部署安装
- Asp.net与SQL一起打包部署安装
- Asp.net与SQL一起打包部署安装
- Asp.net与SQL一起打包部署安装
- .Net打包部署时如何免安装iewebcontrols
- Asp.net与SQL一起打包部署安装(转载)
- 部署水晶报表的打包安装
- Asp.net与SQL一起打包部署安装(转载)
- 部署水晶报表的打包安装
- Asp.net与SQL一起打包部署安装 (转)
- Asp.net与SQL一起打包部署安装
- Asp.net与SQL一起打包部署安装 (转)
- Asp.net与SQL一起打包部署安装(转)