VirtualTam's bookmarks
219 bookmarks found
-
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
-
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
-
Running Ansible Through an SSH Bastion Host
2018-05-17 - https://blog.scottlowe.org/2015/11/21/using-ssh-bastion-host/
- https://blog.scottlowe.org/2015/12/04/use-case-ssh-bastion-host/
- https://blog.scottlowe.org/2015/12/11/using-ssh-multiplexing/
- https://dotfiles.tnetconsulting.net/articles/2015/0506/empowering-openssh.html
- https://www.redhat.com/sysadmin/ssh-proxy-bastion-proxyjump
- https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-configure-a-jump-host-to-access-servers-that-i-have-no-direct-access-to
- https://gist.github.com/seansawyer/8fe009e67f7e01344328
-
- http://www.chiark.greenend.org.uk/%7Epeterb/network/drop-vs-reject
- https://security.stackexchange.com/questions/22686/is-it-good-practice-to-manually-lock-down-ports-on-each-host
- https://security.stackexchange.com/questions/22711/is-it-a-bad-idea-for-a-firewall-to-block-icmp/22713
- https://serverfault.com/questions/84963/why-not-block-icmp/84981
-
networking - Linux Command line tool to work with netmasks / CIDR notation - Server Fault
2018-05-15 - http://jodies.de/ipcalc
- http://deepspace6.net/projects/ipv6calc.html
- http://www.routemeister.net/projects/sipcalc/
- https://www.linux.com/learn/intro-to-linux/2017/8/manipulate-ipv6-addresses-ipv6calc
- https://www.cyberciti.biz/tips/perform-simple-manipulation-of-ip-addresse.html
- https://technicalworldforyou.blogspot.fr/2013/06/ipcalc-command-line-tool-for.html
- https://github.com/troglobit/netcalc
-
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!
-
Migrating to Sensu
2018-04-04 - https://roobert.github.io/2015/11/09/Sensu-What/
- https://blog.sensuapp.org/our-journey-implementing-sensu-to-monitor-kubernetes-in-production-5764aff2dd50
- https://phillbarber.blogspot.fr/2015/03/nagios-vs-sensu-vs-icinga2.html
- https://www.reddit.com/r/devops/comments/56xrnj/how_are_people_suffering_through_sensu_core/
-
- https://github.com/Netflix/SimianArmy
- https://arstechnica.com/information-technology/2012/07/netflix-attacks-own-network-with-chaos-monkey-and-now-you-can-too/
- https://medium.com/netflix-techblog/netflix-chaos-monkey-upgraded-1d679429be5d
- https://medium.com/netflix-techblog/chaos-engineering-upgraded-878d341f15fa
- https://en.wikipedia.org/wiki/Chaos_Monkey
-