https://github.com/substack/fleet
https://github.com/coreos
https://github.com/globocom/tsuru
https://github.com/flynn
https://github.com/opdemand/deis
https://www.getpantheon.com/blog/why-we-built-pantheon-containers-instead-virtual-machines
http://api.yandex.com/cocaine/
http://www.nuxeo.com/blog/development/2014/04/coreos-nuxeo-build-nuxeoio/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
MY_PATH="$( cd "$( dirname "$0" )" && pwd )" | |
echo Now w are updating the system please wait till the process will end | |
apt-get update && apt-get upgrade -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *> | |
ServerAdmin [email protected] | |
ServerName | |
ServerAlias *.girlybookclub.com www.girlybookclub.com | |
DirectoryIndex index.html index.htm index.php | |
DocumentRoot /home/tgbc/girlybookclub/ | |
<Directory /home/tgbc/girlybookclub/> | |
Options Indexes FollowSymLinks MultiViews |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *> | |
ServerAdmin [email protected] | |
ServerName thegirlybookclub.com | |
ServerAlias *.thegirlybookclub.com www.thegirlybookclub.com | |
DirectoryIndex index.html index.htm index.php | |
DocumentRoot /home/tgbc/thegirlybookclub/ | |
<Directory /home/tgbc/thegirlybookclub/> | |
Options Indexes FollowSymLinks MultiViews |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
file="/mnt/boot/grub/menu.lst" | |
back="/mnt/boot/grub/menu.lst~" | |
word="UUID" | |
mount -o rw /dev/xvdb1 /mnt | |
if [ -x "$file" ]; then | |
echo "File $file does not exist." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$root = 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}' | |
$items = Get-ChildItem -Path Registry::$Root -Name | |
Foreach ($item in $items) { | |
if ($item -ne "Properties") { | |
$path = $root + "\" + $item | |
$DriverDesc = Get-ItemProperty -Path Registry::$path | Select-Object -expandproperty DriverDesc | |
if ($DriverDesc -eq "Citrix PV Ethernet Adapter") { | |
Set-ItemProperty -path Registry::$path -Name LROIPv4 -Value 0 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
lib64=/lib64/libkeyutils.so.1.9 | |
lib64_1=/lib64/libkeyutils-1.2.so.2 | |
if [ -f $lib64 ]; then | |
echo The server is compromised, $lib64 found please open a ticket so we can help you to fix it!! | |
exit 0 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# AUTHOR="Marius Voila ([email protected])"; | |
# TESTED WITH UBUNTU 10.04, 12.04 LTS | |
# | |
# Run as root (don't use sudo) with | |
# ./lampp-wizard.sh ; tail -f /var/log/lampp-wizard.log | |
# | |
# Redistribution and use in source and binary forms, with or without modification, | |
# are permitted provided that the following conditions are met: | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Rules == | |
On Infrastructure | |
----------------- | |
There is one system, not a collection of systems. | |
The desired state of the system should be a known quantity. | |
The "known quantity" must be machine parseable. | |
The actual state of the system must self-correct to the desired state. | |
The only authoritative source for the actual state of the system is the system. | |
The entire system must be deployable using source media and text files. |