#!ipxe | |
set sysrcd-version 4.7.1 | |
echo Booting SystemRescueCD ${sysrcd-version} x86 for ${initiator-iqn} | |
# Kernel command-line options are documented here: | |
# http://www.system-rescue-cd.org/Sysresccd-manual-en_Booting_the_CD-ROM#Network_boot_using_PXE | |
set base-url sysrcd-${sysrcd-version}-x86/ | |
kernel ${base-url}isolinux/altker${archs} setkmap=no net.ifnames=0 backstore=off | |
initrd ${base-url}isolinux/initram.igz | |
initrd ${base-url}sysrcd.dat /sysrcd.dat | |
# Load the ramdisk again as a file inside the ramdisk, so our custom init script |
// MP Hooks © 2016 Mitchell Pell | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using System.Windows.Forms; | |
namespace mp.hooks{ | |
#!/usr/bin/php -d open_basedir=/usr/syno/bin/ddns | |
<?php | |
/* | |
Usage Instructions ( Obviously your domain has to be hosted on Namecheap ) | |
1) Copy this file to /usr/syno/bin/ddns/namecheap.php | |
2) Add the following entry in /etc.defaults/ddns_provider.conf | |
[Custom - Namecheap] | |
modulepath=/usr/syno/bin/ddns/namecheap.php |
Create file /etc/systemd/system/[email protected]
. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin
, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
BEST WAY TO DOWNLOAD FULL WEBSITE WITH WGET | |
I show two ways, the first way is just one command that doesnt run in the background - the second one runs in the background and in a different "shell" so you can get out of your ssh session and it will continue either way | |
First make a folder to download the websites to and begin your downloading: (note if downloading www.kossboss.com, you will get a folder like this: /websitedl/www.kossboss.com/ ) | |
(STEP1) | |
mkdir /websitedl/ | |
cd /websitedl/ | |
(STEP2) |
#!/bin/bash | |
set -e | |
set -x | |
mkdir ~/transmission | |
cd ~/transmission | |
PREFIX=/opt |
#!/bin/sh | |
mkdir -p -m 700 ~/.ssh; (umask 0177; touch ~/.ssh/authorized_keys) |
title | date |
---|---|
Подключение к Cloud.mail.ru с помощью WebDAV эмулятора в Убунту 18.04 |
2019-02-06 |
Инструкцию для Убунту 20.04 см. здесь.
All credits go to by Bryan Roessler for his original post that I followed on how to setup LetsEncrypt wildcard certificate auto-renewal with Namecheap. I highly recommend you read his tutorial first and if you bump into issues, check out this gist next.
Unfortunately the original article is not up-to-date and doesn't have the option to leave comments so I can't communicate with the author for updates so I decided to write the updates in a Gist. I highlighted the sections that required an updated with
Correction #:
. I managed to get the correct setup with the help of the amazing guys at LetsEncrypt community. Here's the help thread.
- Download acme-dns from https://github.com/joohoi/acme-dns/releases
- Move the binary somewhere sensible since we will be using