Live data from Hacker News

Cockpit – Administer Linux servers via a web browser

cockpit-project.org

101–110 of 152 posts

Re: Cockpit – Administer Linux servers via a web browser

#101
post #46
post #15

Personally I'd much rather see a GUI that can help string together snippets of Terraform/CFN and Ansible/Chef/Puppet/Salt/whathaveyou. A visual IDE for infrastructure automation, if you will.

So the idea is that you would choose your changes in the GUI, but instead of actually changing the target, it spits out the required code to do it for you in a repeatable way? I would definitely find that useful for Terraform and Cloudformation. Searching for it, I see that AWS has a tool targeted at that: Cloudformation Designer. https://aws.amazon.com/blogs/aws/new-aws-cloudformation-desi... https://docs.aws.amazon…

The cloudformation designer is... Not terrible, but it's pretty bad. It requires lots of clicking and manual work for simple things and doesn't help you do the complex ones. It's a 1:1 visual representation of the generated json/yaml and it's easier to just write those directly.

To be really useful, it should have some kind of snippet options (insert a vpc with all the usual subnets, routing, etc in one go), or some "fill in the blanks" functionality.

Re: Cockpit – Administer Linux servers via a web browser

#102
post #57

Earlier quoted context omitted.

If you need to manage a large and diverse infrastructure you should also consider Mist.io: https://github.com/mistio/mist.io Disclaimer: I'm one of the founders

How's the open source version of mist.io these days? I remember evaluating it (and cockpit, among others) for managing a small isolated network of about two dozen machines in early 2017 and it seemed that the open source release had been somewhat ignored and wasn't really working at that point. Note that all of my work is on networks that are disconnected from the internet, so I ignore SaaS offerings or versions comp…

I think it's worth a second try. We've been updating it quite regularly lately and we're about to release version 3.0.0 of the Community Edition, most likely next week. It introduces support for monitoring and alerting w/ Telegraf & InfluxDB, among other things. If you're anxious ( and somewhat brave ;) you can try installing it from the staging branch today.

Also, there's a Mist.io Enteprise Edition nowadays that you can install on-premises. There's more info about that at https://mist.io

Re: Cockpit – Administer Linux servers via a web browser

#105
post #92

Earlier quoted context omitted.

Sure, you picked the simplest possible case for a configuration management system. Now, in this very simple case: - What happens when "/the/path" changes depending on the distribution? How do you specify that? - What should happen if the "/the/path/name" already exists? Should the system touch it or something? - What if it exists but is not a directory? Should it delete whatever exists and create a directory instead?…

Well let's be clear: a lot of tasks people try to accomplish are just bad ideas. Config management is not about having a magical tool that does everything you want exactly how you want on 50 platforms using one config file. Config management is just managing complexity. It works better the less complex it is. The example above is two basic operations: mkdir and chown. On top of those operations are policies , rules w…

Can you explain a bit further how do you see that working? I use CM because I want to control the app; I want to tell it where it should store its logs (so I can process them), where it should store its data (so I can back it up), which ports it should use (so I can point my reverse proxy at it), etc.

If the app just asks for stuff, where would the management part come it? And why have a CM at all? Granting resources is what the OS itself does; the application can just call tmpfile().

Re: Cockpit – Administer Linux servers via a web browser

#106
post #81

This is cool, but there's no information on how to set it up. Am I missing something?

I recently spun up a Debian 18.04 server to play with the beta. Installing it on that system was as easy as: sudo apt install cockpit

ah, thanks (that should probably be in the documentation somewhere)

Re: Cockpit – Administer Linux servers via a web browser

#107

Maybe I'm just missing something but where is the name of the package? How do I install this? Is it an `apt-get install cockpit`? I don't see that written anywhere obvious.

click your distribution (I assume Ubuntu?) here to reveal the way to install it http://cockpit-project.org/running.html.

if you are running Ubuntu seems to require backports for anything below 17.04 though.

Re: Cockpit – Administer Linux servers via a web browser

#109

Maybe I'm just missing something but where is the name of the package? How do I install this? Is it an `apt-get install cockpit`? I don't see that written anywhere obvious.

> Is it an `apt-get install cockpit`?

Yes. Assuming a debian-based distro, try "apt-cache search cockpit" and it comes right up. To see the available version try "apt-cache madison cockpit" which returns (on my Ubuntu 16.04 desktop) "cockpit | 161-1~ubuntu16.04.1 | ..."

Re: Cockpit – Administer Linux servers via a web browser

#110
post #81

This is cool, but there's no information on how to set it up. Am I missing something?

I tried it this morning. On Linux Mint. The Docs pages suggest it is widely supported.

I just did an apt-get install, then https://localhost:9090

(Actually, I used the "Software Center" in the GUI.)

and coolness!

Post reply on HN