VirtualTam's bookmarks
56 bookmarks found
-
Scaling Docker with Kubernetes
2018-09-13 - https://github.com/jenkinsci/kubernetes-plugin
- https://github.com/jenkinsci/kubernetes-plugin/tree/master/examples
- https://issues.jenkins-ci.org/browse/JENKINS-48421
- https://www.blazemeter.com/blog/how-to-setup-scalable-jenkins-on-top-of-a-kubernetes-cluster
- https://stackoverflow.com/questions/49988038/declarative-jenkins-pipeline-use-existing-kubernetes-pod-template
-
coturn TURN server project
2018-08-03 - https://github.com/coturn/coturn/wiki/turnserver
- https://www.linuxbabe.com/linux-server/install-coturn-turn-server-spreed-webrtc
- https://webrtc.ventures/2017/08/quick-guide-stunturn-webrtc/
- https://stackoverflow.com/questions/40583954/coturn-stun-works-but-turn-does-not-work
- https://hub.docker.com/r/instrumentisto/coturn
- https://help.nextcloud.com/t/howto-setup-nextcloud-talk-with-turn-server/30794
- https://en.wikipedia.org/wiki/STUN
- https://en.wikipedia.org/wiki/Traversal_Using_Relays_around_NAT
-
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:
-
MediaWiki Docker deployment
2018-06-28 Docker images:
- https://hub.docker.com/_/mediawiki/
- https://hub.docker.com/r/wikimedia/mediawiki-node-services/
- https://github.com/wikimedia/mediawiki-node-services
- https://hub.docker.com/r/thenets/parsoid/
- https://github.com/thenets/docker-parsoid
- https://hub.docker.com/r/pastakhov/restbase/
- https://github.com/pastakhov/docker-restbase
Visual Editor:
- https://www.mediawiki.org/wiki/VisualEditor
- https://www.mediawiki.org/wiki/Extension:VisualEditor
- https://www.mediawiki.org/wiki/Parsoid
- https://www.mediawiki.org/wiki/Parsoid/Setup
- https://www.mediawiki.org/wiki/RESTBase
- https://www.mediawiki.org/wiki/RESTBase/Installation
Compose examples:
-
Container setup:
- https://gist.github.com/netdesk/c1db2985b542f9916995139318e5a7ce
- https://hub.docker.com/r/jwilder/nginx-proxy/
- https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/
Gitlab settings:
- https://docs.gitlab.com/omnibus/docker/
- https://docs.gitlab.com/ce/administration/environment_variables.html
- https://docs.gitlab.com/omnibus/settings/ssl.html
- https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template
Performance considerations:
- https://docs.gitlab.com/omnibus/settings/memory_constrained_envs.html (skip the
cgroups
section for Gitaly as we are already running in a container) - https://docs.gitlab.com/ee/update/#gitaly-omnibus-gitlab-configuration-structure-change for Gitlab 16 changes to Gitaly configuration
-
Qt for Python - Qt Wiki
2018-05-07 - https://blog.qt.io/blog/2018/04/13/qt-for-python-is-coming-to-a-computer-near-you/
- https://blog.qt.io/blog/2018/05/04/hello-qt-for-python/
- https://blog.qt.io/blog/2018/06/13/qt-python-5-11-released/
- https://groups.google.com/forum/#!topic/pyside-dev/pqwzngAGLWE
- https://codereview.qt-project.org/gitweb?p=pyside/pyside-setup.git;a=summary
-
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!
-
-
Linux - Network over USB (usbnet)
2018-04-03 -
https://superuser.com/questions/145933/how-to-add-usbnet-driver-to-the-linux-kernel#145944
-
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/usb/usbnet.c
-
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/usb/cdc_ether.c
-
https://raspberrypi.stackexchange.com/questions/9636/usb-to-usb-mimicking-ethernet
-
https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=131042
-
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=130810
-
https://www.raspberrypi.org/forums/viewtopic.php?p=865905#p865905
-
https://raspberrypi.stackexchange.com/questions/13917/raspberry-pi-communication-over-usb
-
https://developer.ridgerun.com/wiki/index.php/How_to_use_USB_device_networking
-
http://www.ev3dev.org/docs/tutorials/connecting-to-the-internet-via-usb/
-
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
-
- https://www.elastic.co/guide/en/logstash/master/config-examples.html
- https://github.com/logstash-plugins/logstash-patterns-core/blob/master/patterns/httpd
- https://discuss.elastic.co/t/apache-error-logs-timestamp/82010/9
- https://discuss.elastic.co/t/parsing-apache-logs-combinedapachelog-commonapachelog-not-working/82007
- http://www.thegeekstuff.com/2014/12/logstash-setup/
-
- https://docs.ansible.com/ansible/latest/playbooks_conditionals.html#register-variables
- https://docs.ansible.com/ansible/latest/authorized_key_module.html
- https://stackoverflow.com/questions/25629933/ansible-copy-ssh-key-from-one-host-to-another#25644384
- https://stackoverflow.com/questions/35808649/ansible-accessing-register-variables-from-other-plays-within-same-playbook
- https://stackoverflow.com/questions/33896847/how-do-i-set-register-a-variable-to-persist-between-plays-in-ansible
- https://serverfault.com/questions/638507/how-to-access-host-variable-of-a-different-host-with-ansible
- https://github.com/ansible/ansible/issues/1934