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.
| { | |
| "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
| "draw_white_space": "all", | |
| "font_size": 11, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "margin": 2, | |
| "rulers": |
| # Usage YearRange.new(2).range_string | |
| # "1990-1991 | 2011-2013" | |
| class YearRange | |
| def initialize(range = 1) | |
| @range = range | |
| @years = (1980..2015).to_a | |
| end | |
| def collect | |
| divide_factor = @years.size/@range |
| get '/tmp/:page' => 'tmp#index' | |
| get '/tmp/:page/:inner_page' => 'tmp#index' |
| #!/bin/bash -x | |
| export PGPASSWORD=myPGPassword | |
| export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
| #Script Begin | |
| DATE=`date +%d_%m_%Y_%H_%M` | |
| if ! /usr/bin/pg_dump -O -U postgres -h localhost project_production -f /root/backups/postgres/daily/project_production_pg_$DATE.sql; then | |
| /bin/echo "#########################################################" >> /var/log/postgres_backup.log | |
| /bin/echo "Postgres Backup backup failed on `date +%d-%m-%Y`" >> /var/log/postgresql_backup.log |
| Daily backup at 2 a.m. | |
| 0 2 * * * /root/scripts/postgres_backup.sh |
| sudo apt-get install git | |
| sudo apt-get install nginx | |
| sudo apt-get install nodejs | |
| sudo apt-get install imagemagick | |
| sudo apt-get install libpq-dev #postgres ext lib required | |
| sudo apt update | |
| sudo apt-get install libmagick++-dev #imagemagick dependency | |
| # Installing Ruby using .rbenv | |
| sudo apt install git curl autoconf bison build-essential \ |
| #Login from root | |
| adduser deploy | |
| # set a pssowrd if asked. | |
| # Run visudo and add following line | |
| %deploy ALL=(ALL) NOPASSWD: ALL |
| # Add following lines in /etc/environment to fix the warnings. | |
| LANGUAGE=en_US.UTF-8 | |
| LC_ALL=en_US.UTF-8 | |
| LANG=en_US.UTF-8 | |
| LC_TYPE=en_US.UTF-8 |
| Options +FollowSymLinks -MultiViews | |
| # Turn mod_rewrite on | |
| RewriteEngine On | |
| RewriteBase / | |
| ## don't touch /forum URIs | |
| #RewriteRule ^forums/ - [L,NC] | |
| ## hide .php extension snippet |
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.