How to implement a custom search for Hugo usig Gruntjs and Lunrjs.
Install the following tools:
#!/bin/bash | |
# Installer for GitLab on RHEL 5 (Red Hat Enterprise Linux and CentOS) | |
# mattias.ohlsson@inprose.com | |
# | |
# Only run this on a clean machine. I take no responsibility for anything. | |
# | |
# Submit issues here: github.com/mattias-ohlsson/gitlab-installer | |
# Exit on error | |
#set -e |
define hostgroup{ | |
hostgroup_name access_points | |
alias Access Points | |
} | |
{%- for ap in items %} | |
define host{ | |
use generic-switch | |
host_name {{ ap.name }} | |
alias {{ ap.name }} |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
# 生成 dhparam.pem 文件, 在命令行执行任一方法: | |
# 方法1: 很慢 | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 | |
# 方法2: 较快 | |
# 与方法1无明显区别. 2048位也足够用, 4096更强 | |
openssl dhparam -dsaparam -out /etc/nginx/ssl/dhparam.pem 4096 |
Many people have asked me about using the G1 garbage collector with Cassandra. Since most of my customers are running 2.0 in production the test is with 2.0 for now. Once I script it up I'll re-run the numbers with 2.1.
I also need to re-test with Java 7 and the Oracle JDKs.