Quantcast
Channel: sleeplessbeastie's notes
Browsing all 770 articles
Browse latest View live
↧

How to inspect a path during the troubleshooting process

Inspect a path during the troubleshooting process. Display help information for the namei utility which is a part of the util-linux package. $ namei --help Usage: namei [options] <pathname>......

View Article


How to use LibreTranslate with Mastodon

Install LibreTranslate and configure Mastodon to take advantage of it. This is a minimal viable product for testing alongside Mastodon instance installed from the source code, bare-metal only. See...

View Article


How to create persistent sysfs configuration using systemd

Create persistent sysfs configuration using systemd which can replace sysfsutils. Inspect current configuration for volatile and temporary files. $ systemd-tmpfiles --no-pager --cat-config #...

View Article

How to create Mastodon maintenance jobs

Create Mastodon maintenance jobs for bare-metal Mastodon installation from source code. Remove downloaded media files. $ cat

View Article

How to keep custom number of snap revisions

Define a custom number of snap revisions. Since snap 2.34 you can use refresh.retain option to define a number of kept revisions (between 2 and 20). By default it is 3 on Ubuntu Core and 2 on other...

View Article


How to change encryption key used for gossip messages

Change encryption key used for gossip messages. List current key. $ consul keyring -list ==> Gathering installed encryption keys... WAN: AcHUV+z4kLDJiQeVqLAh2sG25SH4K4WYU6oIru29lSM= [3/3] dc-lab-1...

View Article

How to remove disabled snaps

Remove disabled snaps which are not longer used. List installed snaps. Notice, some of these are disabled as there are multiple revisions available. $ snap list --all Name Version Rev Tracking...

View Article

How to create Consul snapshots for disaster recovery

Create HasiCorp Consul snapshots for disaster recovery. Create backup snapshot. $ consul snapshot save backup.snapshot Saved and verified snapshot to index 228462 Inspect snapshot. $ file...

View Article


How to reload consul configuration

Reload consul configuration. Use consul utility Trigger reload using consul utility. $ consul reload Configuration reload triggered Use HUP signal Determine consul process ID. $ systemctl show...

View Article


How to determine when Consul snapshot was created

Determine when HashiCorp Consul snapshot was created. Inspect snapshot. $ consul snapshot inspect backup.snapshot ID 77479-228462-1660165996971 Size 53121 Index 228462 Term 77479 Version 1 Type Count...

View Article
Browsing all 770 articles
Browse latest View live