Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
This tutorial will walk you through the steps needed to get root
SSH
access on an Engenius EAP600 dual-band WiFi access point. SSH doesn't
come enabled out of the box on these things, so if you want to SSH into the
device (which is running an old version of OpenWRT), keep reading.
Prerequisites : the letsencrypt CLI tool
This method allows your to generate and renew your Lets Encrypt certificates with 1 command. This is easily automatable to renew each 60 days, as advised.
You need nginx to answer on port 80 on all the domains you want a certificate for. Then you need to serve the challenge used by letsencrypt on /.well-known/acme-challenge
.
Then we invoke the letsencrypt command, telling the tool to write the challenge files in the directory we used as a root in the nginx configuration.
I redirect all HTTP requests on HTTPS, so my nginx config looks like :
server {
# Install Time Machine service on CentOS 7 | |
# http://netatalk.sourceforge.net/wiki/index.php/Netatalk_3.1.7_SRPM_for_Fedora_and_CentOS | |
# http://confoundedtech.blogspot.com/2011/07/draft-draft-ubuntu-as-apple-time.html | |
yum install -y rpm-build gcc make wget | |
# install netatalk | |
yum install -y avahi-devel cracklib-devel dbus-devel dbus-glib-devel libacl-devel libattr-devel libdb-devel libevent-devel libgcrypt-devel krb5-devel mysql-devel openldap-devel openssl-devel pam-devel quota-devel systemtap-sdt-devel tcp_wrappers-devel libtdb-devel tracker-devel | |
yum install -y bison docbook-style-xsl flex dconf |
This is a collection of snippets, not a comprehensive guide. I suggest you start with Operational PGP.
Here is an incomplete list of things that are different from other approaches:
[Unit] | |
Description=WeeChat in a tmux server for nicd | |
[Service] | |
Type=forking | |
User=nicd | |
ExecStart=/home/weechat_start | |
[Install] | |
WantedBy=multi-user.target |
#!/bin/bash | |
# $ ./gitmove [destGitRepo] [src_file] | |
DEST_FOLDER=$1 | |
SOURCE_FILE=$2 | |
# get the earliest hash of a source file to copy | |
HASH=$(git log --format=%H $SOURCE_FILE | tail -1) | |
# echo $HASH |
declare mkvpropedit="/usr/bin/mkvpropedit" | |
declare movieDir="/path/to/movies" | |
function mkvTitleEdit { | |
filename=$(basename "${1}") | |
filename="${filename%.*}" | |
echo mkvpropedit --set title "${filename}" "${1}" | |
} | |
export -f mkvTitleEdit |
#Requires –Version 3 | |
#Requires -PSSnapin VMware.VimAutomation.Core | |
<# | |
.SYNOPSIS | |
Exports VMware host (ESX/ESXi) information to Excel | |
.DESCRIPTION | |
Queries one or more ESX/ESXi servers directly and exports all info to an Excel workbook | |
A new workbook/file will be created for each host |