Viewing posts for the category Omarine User's Manual

Scanning for viruses in the secure domain

Open source systems have begun to "get" the virus to care. The gdk-pixbuf software package has been identified by ClamAV antivirus software as virus infection since the releases after gdk-pixbuf-2.37:

Setting up security policy for xscreensaver-systemd

xscreensaver-systemd now belongs to the default installation of xscreensaver since xscreensaver-5.44. It works to lock the screen when the system goes into sleep mode.
However, the security rules for xscreensaver-systemd are not yet common, and we set it up in this article
We first declare the role group xscreensaver_systemd_roles, the type of domain and the type of the binary file

Counting the number of rows in the spreadsheet that meets a condition

Assuming you enter the products in the spreadsheet, each row is a product with a production date and product code. Given that the date data in column A, the product code in column B, cell D14 is used to count the number of products in a day, for example, October 12, 2019.
We can use a very simple but highly effective formula, an array formula - a situation using advanced SUM function. Select a representative cell with required date data, for example A7. The resulting formula in cell D14 is as follows

When to start the firewall?

This article is for those who want to learn the systemd units. The units need to work together and be started at the right time to ensure operational efficiency.

Firewalls are used to control incoming and outgoing packets, block unwanted packets from the outside and allow only certain applications to make new connections from the inside.

Thus the firewall must be running before any network is set up. The target identifying this point is, so we will start the firewall before is a passive unit, it only runs when another unit pulls it in. Here is the firewall service firewall.service

With, the target will be run

The firewall service is installed to be pulled in by the target, a special unit that is started during boot which indicates network functionality is available

firewall.service is the common firewall service that is enabled by default. If you want to run a firewall on a specific network interface, for example wlp3s0, run the following commands as the root user

Preparing to install GRUB on the GPT drive

GPT is a type of partition table for large drives that exceed the 2 TiB size limit of MBR.
Disk partitioning and filesystem creation for GPT drives using disk tools are no different from MBR. However, to install GRUB on it we need to create a BIOS Boot Partition partition specifically for GRUB.

Here are the practical steps on the /dev/sdb drive

1) Create GPT partition table
Before creating the partition table, you should use wipefs to wipe the signatures to avoid warning. All commands here are run as the root user