VirtualTam's bookmarks
112 bookmarks found
-
- https://brandonwamboldt.ca/understanding-the-php-fpm-status-page-1603/
- http://www.gregfreeman.io/2016/how-to-connect-to-php-fpm-directly-to-resolve-issues-with-blank-pages/
- https://www.thatsgeeky.com/2012/02/directly-connecting-to-php-fpm/
- https://easyengine.io/tutorials/php/fpm-status-page/
$ SCRIPT_NAME=/status \ SCRIPT_FILENAME=/status \ QUERY_STRING=json \ REQUEST_METHOD=GET \ cgi-fcgi -bind -connect /var/run/php/php7.0-fpm.sock \ | grep '{' \ | jq '.'
-
Extension with Compose format 3.4+:
- https://github.com/moby/moby/issues/31101
- https://github.com/docker/compose/issues/4315
- https://github.com/docker/cli/pull/452
- https://github.com/docker/compose/pull/5140
- https://stackoverflow.com/questions/45279662/extend-service-in-docker-compose-3
Inheritance through YAML anchors:
-
Træfik options:
- https://docs.traefik.io/configuration/backends/docker/
- https://docs.traefik.io/configuration/commons/
Relevant backend labels:
traefik.port
traefik.docker.network
traefik.backend.loadbalancer.method
traefik.backend.loadbalancer.stickiness
Examples:
Gateway timeout and overlay network setup:
-
NPM, Yarn and private repositories
2018-06-08 Hosting private repositories and using them in CI/CD:
- https://docs.npmjs.com/private-modules/intro
- https://docs.npmjs.com/private-modules/ci-server-config
- https://docs.npmjs.com/private-modules/docker-and-private-modules
Threads:
- https://stackoverflow.com/questions/45191189/nexus-manager-npm-401-unauthorized
- https://stackoverflow.com/questions/40845598/how-do-i-use-multiple-npm-registries-in-yarn
- https://github.com/yarnpkg/yarn/issues/606
- https://github.com/yarnpkg/yarn/pull/839
- https://github.com/yarnpkg/yarn/pull/871
- https://github.com/yarnpkg/yarn/issues/4451
- https://github.com/yarnpkg/yarn/issues/4862
- https://github.com/npm/npm/issues/16528
Articles:
node-sass binaries:
- https://github.com/sass/node-sass#binary-configuration-parameters
- https://github.com/sass/node-sass/releases
- https://github.com/sass/node-sass/issues/1466
- https://github.com/sass/node-sass/issues/1554
- https://github.com/sass/node-sass/issues/1635
- https://github.com/sass/node-sass/issues/1991
- https://github.com/sass/node-sass/issues/2115
- https://github.com/sass/node-sass/issues/2361
- https://stackoverflow.com/questions/40178767/is-it-possible-to-install-node-sass-without-downloading-from-github-during-the-p
-
Miller columns
2018-05-30 DFileManager:
ElementaryOS' Pantheon Files (Marlin fork):
- https://launchpad.net/pantheon-files
- https://wiki.archlinux.org/index.php/Pantheon
- https://www.noobslab.com/2013/11/marlin-file-manager-for-ubuntu.html
- https://www.noobslab.com/2014/09/marlin-file-manager-is-now-available.html
- https://www.noobslab.com/2014/03/elementary-os-file-manager-pantheon.html
Misc:
-
-
- https://forum.manjaro.org/t/new-kernel-4-16-causes-display-flashes-on-amd-r9-3xx-tonga/44302/13
- https://bugzilla.kernel.org/show_bug.cgi?id=199407
- https://www.reddit.com/r/archlinux/comments/7vxnam/redshift_flickering_display_after_415_kernel/
- https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-DC-Pull-Request-4.15
- https://github.com/jonls/redshift/issues/221
-
Vagrant and VirtualBox "NAT Network" adapter
2018-04-27 - https://github.com/hashicorp/vagrant/issues/2779
- https://github.com/hashicorp/vagrant/issues/6252
- https://github.com/hashicorp/vagrant/issues/7635
- https://www.virtualbox.org/manual/ch06.html
- https://www.vagrantup.com/docs/virtualbox/networking.html
- https://superuser.com/questions/1155262/network-interface-available-only-when-running-vm-through-virtualbox-but-not-thr
- https://unix.stackexchange.com/questions/29999/why-are-my-two-virtual-machines-getting-the-same-ip-address
-
Here are the steps I used to migrate a CentOS 7 VM from (presumably?) an ESXi server, to a local VirtualBox environment.
The LVM volumes were not detected at boot, and after the boot timeout, the OS fell back to the Dracut emergency shell.
- get a CentOS minimal installation CD
- check the VM's resources and peripherals:
- ensure there are no floppy drives (!)
- setup CPU and RAM resources
- check virtual drives
- add an SCSI optical drive if needed
- optional: convert the virtual drive images from VMDK to VDI
- mount the CentOS installation disc
- boot on the installation disc:
- select "Troubleshooting", then "Rescue"
- let the rescue utility detect filesystems and mountpoints
$ chroot
to the detected environment- backup files:
/etc/fstab
/boot/grub/grub.cfg
- under /boot, backup the initrd and initramfs for the current configuration (these will be overwritten)
- compare the current
/etc/fstab
with the output of$ lsblk
and$ blkid
- if needed, manually edit /etc/fstab to use the appropriate block device UUIDs, identifiers and mountpoints
- regenerate GRUB configuration:
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- if needed, reinstall GRUB:
$ grub-install /dev/sda
- rebuild initrd:
$ mkinitrd --force /boot/<initrd_image> <kernel_version>
- rebuild initramfs:
$ dracut --force <kernel_version>
- exit the chroot
- unmount the installation disc
- reboot
- optional but highly recommended: cross your fingers
- ...
- profit!
-
-
-
- https://www.elastic.co/guide/en/logstash/current/field-extraction.html
- https://www.elastic.co/guide/en/logstash/current/config-examples.html
- https://github.com/logstash-plugins/logstash-patterns-core/blob/master/patterns/grok-patterns
- https://logz.io/blog/logstash-grok/
- https://github.com/elastic/logstash/issues/2965
-
Sphinx, apidoc and Django
2018-01-28 - https://stackoverflow.com/questions/34461088/sphinx-apidoc-on-django-build-html-failure-on-django-core-exceptions-appregistr
- https://stackoverflow.com/questions/19037649/using-sphinxs-sphinx-apidoc-utility-to-autogenerate-documentation-from-python-c
- https://stackoverflow.com/questions/46375983/sphinx-apidoc-strange-output-for-django-app-models-py
- http://www.sphinx-doc.org/en/stable/man/sphinx-apidoc.html
- https://github.com/sphinx-doc/sphinx/issues/2095
- https://samnicholls.net/2016/06/15/how-to-sphinx-readthedocs/
- http://www.sphinx-doc.org/en/stable/ext/napoleon.html
-
How to Setup FileBeat with Basic Auth for LogStash Output? - Filebeat - Discuss the Elastic Stack
2018-01-12 - https://github.com/logstash-plugins/logstash-input-beats/issues/8
- https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html
- https://www.elastic.co/guide/en/beats/filebeat/master/config-filebeat-logstash.html
- https://www.elastic.co/guide/en/beats/filebeat/current/configuring-ssl-logstash.html
- https://www.gilesorr.com/blog/elkbeats-beats-secure.html
- https://discuss.elastic.co/t/beats-logstash-security-use-of-security-token-to-authenticate-clients/104981/4
- https://stackoverflow.com/questions/40341664/how-to-configure-logstash-and-filebeat-ssl-communication