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.
| cd /opt | |
| sudo git clone https://github.com/letsencrypt/letsencrypt | |
| cd /opt/letsencrypt | |
| ./letsencrypt-auto --apache -d example.com | |
| ./letsencrypt-auto --apache -d example.com -d www.example.com | |
| #После завершения установки сгенерированный сертификат появится в /etc/letsencrypt/live. | |
| #Проверить состояние сертификата можно по следующей ссылке (вместо условного домена укажите своё базовое доменное имя): | |
| apt-get install python-pip | |
| pip install setuptools |
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
| # How can I install SSL on localhost in Ubuntu? | |
| sudo a2enmod ssl | |
| sudo service apache2 restart | |
| sudo mkdir /etc/apache2/ssl | |
| sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt | |
| sudo vim /etc/apache2/sites-available/default-ssl.conf | |
| sudo a2ensite default-ssl.conf | |
| sudo service apache2 restart |
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.
| --log_gc (Log heap samples on garbage collection for the hp2ps tool.) | |
| type: bool default: false | |
| --expose_gc (expose gc extension) | |
| type: bool default: false | |
| --max_new_space_size (max size of the new generation (in kBytes)) | |
| type: int default: 0 | |
| --max_old_space_size (max size of the old generation (in Mbytes)) | |
| type: int default: 0 | |
| --max_executable_size (max size of executable memory (in Mbytes)) | |
| type: int default: 0 |
| df -lk | awk '/^\//{ SUM += $3 } END { print SUM/2**20 " GiB" }' | |
| df -Ph --local --total | awk '/^total/ {print $3}' | |
| # -d depth folder | |
| du -ch -d 1 . | |
| du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh |
| <?php | |
| namespace Silex\Provider; | |
| use Silex\Application; | |
| use Silex\SilexEvents; | |
| use Silex\ControllerProviderInterface; | |
| use Silex\ControllerCollection; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpFoundation\Response; | |
| use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
| "build":"webpack src/js/app.js dist/bundle.js", | |
| // minify for prod | |
| "build:prod":"webpack src/js/app.js dist/bundle.js -p | |
| npm -v |
Visit my blog or connect with me on Twitter
git init
or