SKS deployment on Debian (my way...)

Deploy the Debian LXC template from ProxMox

(Oh, I need somebody to help me with the needed theme/etc. to have the Blogger editor/etc. provide me nice [code] type formatting)

check and make sure the networking/firewalls/etc. works
add a
[pre class="prettyprint linenums"]
/sks resource/mountpoint
[/pre]
Install byobu:

[pre class="prettyprint linenums"]
dpkg-reconfigure locales #Select UTF-8 apt-get install byobu sudo apt-get purge nano #I hate that editor ;( VI! visudo #for NOPASSWD (Like I do) useradd -m USER passwd USER chsh -s `which bash` USER vi /etc/group (add user to sudo group) passwd USER copy ssh keys (I usually does it with ssh-copy-id) passwd -l USER (USer without password, only ssh) byobuRight now you can do the rest in byobu/etc. [/pre] [pre class="prettyprint linenums"]
sudo su - echo "deb http://ftp.debian.org/debian stretch-backports main contrib" /etc/apt/sources.list.d/backports.list apt-get update apt-get dist-upgrade -y apt-get install -y zlib1g-dev libdb5.3-dev curl build-essential ocaml procmail socat #I also need some newer that stock stretch versions of: apt-get -t stretch-backports install nginx-extras sshguard [/pre] [pre class="prettyprint linenums"] useradd -m -s `which bash` -d /sks/home sks sudo su - sks wget https://bitbucket.org/skskeyserver/sks-keyserver/downloads/sks-1.1.6.tgz tar -axvf sks-1.1.6.tgz cd sks-1.1.6/ cat << EOF > Makefile.local BDBLIB=-L/usr/lib BDBINCLUDE=-I/usr/include PREFIX=/sks2/sks LIBDB=-ldb-5.3 MANDIR=/sks2/sks/share/man export BDBLIB export BDBINCLUDE export PREFIX export LIBDB export MANDIR EOF [/pre]

Mac OSX settings to not forget

[pre class="prettyprint"] sudo spctl --master-disable [/pre]