There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

@nitrolife@rekabu.ru avatar

nitrolife

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Alternatives to Mailcow?

Hello, I self host an email server and I am currently using mailcow-dockerized, however I have found their community support to be extremely lackluster, and their software having major annoyances that have either gone unfixed for years or are so specific in scope that going through the song and dance of submitting it to their...

nitrolife ,
@nitrolife@rekabu.ru avatar

You can use postfix + dovecot + roundcube + spamassassin + opendkim + pigeonhole. Maximum stability. Roundcube have aliases plugin.

You can start from here: wiki.archlinux.org/…/Virtual_user_mail_system_wit…

nitrolife ,
@nitrolife@rekabu.ru avatar

Insert logs in pastebin.com and attach links and you can open ticket on git.

I need help with my first home server. Permission/ownership and samba issues.

I have been using linux for a couple of years already, very casually, just browser, media, games. Recently I bought dell micro pc and installed proxmox on it. I don’t have a lot of hdds or raid or anything, just one 6tb usb external drive. I know, I could lose everything, but I don’t have anything important in there, just...

nitrolife ,
@nitrolife@rekabu.ru avatar

the idea is that: all your applications work under the same user. or at least under the same group. because this is exactly how the differentiation of rights is applied.

A good plan is to create some kind of user in all three containers and run qbittorrent, samba and the third application under it.

A bad plan is to run everything under a random user with 777 rights, but this is a really bad plan.

Create a user in all three containers and work under it. That is not hard. Run qbittorent with that user. Config will be there: /home/user/.config . Then set that user for samba. I don’t know third app , but I think you can find how change user in manual.

nitrolife ,
@nitrolife@rekabu.ru avatar

Topic starter don’t use docker containers. He use lxc containers. LXC is virtual machines on host kernel. Case is that: He have 3 virtual machines with shared disk. In 3 VMs have 3 different applications. Applications work under different users and can’t rewrite data on shared disk. That is user permissions problem.

nitrolife ,
@nitrolife@rekabu.ru avatar

Her argument for being vocal is that her and her generation will have to live with the consequences of our fuckups the longest and hardest.

Surprise, but if you stop generate energy by oil you can’t have hard industry. It is quite difficult to cast steel without huge energy consumption. And aluminum is even more difficult. But for some reason, no one wants to ride horses and abandon airplanes. Them can stop buy industrial products. And problem will gone.

And no, strangling heavy industry in your country until it is evacuated to China is not a fight for the global environment.

It is convenient, of course, to tell what idiots everyone around is without having worked a single day in heavy industry. And in Greta’s case, without having worked a day at all, apparently. I suggest she work at the factory for a couple of years and then repeat her statements.

And it is better to live for a couple of years in a country with a less mild climate. Let’s say where it is -30 in winter. Surely she doesn’t hope that all 9 billion people will fit into the warm bosom of the Gulf Stream? Pollution from heating is also very significant. We don’t even turn off cars here in some cities because then we just won’t start them.

nitrolife ,
@nitrolife@rekabu.ru avatar

or you can’t buy if you’re not successful enough or you’re in the wrong country. For example, in my country, the minimum cost of a 1TB SSD is about $85 and a salary of $2,000 is considered a very successful salary at the upper limit

nitrolife , (edited )
@nitrolife@rekabu.ru avatar

You really won’t see this in the USA, because few people even reach the border. After September 11, the United States is fine with eliminating threats. For example, the United States knew about this attack for 2 weeks.

UPD: I also remind you that after September 11, the United States did not limit itself to one person but beat up an entire country

nitrolife ,
@nitrolife@rekabu.ru avatar

Eh, the era when it was possible to throw the interface through an SSH session is over. Sadly. Or maybe I’m just too old. XD

nitrolife ,
@nitrolife@rekabu.ru avatar

Thanks. Not full wayland protocol support and have a bugs, but something is greater than nothing. UPD: The utilization of the Internet channel has also increased

nitrolife ,
@nitrolife@rekabu.ru avatar

Short command wasn’t work in my env. I can run only with full sockets path. May be I do something wrong.

nitrolife ,
@nitrolife@rekabu.ru avatar

In first you need understand what type of suspend you use:

Suspend to RAM (aka suspend, aka sleep) The S3 sleeping state as defined by ACPI. Works by cutting off power to most parts of the machine aside from the RAM, which is required to restore the machine’s state. Because of the large power savings, it is advisable for laptops to automatically enter this mode when the computer is running on batteries and the lid is closed (or the user is inactive for some time). Suspend to disk (aka hibernate) The S4 sleeping state as defined by ACPI. Saves the machine’s state into swap space and completely powers off the machine. When the machine is powered on, the state is restored. Until then, there is zero power consumption. Hybrid suspend (aka hybrid sleep) A hybrid of suspending and hibernating, sometimes called suspend to both. Saves the machine’s state into swap space, but does not power off the machine. Instead, it invokes the default suspend. Therefore, if the battery is not depleted, the system can resume instantly. If the battery is depleted, the system can be resumed from disk, which is much slower than resuming from RAM, but the machine’s state has not been lost.

I think you use Hybrid suspend. Hybrid suspend store memory to disk (20 seconds lag) and then lost battery for memory renew. Need you Suspend to RAM maybe? 20 Seconds lag will fixed with that.

Then check


<span style="color:#323232;">cat /sys/power/mem_sleep
</span>

If you see


<span style="color:#323232;">[s2idle] shallow deep
</span>

check first if your UEFI advertises some settings for it, generally under Power or Sleep state or similar wording, with options named Windows 10, Windows and Linux or S3/Modern standby support for S0ix, and Legacy, Linux, Linux S3 or S3 enabled for S3 sleep.

If you don’t see anything you can swap sleep mode to Suspend to disk. That slow but don’t use any power. Or try fix sleep status.

More information you can find here: wiki.archlinux.org/title/…/Suspend_and_hibernate

nitrolife ,
@nitrolife@rekabu.ru avatar

You need to create an MX record in the DNS zone of your domain. Something like:


<span style="color:#323232;">@ IN MX 10 my.zome.
</span><span style="color:#323232;">@ IN MX 20 server1.my.zome.
</span>

You can create 1 MX record or more. 10 and 20 server priority for input mails.

Then you need to create an spf record. There are several options here. For example

@ IN TXT “v=spf1 +a +mx -all”

allows you to send emails from A domain records, then from MX domain records and prohibits from all other hosts.

Theoretically, you can only create an SPF record with A but without MX and dont create MX DNS records. Although I have not tried this configuration.

This is the minimum set after which you will get into spam, but at least the letters will reach.

You also need to make a PTR record to avoid spam folder, but this is not possible on a dynamic IP.

nitrolife , (edited )
@nitrolife@rekabu.ru avatar

Raid: wiki.archlinux.org/title/RAID

Don’t forget part “email notifications”. In addition to configuring the raid, you need to understand when the disk crashed, otherwise the raid will not help.

If you share files with windows. Basic way SMB share: wiki.archlinux.org/title/Samba

if you want share files with linux or windows with not basic ways you have many choises. NFS for example, or sshfs if you need folder time to time, or share directory with nginx ( stackoverflow.com/…/how-to-configure-nginx-to-ena… ), or overkill: nextcloud server.

UPD: In general, you just need to find a linux distributive with good documentation and use this documentation for the first time. Some things are solved differently in Linux than in Windows and you just won’t know about it without reading the wiki.

nitrolife ,
@nitrolife@rekabu.ru avatar

interesting facts about LVM:

  1. You can make a volume snapshot of the system before a major change (for example, an update).
  2. You can enable caching and use HDD together with SSD cache
  3. You can build raid 0,1,5 directly on LVM (you still need modules from mdraid)
  4. Even without a raid, you can expand the partition beyond one disk to another or migrate the partition from disk to disk (without even disabling it)

However, all this is done from the console and I do not know if there is a GUI.

nitrolife ,
@nitrolife@rekabu.ru avatar

I think that in order to solve such a question, we first need to consider something else. Why, if votes are so important to you, can’t you just create a bunch of accounts and vote honestly on any server?

As soon as we are really sure that 1 person is 1 vote, and not 10, 100, 10000 or any other number, then it is already possible to build trust checks between servers. Although it seems that this has not been solved even by large social networks.

The answer to your question in general is this: store the votes by servers and then double-check the result randomly.

S returns: 50 votes for a post from server A, 30 for a post from server B, 10 for a post from server C, etc. Then you can randomly check on these servers whether the amount is correct. However, there is no way to check the voices of server S, so they either have to be thrown out or still trust the server at its word. It is possible to fully verify server S only if registration on all servers goes through a trusted intermediary.

nitrolife , (edited )
@nitrolife@rekabu.ru avatar

I am always a little amused by the comments of Europeans about Russia as a country of madness and murder. Putin may be a murderer, but he is not a psychopath. Almost 100% is mushroom poisoning. Especially considering how many people in Russia actually pick mushrooms on their own and eat them. On average, about 10,000 Russians are poisoned by mushrooms every year due to the fact that they made a mistake when collecting in the forest. Dies, of course, much less, but the chance is non-zero. I also collect mushrooms in the nearby forest and eat almost all my life. And pickle for the winter too.

UPD: Considering that insults have began, I’m sorry if I offended someone. I’m just surprised how much people are really afraid of one person. Even he is a dictator. Putin kills a line engineer. What’s next? Eat children? It’s amazing that people write insults to me at all. What if I am also a hidden Putin and tomorrow the door handles will be smeared with a “novichok”? XD

nitrolife ,
@nitrolife@rekabu.ru avatar

So what? How are civil servants, paramilitary formations created personally by Putin, and a linear engineer connected?

If Putin’s logic is mysterious to you, I can easily explain it. If you personally took money from Putin, then obey the commands. Especially if we talk about the military, which has the largest state preferences. Pension at 35 years old. Pensions are 3 times more than standard ones. Any government support, apartments, anything else. Big profits are big risks.

Politicians literally almost all entered the government through Putin’s party. In this situation, you should not try to run over to the other side, it’s obvious.

And an ordinary engineer clearly does not fit into this logic.

nitrolife ,
@nitrolife@rekabu.ru avatar

The full map of the Russian-Chinese border appeared only 15 years ago. I mean, approved by both sides. Surprisingly that claims were limited to just one island. the neighboring island has already been given to China just at the signing of the border. if China asks hard, I think this one will be given.

nitrolife ,
@nitrolife@rekabu.ru avatar

the transfer of the island does not make you a vassal. especially if before that you unilaterally selected an entire region. this piece of land was a free region even under the tsar. then Russia took it for itself, which of course China did not like under any pretext. and now, 100 years later, the border has been agreed, albeit at the cost of one or two islands.

nitrolife ,
@nitrolife@rekabu.ru avatar

So. This is a Russian soda. Developer name call like “goodness” on bottles. That is directly Coca-Cola, Fanta and Sprite in another bootles.

P.S. By the way they do juices too.

nitrolife ,
@nitrolife@rekabu.ru avatar

If you need fast online share you can use nginx + WebDAV module . You can use ip filters or auth. Or disable any auth.

nitrolife ,
@nitrolife@rekabu.ru avatar

That’s look like not renewable, but like “smaller resources cost”.

nitrolife ,
@nitrolife@rekabu.ru avatar

Russia break into a pile of separate republic is practically impossible, as it will cause colossal pain for literally all states. It is much easier to negotiate with one dictator with a nuclear button than with twenty.

nitrolife ,
@nitrolife@rekabu.ru avatar

By the way, this was corrected in the amendments to the constitution 6 years ago. Just when Putin went for a new term “because the constitution was changed, which means it’s like zeroing out the terms”. If you interesting.

nitrolife ,
@nitrolife@rekabu.ru avatar

then you don’t quite understand how the Russian economy works. The regions do not have their own economic system and their own army either. Both money and people pass through Moscow. how to find resources for the collapse in such conditions is unclear to me. If only you believe in the people in a single impulse organizing their own government. This is also very unlikely.

nitrolife ,
@nitrolife@rekabu.ru avatar

Yes yes. The evil Putin has usurped all power alone and is standing up to the entire government like a real Russian. And he probably shot Nemtsov personally.

In fact, there are many interested forces in the government. People for war, people against war, people who don’t care. Everything is like everywhere else.

Prigozhin went on his march because Putin tried to legally ban Wagner by transferring all financial flows to the army. Prigozhin received the money and quietly left. probably literally everyone knows this. how fashionable it is to believe in the image of a strong old man is a mystery to me.

nitrolife ,
@nitrolife@rekabu.ru avatar

That number show local subscribers. I think that not a bug.

nitrolife ,
@nitrolife@rekabu.ru avatar

Show all instances subscribers technically impossible. Or all instanses must go to all another instances (with banned too) and calculate total number. See local subscribers better then nothing.

nitrolife ,
@nitrolife@rekabu.ru avatar

You can configure grafana without gui. That explain in grafana.com/docs/grafana/latest/…/provisioning/

nitrolife ,
@nitrolife@rekabu.ru avatar

You can create graph on the UI and then export to json. To be honest, it’s hard for me to imagine a situation where graphs need to be edited so often. After all, there are excellent template engines in Grafana itself. For quick look anyone can use Explore panel. Maybe I don’t have so much data…

Selfhosted Monitoring Tools

I’ve got a lot of services, some in docker, some in LXC or a VM in proxmox. Currently I’ve got no monitoring service. Recently a service went down and I didn’t notice for quite a while so now I’ve got a bunch of missing data. What monitoring tools do you all use? Looking for something that works with docker and plain...

nitrolife ,
@nitrolife@rekabu.ru avatar

I use:

  1. Monitoring server - prometheus
  2. Alert manager for prometheus - alertmanager. You can write any triggers here.
  3. Web UI for prometheus - Grafana
  4. Exporters for prometheus - node-exporter, blackbox-exporter, mysql-exporter, psql-exporter etc. You can find exporter for everything you need.
  5. Some services native support pormetheus. Docker for example: docs.docker.com/config/daemon/prometheus/

If you whant cluster you can install thanos on prometheus.

nitrolife ,
@nitrolife@rekabu.ru avatar

prometheus use own time series database. you can connect influxdb to grafana and send alarms from grafana, but alertmanager better i think. node-explorer can collect all this data (sensors, VM/PC load etc.)

nitrolife ,
@nitrolife@rekabu.ru avatar

Grafana sends an email screenshot of the graph when an event is triggered on the graph. You can see alerts part on any graph for understand.

Russia is preparing for a long war (en.thebell.io)

Russia’s war in Ukraine is already in its 17th month. In that time, President Vladimir Putin has clearly demonstrated that he is not bothered by losses — whether they be financial, material, or human. His war will go on as long as he needs. And, judging by how the authorities have woven the so-called “special military...

nitrolife ,
@nitrolife@rekabu.ru avatar

no one is counting on pensions here. even if you have worked all your life in 2 companies at the same time with salary near 4000$ at mounth, you will receive pension only $160 per month.

nitrolife , (edited )
@nitrolife@rekabu.ru avatar

that is, 0.6% of the total number of people who can be drafted into the army.

The current political regime is not particularly concerned about military losses. even if we take into account the 2 million Russians who left, 200,000 people still make up about 1% of the number of conscripts. Even if we assume that half of them will somehow manage to escape from the Ministry of Defense, 15 million people can still be called up into the army.

nitrolife , (edited )
@nitrolife@rekabu.ru avatar

the Russian army has never been well trained. Almost the entire composition of the army below the officers are forcibly conscripted civilians. the number of contractors is ridiculously small.

the Russian army has never been contracted. And a year of training of a forcibly conscripted person always gives approximately the same result.

UPD: if we lived in the world of starcraft, Russia would undoubtedly be Zerg. In general, the command and tactics are applied accordingly - a swarm of Zerg. I am generally surprised that conscripts are at least given weapons.

when I served in the army on universal conscription for 2.5 years of compulsory conscription many, years ago, I fired from a machine gun about 2 times. This is the average level of training of a Russian soldier.

nitrolife , (edited )
@nitrolife@rekabu.ru avatar

No one would understand what the amount in rubles means here. I suspect that even in dollars it is difficult to understand.

For example, is it possible to survive in Russia on $ 160 a month? The answer is - if you have a living space in a property or a country house, then yes, although this will make you save a lot on food, and in some cases you will starve a little.

In general, if you are interested in delving into the topic, there are a lot of social benefits for pensioners in Russia. For example, you can not pay land tax if you live outside the city, do not pay tax for a car, do not pay for public transport and in some cases for train tickets. Medical care is also free, although queues usually line up for several weeks in advance. But almost all of these benefits are provided not by the pension fund, but by other.

I can’t speak for everyone, but many of my friends pensioners who have suburban plots are engaged in gardening to save on food. In any case, in the western part of Russia, where the climate allows.

In any case, in numbers, the situation is still exactly like this. My father has not worked officially for half his life and receives a pension of 13,000 rubles. 143$. My mother worked almost all her life at two jobs with a high salary and receives 18,000 rubles. 197$. Almost all pensioners rely on children to provide money or work to death.

And proof for you:

https://rekabu.ru/pictrs/image/d39baba7-4d09-41c6-9274-939d59d7dcf7.jpeg

nitrolife ,
@nitrolife@rekabu.ru avatar

Well, that’s right. But already now the business is starting to hire women more willingly than men who can conscripted. And just recently, a law was passed that those who could refuse the draft after entering the institute would still serve after the institute. Government introduced new much stricter laws against draft evasion. Look like preparation for the beginning of mobilization.

nitrolife ,
@nitrolife@rekabu.ru avatar

By the contract, a person of any age can now be called up until the rifle falls out of his hands. So it’s even less than it could theoretically be required. www.rbc.ru/politics/…/6291e8e79a7947008579486b

In the Russian Federation, the same resolution on conscripts can be issued one day at any time.

nitrolife ,
@nitrolife@rekabu.ru avatar

I think not. the regime is very slow to advance its interests, and you don’t have time to look back, because 7 years have passed, and everyone has served at least a year in a hot spot.

For example. Mobilization has begun. People were outraged. Everyone was shown on TV how Putin promises that they will not demand more. What we really have: no one has canceled the mobilization on paper. Mobilization orders are coming in, only slowly, so as not to cause unrest. Contractors cannot quit after the contract expires, as mobilization and military operations seem to be continuing. For greater security, they began to send out mobilization orders through state websites, so as not to run after those who are runs away from the military commissariat. And if he did not show up, then he is deprived of his driver’s license and credit rating. But I don’t see any dissatisfaction.

And so it is everywhere.

nitrolife ,
@nitrolife@rekabu.ru avatar

I didn’t mean that 30 million people would go to the front in a single rush. I suspect that at least half of them will hide from the army in all possible ways. Nevertheless, I cannot imagine a situation where slow replenishment of the reserve will not help. If only for months there will be hot battles every day with thousands of dead.

nitrolife ,
@nitrolife@rekabu.ru avatar

Debts forgiven by years:

  • 2005: Syria $9.7 billion , Ethiopia $1.1 billion
  • 2006: Algeria 4.7 billion $
  • 2007: Afghanistan 11.1 billion $
  • 2008: Iraq $12 billion , Libya $4 billion
  • 2010: Afghanistan $891 million, Mongolia $180 million
  • 2012: North Korea 11 billion $
  • 2013: Kyrgyzstan 500 million $
  • 2014: cuba $30 billion
  • 2015: Madagascar 88.9 million $
  • 2016: Mongolia $ 172 million , Uzbekistan $865 million

etc. Debt forgiven actually happens every year, nothing new.

nitrolife , (edited )
@nitrolife@rekabu.ru avatar

On DNS you need A record if you have ipv4 only or A and AAAA records if you have ipv4 and ipv6.

You DNS outside you home servers? If you have dynamic IP at home you can’t host DNS on home server.

You have only 1 IP? You need port forwarding on you home gateway to home servers if you use somerhing like SSH. If you want access to something web based you need proxy. NGINX for example.

How it exactly work:

  • Somewhere someone write youdomain.com in browser.
  • Browser ask local dns: who is youdomain.com
  • local dns ask another dns, and another and in one iteration request go to you dns. Or maybe some of dns have cached answer. But imagine that not.
  • You dns send answer youdomain.com is 111.222.333.444 for example. That is A record.
  • DNS work stop on that.
  • Browser send request to 111.222.333.444 with HTTP header “Host: youdomain.com” and some path. / or /something maybe.
  • Some balancer should get request and send in to right server in you home network.

UPD: don’t show to internet something risky interfaces. Proxmox web panel or something like that. This is a real bad idea. For that type of services VPN extremely greatest. Send you DNS to public without protection not a great idea too. Including pihole. I think you will get into some botnet already on the 3rd day of work.

nitrolife ,
@nitrolife@rekabu.ru avatar

If on all trackers that hard to calculate.

First tracker: Upload 558.385 TB download ??? Ratio ???

Second tracker: Upload 11 TB download 12 GB ratio 979

I don’t know how calculate anonymous trackers.

On current client:

Upload 46 TB, download: 2,5 TB, ratio 19, uptime 7 days

nitrolife ,
@nitrolife@rekabu.ru avatar

But he doesn’t deny climate change, he denies that man has such a big influence on him. Or maybe he denies the theory that nature itself is not able to regulate temperature. After all, uncomfortable for a person does not mean uncomfortable for nature as a whole.

nitrolife ,
@nitrolife@rekabu.ru avatar

I recommend kyocera. maybe you’ll say, “man, you can buy 4 inkjet for the price of ecosys”, but on the other hand, you bought a ecosys and you can fill it with toner just from a balloon until the drum unit wears out.

nitrolife ,
@nitrolife@rekabu.ru avatar

Try running top and see the global cpu/mem statistics when loading images. Look at what a high-load process is. Check that docker is not installed via snap.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines