-
Tham khao https://eladnava.com/set-up-a-service-status-page-for-free-with-cachet/
-
Thu hien cai dat voi quyen root
su -
Tham khao https://eladnava.com/set-up-a-service-status-page-for-free-with-cachet/
Thu hien cai dat voi quyen root
su -
# -*- coding: utf-8 -*- | |
import os | |
from django.utils.translation import ugettext_lazy as _ | |
from horizon.utils import secret_key | |
from openstack_dashboard import exceptions | |
from openstack_dashboard.settings import HORIZON_CONFIG |
[root@controller1 fuel]# cat ns_IPaddr2 | |
#!/bin/bash | |
####################################################################### | |
# Initialization: | |
: ${OCF_FUNCTIONS_DIR=${OCF_ROOT}/lib/heartbeat} | |
. ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs | |
# Defaults |
root@u14-ctl1:~# cat /etc/haproxy/haproxy.cfg | |
global | |
log 127.0.0.1 syslog | |
maxconn 1000 | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global |
This Document roughly describes a HAProxy Cluster Setup on Ubuntu 16.04 based on an example Configuration with 3 Nodes
This Document is still work in Progress the Following Stuff still needs to be done:
This Document roughly describes a HAProxy Cluster Setup on Ubuntu 16.04 based on an example Configuration with 3 Nodes
This Document is still work in Progress the Following Stuff still needs to be done:
root@u14-vagrant:~# docker inspect 951bfd6d073f | |
[ | |
{ | |
"Id": "951bfd6d073fe7502876d9842ebba76c9e2317bb25a5954b23004230491ecb22", | |
"Created": "2016-11-07T04:56:34.159173974Z", | |
"Path": "/hello", | |
"Args": [], | |
"State": { | |
"Status": "exited", | |
"Running": false, |
#!/bin/bash | |
touch /root/congto.txt | |
apt-get update -y | |
apt-get install git -y |
#!/bin/bash | |
# | |
# Script to deploy a wrking cobbler installation in Ubuntu Server 14.10 | |
# Author: Luis Henrique Bolson <[email protected]> | |
# | |
# Based on http://springerpe.github.io/tech/2014/09/09/Installing-Cobbler-2.6.5-on-Ubuntu-14.04-LTS.html | |
# | |
# Please run as root (don't use sudo <script>) | |
# | |
# curl -s https://raw.githubusercontent.com/luisbolson/cobbler/master/cobbler_install-ubuntu_14.04.sh | bash -s 192.168.56.101 |
#!/usr/bin/env python | |
import shlex, subprocess, argparse | |
from shutil import copyfile | |
from os import listdir | |
from time import sleep | |
# parse command line arguments -------------------------- | |
parser = argparse.ArgumentParser() | |
subparsers = parser.add_subparsers() |