Name:asic-sentryVersion:1.0.0Release:1%{?dist}Summary:ASIC Sentry is a monitoring software designed to collect and send operational logs from ASIC Miners to a Mining Rig MonitorLicense:GNU General Public License v3.0URL:https://github.com/nguyenvinhlinh/ASIC-SentrySource0:asic-sentry-1.0.0.tar.xz%descriptionASIC Sentry is a monitoring software designed to collect and send operational logs from ASIC Miners to a Mining Rig Monitor%global debug_package %{nil}%prep%autosetup%buildcd assets;npm install;cd ..;mix deps.get --only prodMIX_ENV=prod mix compileMIX_ENV=prod mix assets.deployMIX_ENV=prod mix release%installmkdir -p %{buildroot}/opt/asic_sentrycp -r _build/prod/rel/asic_sentry/* %{buildroot}/opt/asic_sentry%files......A long list of installed files....%changelog*Tue Feb 04 2025 Nguyen Vinh Linh <nguyenvinhlinh93@gmail.com>-Support KS5L asic
Step 3. Run rpmbuild
$ cd SPECS;$ rpmbuild -bb asic-sentry-1.0.0.spec
Gonna see error:
ERROR 0002: file '/opt/asic_sentry/lib/crypto-5.5/priv/lib/crypto.so' contains an invalid runpath '/usr/local/lib64'
crypto is an erlang module. I dont know how to modify it. this is a work around!
4. Firewall-cmd service - /etc/firewalld/services/woodpecker-server.xml
<?xml version="1.0" encoding="utf-8"?><service><short>Woodpecker Server</short><description>This option allows woodpecker to use tcp port 443 HTTPS</description><portprotocol="tcp"port="443"/></service>
After along time disable SELinux, now you might want to enable it in Enforcing mode. After OS boot, in terminal,
you may not login even though you did enter correct username/password. It’s because your files not to be labeled or
labeled with SELinux context not matching the install policy.
The solution is that you ask SELinux to re-label in the next reboot. Enter the following command.
$ touch /.autorelabel
Then reboot!
In case you forget to do it. you need to go to rescue mode while booting the system, the GRUB2 menu will be displayed.
To boot the system into rescue mode using bash follow these steps:
Select the boot entry you wish to edit with the arrow keys.
Select the entry you wish to edit by pressing e.
Use the arrow keys to go to select the line beginning with linux, linux16, or linuxefi.
Go the the end of that line and include a space and the following rw init=/bin/bash.
If your disk is encrypted, you may need to add plymouth.enable=0
Press Ctrl-x or F10 to boot the entry
Then enter command line touch /.autorelabel and reboot!
I have seen this problem using OrcaSlicer V2.2.0 Official Release on Fedora 39. Even though, I clone the source code and build AppImage myself. this issue still happens.
The main solution to this problem is to disable webkit composition mode before executing OrcaSlicer.
I currently live in a mini apartment with its bathroom not having an exhaust system. This is a major issue.
In reality, it doesn’t need to be said; it’s very inconvenient. The landlord refuses to drill into the wall or make any repairs.
As I am unemployed and addicted to manufacturing, my products aren’t particularly innovative. Yes, they are a gas air purifier. My product is nothing new at all.
But why do I create them when I could just buy one? If I don’t work on simple tasks, even those that others have already done,
I’ll never come up with any creative ideas or design anything better than what others have created before. And further, I won’t be able to make
more complex products.
If profit is the top priority and time-saving is a goal, I’d look for something on Lazada or Shopee, and then I wouldn’t be able to create anything more refined!
By the way, here are some pictures of the product. Just for fun, I designed and 3D printed it myself.
[1] Plasticity design[2] Product from left to right[3] Product from right to left[4] Activated cabon rack installed[5] Activated cabon rack uninstalled
At the time of creating this product, I didn’t have any measuring equipment, so I couldn’t check if the concentration of methanol and ammonia in the air purifier
was accurate. I couldn’t even verify if my product really solves a problem or just has a placebo effect.