From 1c4f7be013c5b13235996725ba3700587314abf0 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 7 Apr 2014 14:17:12 +0200 Subject: switch channel --- sites/elchhub.nsupdate.info/install_adhpp | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 sites/elchhub.nsupdate.info/install_adhpp (limited to 'sites/elchhub.nsupdate.info/install_adhpp') diff --git a/sites/elchhub.nsupdate.info/install_adhpp b/sites/elchhub.nsupdate.info/install_adhpp new file mode 100644 index 00000000..6f2986d5 --- /dev/null +++ b/sites/elchhub.nsupdate.info/install_adhpp @@ -0,0 +1,44 @@ +curl https://aur.archlinux.org/packages/ad/adchpp/adchpp.tar.gz > adchpp.tar.gz +tar xf adchpp.tar.gz +cd adchpp +# install all the deps +makepkg +pacman -U adchpp-*-x86_64.pkg.tar.xz +vi /etc/adchpp/adchpp.xml +# change description etc +# add to servers: +# + + +mkdir /etc/adchpp/certs +cd /etc/adchpp/certs +openssl genrsa -out privkey.pem 4096 +openssl req -new -x509 -key privkey.pem -out cacert.pem +openssl dhparam -outform PEM -out dhparam.pem 1024 + +cat > /var/lib/adchpp/motd.txt <