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.
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.
| #!/bin/bash | |
| # | |
| # Ansible role test shim. | |
| # | |
| # Usage: [OPTIONS] ./tests/test.sh | |
| # - distro: a supported Docker distro version (default = "centos7") | |
| # - playbook: a playbook in the tests directory (default = "test.yml") | |
| # - role_dir: the directory where the role exists (default = $PWD) | |
| # - cleanup: whether to remove the Docker container (default = true) | |
| # - container_id: the --name to set for the container (default = timestamp) |
| #!/bin/sh | |
| #Check the Drive Space Used by Cached Files | |
| du -sh /var/cache/apt/archives | |
| #Clean all the log file | |
| #for logs in `find /var/log -type f`; do > $logs; done | |
| logs=`find /var/log -type f` | |
| for i in $logs |
| configuration { | |
| /* modi: "window,run,ssh";*/ | |
| /* font: "mono 12";*/ | |
| /* location: 0;*/ | |
| /* yoffset: 0;*/ | |
| /* xoffset: 0;*/ | |
| /* fixed-num-lines: true;*/ | |
| /* show-icons: false;*/ | |
| /* terminal: "rofi-sensible-terminal";*/ | |
| /* ssh-client: "ssh";*/ |
battery-monitor.sh ($HOME/.config/systemd/user/battery-monitor.sh)battery-monitor.service (/usr/lib/systemd/system/battery-monitor.service)sudo systemctl enable battery-monitor.servicesudo systemctl start battery-monitor.serviceThank you
| # i3 config file (v4) | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
| # $HOME/.i3/config | |
| # Set mod key (Mod1=<Alt>, Mod4=<Super>) | |
| set $mod Mod4 | |
| # set default desktop layout (default is tiling) | |
| # workspace_layout tabbed <stacking|tabbed> |
Install Docker CE and nftables:
| # SSH Copy ID | |
| 1. with redirection (ssh at beginning) | |
| ssh <user>@<host> 'cat >> ~/.ssh/authorized_keys' < ~/.ssh/id_rsa.pub | |
| 2. with pipe (ssh not at beginning) | |
| cat ~/.ssh/id_rsa.pub | ssh <user>@<host> 'cat >> ~/.ssh/authorized_keys' |
| [Unit] | |
| Description=AutoSSH tunnel service to Tokocuan SSH Tunnel App FE Server on local port 2212 | |
| After=network.target | |
| [Service] | |
| Environment="AUTOSSH_GATETIME=0" | |
| ExecStart=/usr/bin/autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -N -i ~/.ssh/id_rsa ec2-user@ec2-54-169-20-16.ap-southeast-1.compute.amazonaws.com -L 2212:ip-10-0-1-130.ap-southeast-1.compute.internal:22 | |
| Restart=on-failure | |
| RestartSec=10 | |
| TimeoutSec=10 |