Recently, the company is using Apache Kylin to do real-time development access, but its own cluster is linux32 can only install JDK32-bit limited only 3G of memory, and Apachekylin default is 4G memory, need JDK64 bit support.
The workaround is to modify the environment setting parameters to 4G memory settings to 2G under the/home/hadoop/bigdata/softs/apache-kylin-2.0.0-bin/bin/setenv.sh of Apache Kylin.
The launch also encountered various tomcat problems. Need to be configured (most of the online solutions are not listed here). Finally, there is a security validation problem query involving SSH that takes some time. The solution is as follows (in fact, the lack of this security verification file can be seen in Tomcat server.xml configuration of this item, but there is no kylin under, need to build themselves)
1. Preparation before installation
Preparing the Tomcat compression package JDK compression Package
2. Installing the JDK
(1) Decompression can be
(2) Open/etc/profile with a text editor
• At the end of the profile file, add:
[HTML]View PlainCopy
- Export java_home=/usr/share/jdk1.6.0_14
- Export path= $JAVA _home/bin: $PATH
- Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
3. Install Tomcat
Decompression can
Then in the browser input: http://localhost:8080 See if the "cat" is out.
4. Configure SSL
Note that in the bin directory of the JDK
[HTML]View PlainCopy
- Cd/usr/java/jdk1.6.0_32/bin
- ./keytool-genkey-alias Tomcat-keyalg Rsa-keystore/usr/local/tomcat/conf/.keystore
Enter your password and provide your information.
5. Modifying the Tomcat configuration file
cd/usr/local/tomcat/conf/
VI Server.xml
Find this section:
[HTML]View PlainCopy
- <Connector port="8443" protocol="http/1.1" sslenabled="true"
- maxthreads= "scheme=" "https" secure="true"
- Clientauth="false" sslprotocol="TLS" />
Modified to:
[HTML]View PlainCopy
- <Connector port="8443" protocol="http/1.1" sslenabled="true"
- maxthreads= "scheme=" "https" secure="true"
- Clientauth="false" keystorefile="/usr/local/tomcat6-ccms/conf/.keystore" keystorepass=" Your fourth step is to generate the SSL password " sslprotocol=" TLS " />
6. Restart Tomcat
[HTML]View PlainCopy
- /usr/local/tomcat/bin/shutdown.sh
- /usr/local/tomcat/bin/startup.sh
Note that the port number is 8443
Firewall on port 8443, and then in the browser input: https://ip:8443/, OK can safely see the "cat".
Since then finally installed on the 32-bit system Kylin God beast ... Can be self-clustering test learning. But the company feels it is better to be more than 4G 64 bit. After all, Kylin brush cube or compare the consumption performance of the official default estimate is the lowest configuration
About Apache Kylin Installing the 32-bit Linux approach