Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


conf script
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.

conf script

Hi.
You have configuration script to configure linux :)? share with us? with paste.ee

Thanks.

Comments

  • LESLES Member

    What do you want to configure?

  • miklosmiklos Member
    edited August 2015

    LES said: What do you want to configure?

    Basic server etc :)?

  • LESLES Member
    edited August 2015
    Thanked by 1miklos
  • @LES said:
    If you want no control panel you can try one of these:

    http://vpssim.com
    http://centminmod.com
    http://monkey-project.com
    https://github.com/lj2007331/lnmp

    Thanks bro

  • If you're serious, and not a script-kiddie, take a look at Puppet - it's stupidly powerful, and also (for the most part), completely OS independent - I use the same Puppet code to manage Ubuntu and CentOS VPSes.

    I use it on both of my MX servers so that if they die, I can bring them back online from a vanilla install in 10 minutes flat, including custom users, SSH keys, packages, and my entire MTA stack (Postfix, ClamAV, SpamAssassin, BIND, SSL certs - and I have some really funky SpamAssassin configuration!).

    Seriously, check it out.

  • FYI, Centmin Mod also has a beta version and currently testing Nginx HTTP/2 if you want to give it a spin http://centminmod.com/http2-nginx.html :)

  • Last time I looked at Puppet it had no real advantages over just writing a bash script. I just put everything I need configured in a monolithic bash script. For expensive operations, it uses simple checks to see if they've already been done. Simple idempotent operations (which is most stuff) are just re-run at every invocation.

  • @singsing said:
    Last time I looked at Puppet it had no real advantages over just writing a bash script. I just put everything I need configured in a monolithic bash script. For expensive operations, it uses simple checks to see if they've already been done. Simple idempotent operations (which is most stuff) are just re-run at every invocation.

    You really can't equate Puppet with Bash scripts - they're completely different. Puppet is a hugely important tool if you're managing a server farm, or managing cross-OS. For example, my VMware Tools Puppet module works on Debian, Ubuntu, CentOS, RHEL and SuSE.

    You can also modularise your configuration and even use Hiera to pass different parameters based on arbitrary facts returned by Puppet, for example the machine's hostname, FQDN or even custom facts written in any language.

    Puppet also has community-contributed modules to manage pretty much any kind of application out there - Apache, Nginx, MySQL, Postgres, PHP, Java, JBOSS. All you need to do for 90% of your manifests is just use the community and wrap those modules.

    In relative terms, Puppet is to monolithic Bash scripts what Java is to Assembler. Both tools are a nice way of managing a server, but if you want to do things at scale without spending a load of time writing/debugging/testing your own stuff, Puppet is the only way. Try writing a GUI in Assembler ;)

Sign In or Register to comment.