Nicolas Kovacs
2019-Nov-17 10:11 UTC
[CentOS] Post-installation setup script for CentOS 7 servers
Hi, I just sanded down the remaining edges of my CentOS 7 post-install configuration script and published it on a Github repository, along with some detailed instructions. * https://github.com/kikinovak/centos-setup Feel free to use it (and/or adapt it to your needs). Cheers from the sunny South of France, Niki -- Microlinux - Solutions informatiques durables 7, place de l'?glise - 30730 Montpezat Site : https://www.microlinux.fr Mail : info at microlinux.fr T?l. : 04 66 63 10 32 Mob. : 06 51 80 12 12
Jonathan Billings
2019-Nov-17 13:15 UTC
[CentOS] Post-installation setup script for CentOS 7 servers
On Nov 17, 2019, at 05:11, Nicolas Kovacs <info at microlinux.fr> wrote:> > I just sanded down the remaining edges of my CentOS 7 post-install > configuration script and published it on a Github repository, along with > some detailed instructions. > > * https://github.com/kikinovak/centos-setup > > Feel free to use it (and/or adapt it to your needs).I?m curious why you list these as ?cruft? packages? chrony firewalld iperf NetworkManager-libnm They are all removed as per of the ?setup? command you provided. You remove the default NTP service, you disable the default firewall (although you do install iptables-service in base.txt) and you hobble NetworkManager. Also, I?m sure it?s helpful for you, but setting all the default CentOS repos to ones in France as a baseurl means that anyone using it would get that too, so anyone thinking of forking the repo, don?t replace the CentOS repo files. The mirrorlist url should give you geographically close mirrors. -- Jonathan Billings
Nicolas Kovacs
2019-Nov-17 16:58 UTC
[CentOS] Post-installation setup script for CentOS 7 servers
Le 17/11/2019 ? 14:15, Jonathan Billings a ?crit?:> I?m curious why you list these as ?cruft? packages? > > chrony > firewalld > iperf > NetworkManager-libnm* chrony: I'm using ntpd and ntpdate * firewalld: https://github.com/kikinovak/firewall * iperf: replaced by iperf3 * NetworkManager: great on laptops, useless on servers> > Also, I?m sure it?s helpful for you, but setting all the default CentOS repos to ones in France as a baseurl means that anyone using it would get that too, so anyone thinking of forking the repo, don?t replace the CentOS repo files. The mirrorlist url should give you geographically close mirrors.You're right. The main reason I did this is because some of my servers are behind filtering proxies, and more often than not, CentOS mirrors are blocked. I have to think about a practical solution for this. Thanks for the feedback ! Niki -- Microlinux - Solutions informatiques durables 7, place de l'?glise - 30730 Montpezat Site : https://www.microlinux.fr Mail : info at microlinux.fr T?l. : 04 66 63 10 32 Mob. : 06 51 80 12 12