Linux

6661 readers
176 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
76
77
78
79
 
 

curl https://some-url/ | sh

I see this all over the place nowadays, even in communities that, I would think, should be security conscious. How is that safe? What's stopping the downloaded script from wiping my home directory? If you use this, how can you feel comfortable?

I understand that we have the same problems with the installed application, even if it was downloaded and installed manually. But I feel the bar for making a mistake in a shell script is much lower than in whatever language the main application is written. Don't we have something better than "sh" for this? Something with less power to do harm?

80
81
82
83
84
85
86
87
88
 
 

There will be one for developers and another one for game developers.

89
 
 

I want to use an electron based app named trilium notes on my system.
I got wayland/niri on nixos
I installed trilium by writing it in configuration.nix and rebuilt system but after starting trillium it gives following error

[7292:0311/205146.782132:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
[7292:0311/205146.782227:ERROR:env.cc(255)] The platform failed to initialize. Exiting.
The futex facility returned an unexpected error code.
Aborted (core dumped)

I tried setting ELECTRON_OZONE_PLATFORM_HINT=auto and DISPLAY=:0 in all three combinations.
This is all I got from internet.
And nothing worked.

So basically I need help from community
Thanks

90
91
92
93
94
95
96
97
 
 

cross-posted from: https://lemmy.nowsci.com/post/13005097

Hi all,

I've been running a bunch of services in docker containers using Docker Compose for a while now, with data storage on ZRAID mirrored NVME and/or ZRAID2 HDDs.

I've been thinking about moving from my single server setup to three micro-servers (Intel N150s), both for redundancy, learning, and fun.

Choosing Kubernetes was easy, but I'd like to get some outside opinions on storage. Some examples of how I'm using storage:

  1. Media and large data storage: Currently on the ZRAID2 HDDs, will stay here but be migrated to a dedicated NAS
  2. High IO workloads like Postgresql and email: Currently running on the NVMEs
  3. General low-volume storage: Also currently on NVMEs, but different use case. These are lower IO, like data storage for Nextcloud, Immich, etc

I'm a huge fan of being able to snapshot with ZFS, as I mirror all my data off-site with hourly pushes for some container data, and daily for the rest. I'd like to be able to continue this kind of block-level backups if possible.

Assume I'm a noob at Kubernetes storage (have been reading, but still fresh to me). I'd love to know how others would set up their storage interfaces for this.

I'm trying to understand if there's a way to have the storage "RAIDed" across the drives in the three micro-servers, or if things work differently than I expect. Thanks!

98
99
100
 
 

So I'm entirely sick of dealing with windows on my surface. It is my only device not running linux. I decided on fedora to avoid ppa hell and It is not my daily driver so arch is out as I don't want to do the maintenance.

Anyway, it usually fails with:

collapsed inline mediaFedora install screenshot.

Any suggestions? I dont know windows well at all. To me it looks like it might be a firmware update of intel IPU on windows might be needed bit have no clue how to go about that.

view more: ‹ prev next ›