I'm using a dedicated server and this provider installs Ubuntu 16.04 with almost nothing. For example none of these commands exist so I need to install them one by one:
curl, nano, tmux, htop, iptables, ifconfig and many more of these basic stuff that I don't recall.
I used to use another dedicated server provider and their images would come with those basic stuff.
Now it's a hassle to install those one by one every time I get a new dedicated server (and I get a lot) and/or when I reinstall the OS and they don't have a snapshot feature either.
Is there a command that I can get basic stuff in bundle or something without having to run apt install xx each time for each app I mentioned above?
apt install curl nano tmux htop iptables net-tools– pLumo Aug 12 '19 at 12:14nano... – pLumo Aug 12 '19 at 12:16dpkg --get-selectionsanddpkg --set-selections. See for example Install many applications using one command – steeldriver Aug 12 '19 at 12:44taskselmight be what you're looking for - install that, and then pick the options that sound relevant. But otherwise, it's best practice to keep a script handy for this kind of thing if you can't just make your own custom image. – rm-vanda Aug 12 '19 at 20:49ifconfighas been deprecated for quite a while now. It's recommended to start usingipinstead. This also explains whyifconfigisn't installed by default. – marcelm Aug 13 '19 at 13:48