This can make VPS install/update faster and mirrors can be created easily.
Debian packages for Shadowsocks-libev with nocrypto patch, obfs plugin, glorytun-tcp and glorytun-udp are done.
Need v2ray-plugin package and to modify VPS install script.
How about kernels
It will be in the repo to.
A alpha version of the script using debian package is available here :
wget -O - http://www.openmptcprouter.com/server/debian9-x86_64-bin.sh | sh
I quickly used it on my one and only VPS instance, it seems to work :)
The script is definitely much cleaner/shorter than the previous one. It will also be easier to know what to do about system updates (sometimes I was a bit unsure when seeing some system updates of components built manually).
One minor comment: I'm not very comfortable with the various hard/forced removals of the dpkg and apt lock files.
I commented the remove of lock files, should not be needed in most case.
But for dpkg options "force-overwrite",... they are needed when a user use this script to update a VPS where previous script was used.
So a few comments (I'm using the script on the VPS I previously setup with the former "manual" script):
rm /etc/kernel-img.conf (need a -f or a test or handling of error)shadowsocks-libev as it conflicts with omr-shadowsocks-libev. So I removed shadowsocks-libev.
Most helpful comment
Debian packages for Shadowsocks-libev with nocrypto patch, obfs plugin, glorytun-tcp and glorytun-udp are done.
Need v2ray-plugin package and to modify VPS install script.