Skip to content

Instantly share code, notes, and snippets.

Georgy Yakovlev gyakovlev

Block or report user

Report or block gyakovlev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gyakovlev
gyakovlev / CEPH-STATICSITES-HOWTO.md
Created Apr 30, 2019 — forked from robbat2/CEPH-STATICSITES-HOWTO.md
Ceph staticsites config RGW static website serving & SNI
View CEPH-STATICSITES-HOWTO.md

Ceph StaticSites Configuration, with HAProxy & SNI

An instructional document by Robin H Johnson robin.johnson@dreamhost.com. I wrote much of the staticsites functionality of Ceph-RGW, during during late 2015 and early 2016, based on an early prototype by Yehuda Sadeh (yehudasa). It was written for usage at Dreamhost, but developed in the open for community improvement.

It is fully functional as of Jewel v10.2.3 plus PR11280 (https://github.com/ceph/ceph/pull/11280). Prior to that, neither the non-CNAME nor CNAME-to-service modes will not function correctly.

These configuration files represent how to quickly set up RGW+HAProxy for staticsite serving. I've tried to make them more readable, without leaving out too many details. You are strongly recommended to run a seperate RGW instance for staticsites, on a DIFFERENT outward-faciing IP than your normal instance (and in fact, certain functionality is not supported without it).

In place of using HAProxy, you could run the second rgw instance on port

@gyakovlev
gyakovlev / make-the-tea
Created Jan 9, 2019 — forked from chewi/make-the-tea
Script to create Gentoo icedtea-bin tarballs
View make-the-tea
#!/bin/bash -e
OLD_PWD=${PWD}
source /lib/gentoo/functions.sh || true
if [ -z "$1" ]; then
echo "usage: $0 /usr/portage/packages/dev-java/icedtea-X.X.X.X.tbz2 [-rX]"
exit 1
fi
View disable mcafee endpoint protection.md

method 1

sudo /usr/local/McAfee/AntiMalware/VSControl stopoas

alternatively

sudo defaults write /Library/Preferences/com.mcafee.ssm.antimalware.plist OAS_Enable -bool False
sudo /usr/local/McAfee/AntiMalware/VSControl stop
sudo /usr/local/McAfee/AntiMalware/VSControl reload
View keybase.md

Keybase proof

I hereby claim:

  • I am gyakovlev on github.
  • I am gyakovlev (https://keybase.io/gyakovlev) on keybase.
  • I have a public key ASC5yko9WVCa0Rj-hDXnHvrQkeCrbVGggN1gN49mbBmEAQo

To claim this, I am signing this object:

You can’t perform that action at this time.