I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
#!/bin/bash | |
# How to install Graphite as a user on CentOS 5.5 (with neither internet access and root account) | |
# -------------------------------------------------------------------------------- | |
# Tomasz Kalkosiński - refaktor.blogspot.com | |
# | |
# Graphite is a Scalable Realtime Graphing (http://graphite.wikidot.com/) | |
# This script is based on two excellent tutorials: | |
# http://community.webfaction.com/questions/10038/how-to-install-pycairo-in-python27-thanks |
Logging: Steven Merril | |
Open source logging and monitoring, Phase 2 | |
http://www.slideshare.net/Phase2Technology/open-source-logging-and-metric-toolsopen-source-logging-and-metrics-tools | |
Logaggregation | |
collectd for grabbing system metrics | |
worker instance | |
utility instance |
# The MIT License (MIT) | |
# Copyright (c) 2014 Dave Clark | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
# SELinux setting | |
sed -i.bak "s/\(^SELINUX=\).*/\1disabled/" /etc/selinux/config | |
#IPv4Forwarding setting | |
sed -i.bak "s/net.ipv4.ip_forward = 0/net.ipv4.ip_forward = 1/" /etc/sysctl.conf | |
######################################################################################## | |
# add Repository | |
rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm |
# Grab gosu | |
RUN curl -o /bin/gosu -SkL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \ | |
&& chmod +x /bin/gosu | |
# Add a default group | |
RUN echo >>/etc/group "default:x:1000:" | |
# Add a default user | |
RUN echo >>/etc/passwd "default:x:1000:1000:Default non-root user:/home/default:/bin/sh" |
server { | |
listen 80; ## listen for ipv4; this line is default and implied | |
listen [::]:80 default ipv6only=on; ## listen for ipv6 | |
root /usr/share/nginx/www; | |
index index.php index.html index.htm; | |
# Make site accessible from http://localhost/ | |
server_name _; |
server { | |
listen 80; ## listen for ipv4; this line is default and implied | |
listen [::]:80 default ipv6only=on; ## listen for ipv6 | |
root /usr/share/nginx/www; | |
index index.php index.html index.htm; | |
# Make site accessible from http://localhost/ | |
server_name _; |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
On mac in terminal: | |
cp /Application/WebStorm.app/bin/webstorm.vmoptions ~/Library/Preferences/WebStorm{version}/ | |
edit webstorm.vmoptions in your Library Preferences folder (WebStorm11) | |
-server | |
-Xms2048m | |
-Xmx2048m | |
-XX:MaxPermSize=1024m |