Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
So, not everywhere.
-
This is a short one, for me own notes.
-
In an earlier post I was using existing floppy disk images with qemu and 86box.
-
Install the createrepo_c tool if it is not already installed. sudo dnf install createrepo_c Create a directory for the repo and copy the packages sudo mkdir /srv/repos/local Create the repository metadata sudo createrepo_c /srv/repos/local Create a repo
-
Sometimes I need to push an emtpy commit just to trigger a pipeline. # git commit --allow-empty -S -s -m 'chore: trigger pipeline'
-
This is probably wrong, but it's what I did to fix not being able to run GOG Games on Fedora. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/jdm/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/ If it works for you to, that's great!
-
I often find myself commit changes to main that I should of put in a different branch.
-
I recently moved my Plex Media Server from a Docker container to installed directly on a server.
-
Working with cURL you can get lots of useful and detailed information.
-
Remove all comments from a Bash script :g/^\#/d Remove all blank lines :g/^$/d
-
Sometimes I want to tail a file but only print certian things. $ tail -f /var/log/messages | grep --line-buffered 'important-message'
-
End an active telnet session with CTRL+] and then quit.
-
Use the QEMU monitor by entering CTRL+ALT+2.
-
When EscapeChar has not been disabled, and EnableEscapeCommandline is enabled it's possible to use the SSH command line to enabled Port Forwarding in an already active SSH session.
-
Installing Webmin on AlmaLinux is fairly straightforward.
-
Quick way to determine what model of Raspberry Pi you have from the command line. cat /sys/firmware/devicetree/base/model Raspberry Pi 4 Model B Rev 1.5sysop@pi5:~$
-
When you have entered a service-module session, for example connecting to NM-16ES-1G-P switch module, and you would like to disconnect and return back to the host router you need to press Ctrl+Shift+6, then X.
-
With systemd, it is easy to configure a service to automatically restart when it's crashed.
-
When using cloud-images from various distrobutions, sometimes the qemu-guest-agent isn't installed.
-
Examine a single certificate Examine a file that contains multiple certificates Verify a certificate is valid using a specific root.
-
If you have a private SSH key but need to regenerate the public key again, use ssh-keygen with -y.
-
netboot.xyz lets you PXE boot various operating system installers or utilities from a single tool over the network. — netboot.xyz Enable TFPT service on Synology DSM Control Panel > File Services > Advanced Check "Enable TFTP service" Select TFPT root fol…
-
After many months of using Synology Storage Analyzer to create automatic reports recently these have been failing with the error Storage Analyzer: A data write error occurred while generating the usage report.
-
Both grep and cat can include line numbers.
-
Add an override. sudo systemctl edit systemd-resolved [Service] Environment=SYSTEMD_LOG_LEVEL=debug Make changes active. sudo systemctl restart systemd-resolved View logs. journalctl -u systemd-resolved -f And when you're done, undo all these changes. su…
-
This is a work in progress.
-
I use healthchecks.io to monitor several cronjobs and this works great.
-
End a hung ssh sessions with ~ + ..
-
Just a list of the 3rd party plugins I have installed in Octoprint.
-
You can view markdown files using any file viewer.
-
There are times when your home directory might not be available.
-
Yum keeps a local cache.
-
Show the fingerprint of an SSH key $ ssh-keygen -l -f ~/.ssh/id_rsa The default hashing is sha256, however it might be more useful to see the fingerprint in md5. $ ssh-keygen -l -f ~/.ssh/id_rsa Less useful, but sometimes fun, is showing the randomart a…
-
$ chronyc -a 'burst 4/10' $ sleep 5 $ chronyc -a makestep References chrony - chronyc(1)
-
virt-customize can be used to customize a virtual machine image by installing packages, editing configuration files, and so on.
-
Prepare the clone Use the virt-sysprep command to reset a virtual machine.
-
Configuring libvirt First libvirt needs to be configured.
-
If the journal is configured to archive entires these can take up unnecessary disk space when not properly maintained.
-
How to reset an unknown root password using rd.break on RHEL 7.
-
Using screen you can connect to any serial device in /dev.
-
Ping nodes on the local network segment using multicast1 ping6 -c2 -I <interface> ff02::1 Then, view IPv6 neighbors ip -f inet6 neigh References https://en.wikipedia.org/wiki/Multicast_address ↩
-
To renew an expiring, or extend the expiration of a gpg key edit the key and set a new expiration date. gpg --edit-key <keyid> command> list command> key [keyid] command> expire command> save Where keyid above is the key that is expiring.
-
Use ntpd -gc to start the NTP daemon and set the time regardless of what the offset between the local and remote clock is.
-
Show all iptables rules and include line numbers iptables -L INPUT --line-numbers Replace iptables rule at a specific line number iptables -R X INPUT <new rule here>
-
The pvresize command can be used to grow an existing physical volume so long as you grow the parition on the underlying device.
-
# a config file for sSMTP sendmail
-
These are my notes on getting caff configured and working in order to send signed keys after the OhioLinuxFest keysigning.
-
Packages and Services On RHEL7Server the OpenIPMI and ipmitool are necessary to configure and use IPMI. $ yum install OpenIMPI ipmitool Networking Configure a static ip address on the first port.
-
After failing to update the initrd after making changes to the plymouth boot I was unable to boot into the kernel.
-
Two changes are needed to have dovecot update lastlog when a user logins with either imap or pop3.