- Open the following link in your browser Win-Acme
- Click on the Download link in the menubar and download the latest version
- Extract the ZIP file to a folder on your server, (e.g.
C:\win-acme
) - Open Command Prompt or PowerShell as an Administrator
- Navigate to the directory where you extracted win-acme (e.g.
C:\win-acme
) - Run the following command to start the win-acme client
wacs.exe
- It will present you with options to create a New SSL Certificate or Renew existing SSL Certificate
- Ideally, Select More Options and Add a Scheduled Task that can automatically renew the SSL Certificate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Service Description | |
After=network.target | |
[Service] | |
User=user-to-run-service-as | |
Group=group-to-run-service-as | |
WorkingDirectory=absolute-path-for-application | |
ExecStart=absolute-path-for-binary-runtime-file | |
Restart=on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" General Indentation Options | |
set autoindent " New lines inherit the indentation of previous lines | |
set expandtab " Convert tabs to spaces | |
set shiftwidth=4 " When shifting, indent using four spaces | |
set tabstop=4 " Indent using four spaces | |
set softtabstop=4 " The amount of space added or removed by Tab or Backspace key | |
set smartindent " Auto-indent intelligently | |
set smarttab " Insert 'tabstop' number of spaces when the Tab keys is pressed | |
" Visual Formatting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
server_name <domain_name>; | |
root <document_root>; | |
add_header X-Frame-Options "SAMEORIGIN"; | |
add_header X-Content-Type-Options "nosniff"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################################## | |
# Installing and Configuring Apache & Nginx with Multiple PHP Versions # | |
# Apache will run on port 8080 and will be behind Nginx # | |
# Nginx will serve as a reverse proxy for Apache Sites # | |
# Nginx will act as the primary web and caching server # | |
######################################################################## | |
# Update Packages | |
sudo apt update && sudo apt upgrade -y |
I hereby claim:
- I am sheikhwaqas on github.
- I am sheikhwaqas (https://keybase.io/sheikhwaqas) on keybase.
- I have a public key ASAKmnco7goOktG8mZzZlAGmHelvaZu8joSYtU_C3Zem-go
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Development Phase: | |
Step 1: Create Certificate .pem from Certificate .p12 | |
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12 | |
Step 2: Create Key .pem from Key .p12 | |
Command : openssl pkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-key.p12 | |
Step 3: Optional (If you want to remove pass phrase asked in second step) | |
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Pre-requisites | |
apt update | |
apt install apt-transport-https ca-certificates curl software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
apt update | |
# Install Docker CE | |
apt install docker-ce -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mysql56: | |
image: mysql:5.6 | |
restart: unless-stopped | |
container_name: mysql56-container | |
ports: | |
- "127.0.0.1:3356:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: rootPassword |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# Install nGinx and PHP 7 on Ubuntu 16.04 LTS | |
############################################################################### | |
# Install nGinx Server | |
apt install nginx | |
# Install PHP & and it's respective packages | |
apt install php-common php-fpm php-mysql php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-mysql php7.0-opcache php7.0-readline php-bcmath php-bz2 php-calendar php-ctype php-curl php-date php-enchant php-gd php-intl php-mbstring php-mcrypt php-mongodb php-soap php-sqlite3 php-tidy php-xdebug php-xml php-xml-parser php-xml-rpc2 php-xml-serializer php-xml-svg php-xmlrpc php-zip |
NewerOlder