TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cockpit – Integrated, glanceable, web-based interface for servers

347 pointsby giladover 4 years ago

34 comments

Naacover 4 years ago
I set it up for my handrolled homelab server automation ( all Arch Linux servers ), back when I was doing everything with virsh.<p>It worked &quot;ok&quot;. It required pulling in a bunch of dependencies I wouldn&#x27;t have normally installed. I had it set up behind an HAproxy LB, with ssl terminated at the LB. When I was using it ~1 year ago, it was pretty buggy, and certain components would crash and I would have to restart the web page.<p>Overall it was a mediocre experience, but I suppose better than having to ssh into every server. The main pain point was that I still had to go in to every server, and install cockpit.<p>In the end, I ended up just moving on to Proxmox. But I suppose cockpit is nice if you don&#x27;t want a centrally managed cluster, but still want a web interface.
评论 #26202154 未加载
评论 #26201926 未加载
dangover 4 years ago
If curious see also<p><i>Cockpit – Administer Linux servers via a web browser</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16445612" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16445612</a> - Feb 2018 (148 comments)
chousukeover 4 years ago
Has anyone tried to use this stuff at a scale of greater than a dozen servers? I briefly tried it in my homelab on CentOS 8, and immediately hit enough weirdness that I&#x27;m just back to SSH with Ansible now.<p>I suppose having a GUI can be nice for a health overview of your infrastructure, but in general I dislike GUIs for actual administrative work, since using them is a practice that steers you away from automation.<p>Most GUI tools don&#x27;t provide you very good ways to make &quot;atomic&quot; changes, which is made very easy if you run your automation from a git repository, since the final review before hitting go is just &quot;git diff&quot;.
评论 #26203193 未加载
java-manover 4 years ago
Would anyone be interested in a desktop application with similar functionality, accessing [multiple] hosts via SSH?
评论 #26198088 未加载
评论 #26198467 未加载
评论 #26199057 未加载
candiddevmikeover 4 years ago
Friends don&#x27;t let friends configure linux from a web UI. It&#x27;s messy, built off of assumptions, and is ripe for exploitation. Plus, if all you ever use is a web UI, how are you supposed to troubleshoot or fix the machine when said web UI stops working?<p>If you&#x27;re looking for pretty, single host, read-only monitoring dashboards though, checkout Netdata: <a href="https:&#x2F;&#x2F;www.netdata.cloud&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.netdata.cloud&#x2F;</a>
评论 #26202289 未加载
评论 #26198178 未加载
评论 #26200617 未加载
freedombenover 4 years ago
Cockpit is super cool. I&#x27;ve been using it for personal stuff for years now, especially since it&#x27;s trivial to enable and use.<p>I even use it in production for monitoring small sites&#x2F;apps. The graphs for CPU&#x2F;Mem&#x2F;Network&#x2F;Disk are really great, and I can leave them open in a tab on my browser. I run one fairly popular blog that as a web machine and a db machine, and it&#x27;s great for that.<p>That said I don&#x27;t use it for &quot;serious production&quot; where I have more than a couple of machines simply because at that scale I prefer cattle to pets and I prefer aggregation.<p>I also find myself strongly preferring SSH and the CLI, likely because I&#x27;m very familiar with all that and have been doing that for decades.<p>I&#x27;ve never heard of security issues with Cockpit, but I do firewall it off from everyone but my own IP (or a few others if they are involved). It&#x27;s pretty easy to do:<p><pre><code> # Get your IP address from home or work: curl -s &#x27;https:&#x2F;&#x2F;api.ipify.org&#x27; MY_IP=&lt;ip&gt; firewall-cmd --zone-public --permanent --remove-service=cockpit firewall-cmd --zone=public --permanent \ --add-rich-rule=&quot;rule family=\&quot;ipv4\&quot; source address=\&quot;${MY_IP}\&quot; port protocol=\&quot;tcp\&quot; port=\&quot;9090\&quot; accept&quot; firewall-cmd --reload </code></pre> Here&#x27;s a gist of it: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;FreedomBen&#x2F;0aabe5493ba02d1c9bb33fea2ec5e944" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;FreedomBen&#x2F;0aabe5493ba02d1c9bb33fea2...</a>
js4everover 4 years ago
Shameless plug,I made a lightweight real time monitoring tools using websockets, it&#x27;s open source: <a href="https:&#x2F;&#x2F;github.com&#x2F;elestio&#x2F;ws-monitoring&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;elestio&#x2F;ws-monitoring&#x2F;</a> Contributions are welcome :)
reidjsover 4 years ago
I installed on one of my ubuntu servers and allowed port 9090, but when I try accessing it from chrome it gives me a warning page<p>&quot;You cannot (IP) right now because the website sent scrambled credentials that Google Chrome cannot process.&quot;<p>Is this because I run a NGINX server from that box?
评论 #26203298 未加载
评论 #26198455 未加载
评论 #26198963 未加载
luplexover 4 years ago
Is there a reason why successfully running software on a server is so much harder than running software on your phone?<p>I don&#x27;t think it needs to be this way. Someone needs to figure out server software for consumers.<p>Just like PCs became more accessible, so should servers!<p>Edit: Brainstorming here: specifically, I&#x27;d like a more accessible UI, automatic updates, sensible defaults on all apps, an easier way to get started and so on.
评论 #26200091 未加载
评论 #26200140 未加载
评论 #26201522 未加载
评论 #26200045 未加载
评论 #26200992 未加载
评论 #26199963 未加载
评论 #26200454 未加载
评论 #26200411 未加载
评论 #26200788 未加载
评论 #26202325 未加载
评论 #26199939 未加载
评论 #26203705 未加载
评论 #26210842 未加载
评论 #26199954 未加载
评论 #26203150 未加载
评论 #26204259 未加载
评论 #26203004 未加载
评论 #26202023 未加载
评论 #26200844 未加载
walrus01over 4 years ago
I sure wouldn&#x27;t rely on this to do anything serious, but it&#x27;s better than the ancient&#x2F;mediocre alternative (webmin)
TwoNineAover 4 years ago
I prefer virt-manager to Cockpit&#x27;s VM management, way more feature complete.
评论 #26198285 未加载
评论 #26198540 未加载
nukerover 4 years ago
I&#x27;m searching for remote server file manager right now. I want to copy (and compare) large directories on same Linux server from my Macbook. Cannot find one so far.<p>Cockpit: &quot;here is no graphical file manager, and we don&#x27;t plan to add one.&quot; <a href="https:&#x2F;&#x2F;github.com&#x2F;cockpit-project&#x2F;cockpit&#x2F;issues&#x2F;11011" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cockpit-project&#x2F;cockpit&#x2F;issues&#x2F;11011</a><p>CuberDuck: &quot;FTP and SFTP do not support a copy operation.&quot;<p>Is there a way with GUI?
评论 #26200922 未加载
评论 #26201260 未加载
评论 #26202739 未加载
INTPenisover 4 years ago
They&#x27;re making great progress, it works and I have a friend who otherwise doesn&#x27;t work in Linux happily use it on his homelab server.<p>For anyone experienced it&#x27;s probably just a hinderance.
neonihilover 4 years ago
It comes on fedora servers by default. I’ve been using it for the last 3 years on my home servers. I’ve also installed it on armbian running on my *Pi devices.<p>It works just fine in my experience. I’ve configured mdraid with it for fun - and it worked. Ditched it in favour of Zfs which is not yet supported unfortunately.<p>I think it’s a good direction. It will become the default “GUI” for server maintenance I think.
jpswadeover 4 years ago
I’ve actually been investigating cPanel alternatives as it’s become expensive and I think customers should have choice.<p>I find it interesting that I didn’t come across this one in all of my research I did last week or so, even though it’s backed by Redhat.<p>I actually think although we’re in a time of striving for serverless, there will always be a market for self hosting, be it niche.<p>Not everyone is building a huge SaaS platform but wants to run more than just a blog or website.<p>I don’t think this is the answer though. I think what these type of servers need is a standardised layer to interact with them, an API, something like how we have EPP for domains.<p>Because as we know, frontend will change so fast. The underlying hardware and OS changes too. Now seems like the right time to invent a new level of abstraction.<p>I’m not aware of anything that exists like this.
Finnucaneover 4 years ago
I&#x27;ve been using cockpit and cockpit-machine at home to manage a Windows VM I need for work stuff. It works pretty well except I wish there was better documentation for configuration; I haven&#x27;t yet got the VM to recognize that I have a 4k monitor.
whalesaladover 4 years ago
I live in the shell but for my home vms&#x2F;boxes I love having this available. It’s particularly neat that you can integrate them all together and jump between different hosts. There are also extension packages to manage vms and Docker containers which is fun if I want to fire up a remote task.<p>Back in the day the closest thing to this was software called webmin.
867-5309over 4 years ago
searched linked page and documentation contents for &quot;secu&quot; - 0&#x2F;0 results found. can anyone vouch for its security?
评论 #26198573 未加载
psidhuover 4 years ago
I first ran into Cockpit when I put Fedora 33 Server Edition on an RPi. Needless to say, I was blown away by it and now keep it enabled on several servers I run.<p>I highly recommend it to anyone here, especially on something like a headless server where you don&#x27;t want or can&#x27;t have an X11 UI running.
robbytover 4 years ago
It looks like this is written in Javascript with C backend components. I would never trust giving root to a web service written in C.<p>If anyone deploys this, make sure to bind only to localhost, and use an ssh tunnel to access it remotely, otherwise you&#x27;re opening a massive attack surface.
rudasnover 4 years ago
Anybody uses this in production? Is it good&#x2F;suitable for managing servers (bare metal) behind VPN?
评论 #26197938 未加载
akkishoreover 4 years ago
Checkout MultiSSH for administering multiple machines over SSH: <a href="https:&#x2F;&#x2F;multissh.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;multissh.dev&#x2F;</a>
1MachineElfover 4 years ago
I&#x27;m surprised no one has compared this with cPanel yet. Seems to be a wonderful alternative, and I wonder if it will be offered by VPS providers.
wolfhumbleover 4 years ago
Is there a way in Cockpit to log the actual commands run by the system to e.g. format&#x2F;partition a storage device, create Virtual Networks etc?
notyourdayover 4 years ago
This is 1990s philosophy with a pretty wrapper. We know it does not work even for pets, not to mention cattle.
PanosJeeover 4 years ago
Have you tried Netdata?
Aeolunover 4 years ago
I just get a nice white screen on mobile :&#x2F;
airockerover 4 years ago
there are so many tools and interfaces for similar things: prometheus, elastic search(ES), new relic, splunk .... I think the world is converging on 2 stacks: ES and prometheus. ES is hard to operate but can handle everything: metrics, tracing, logs. Prometheus promises to be easy to use and has good metrics and alerting. In our work, we chose ES. I don&#x27;t think so far ease of use is possible and team has to get hands dirty for any good solution.
评论 #26201324 未加载
fritexover 4 years ago
ISPConfig vs Cockpit?
iqandjokeover 4 years ago
Tenable is using it.
chephover 4 years ago
It is very nice but like other redhat stuff this somehow prevents browsers from saving passwords, or at least it did last I used it.<p>EDIT: Actually they seem to have fixed it now. Nifty.
TruthWillHurtover 4 years ago
What is this &quot;servers&quot; you speak of?
rapseyover 4 years ago
This is pretty cool but honestly why is this written in c. For no reason you are increasing the attack surface of your users.
评论 #26204475 未加载
maveonairover 4 years ago
Cockpit is a nice frontend for servers.<p>But for my homelab I run UnRAID (<a href="https:&#x2F;&#x2F;unraid.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;unraid.net&#x2F;</a>) which is an amazing software to rollout your own NAS and run services as Docker containers. Furthermore, the web UI is amazing to manage Docker containers and VMs.<p>And the community is awesome if you need any help.