Giter Site home page Giter Site logo

chenlie84 / dataplateform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rency/dataplateform

0.0 1.0 0.0 1.77 MB

数据平台(DataPlateform),最初的设计想法是:当今大数据横行,我们也不能落后。所以就想着写一个这样的平台系统。此项目集爬虫、搜索、Hadoop、Dwr推送、Quartz定时任务于一体的平台,其目的是想通过抓取互联网数据,通过大数据推测人或者某一事物的下一行为。Coding....

Dockerfile 0.01% TSQL 1.13% Java 10.76% FreeMarker 0.52% JavaScript 43.49% CSS 43.65% HTML 0.45%

dataplateform's Introduction

1.配置SSL安全协议
	使用Java创建SSL证书:在命令行执行keytool -genkey -alias tomcat -keyalg RSA
	输入密码(tomcat)、信息,最终生成.keystore文件。生成文件位于C:\Users\用户名跟目录下
2. 配置 Tomcat 以使用 keystore 文件
	打开 server.xml 找到下面被注释的这段
	<!--
	<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
	    maxThreads="150" scheme="https" secure="true"
	    clientAuth="false" sslProtocol="TLS" />
	-->
	干掉注释,并将内容改为
	<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
        maxThreads="150" scheme="https" secure="true"
        clientAuth="false" sslProtocol="TLS"
        keystoreFile="/Users/用户名/.keystore" keystorePass="tomcat" />
3.如果是MAVEN的TOMCAT插件,则加入如下配置
	<plugins>
        <plugin>
            <groupId>org.apache.tomcat.maven</groupId>
            <artifactId>tomcat7-maven-plugin</artifactId>
            <version>2.0</version>
            <configuration>
                <httpsPort>8443</httpsPort>
                <keystorePass>tomcat</keystorePass>
                <keystoreFile>C:\Users\T-rency\.keystore</keystoreFile>
            </configuration>
        </plugin>
    </plugins>
4.在struts.xml配置文件中找到httpPort、httpsPort参数,配置程序的访问端口

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.