New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Dotdeb Repo Installer
I spent a hour or two building a quick script that will install the dotdeb repo on your debian based server and choose the proper version, as well as install the gpg key for dotdeb.
You can execute this script on your server with the following code:
wget http://cdn.content-network.net/Mun/apps/dotdeb/dotdeb.sh -O - | bash
You can see a text based version of the script here: http://cdn.content-network.net/Mun/apps/dotdeb/dotdeb.txt
Not sure what dotdeb is, then check it out here: http://www.dotdeb.org/
Mun
question:
- Useful?11 votes
- Yes18.18%
- No81.82%
Comments
Anyone using this script, I highly suggest using an officially maintained mirror that is near your location (this script uses Mun's unofficial mirror by default).
You can change the mirror at the top of the script to one of the mirrors here http://www.dotdeb.org/mirrors/
Also, note to Mun;
Why not have the script create a /etc/apt/sources.list.d/dotdeb.list instead of writing your primary sources.list? It would make it much easier to remove/add the repo again.
Honestly, a script to accomplish what can be done in less than a minute via copy-and-paste from the instructions? You must be having a slow night
It is official?
Most places suggest using the /etc/apt/sources.list file anyways.
@sleddog it is simple yes, but 50% of the time I have to edit this little bit and that little bit and remember which version of debian I am running so it just made sense to whip this up.
Mun
Quite interesting.
I certainly hope you have the funding and time to keep this mirror fully updated and functional for many many years to come, since your mirror will be on any machine that runs this.
I'm certain a provider like Leaseweb and etc are here for the long run, but I'm not so sure about you.
As for the "most places suggest", that is nice. The sources.list.d feature is there for situations just like this. In fact, Ubuntu's entire PPA system relies on it. This is not some undocumented feature, check the man page; http://linux.die.net/man/5/sources.list
Cleaned this up to use /etc/sources.list.d/dotdeb.list instead, and allow someone to select a mirror:
https://gist.github.com/nickvanw/11238938
Nice script though!
Much better!
http://cdn.content-network.net/Mun/apps/dotdeb/dotdeb_dd.txt changed two lines.