This file contains 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
# A configuration file for lanserv or ipmi_sim to configure the various | |
#communication parameters for the device. | |
# This is a name used to identify this instance, and used to create | |
# the default name of the emulator startup command file and eventually # the storage facility for permanent storage. | |
name "mybmc" | |
# | |
# Work on the BMC first | |
set_working_mc 0x20 |
This file contains 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
stack@devstackmac:~/devstack$ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/local/bin/pip install --build=/tmp/pip-build.RMFAI 'prettytable>=0.7' | |
The directory '/home/stack/.cache/pip/log' or its parent directory is not owned by the current user and the debug log has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag. | |
The directory '/home/stack/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag. | |
DEPRECATION: --download-cache has been deprecated and will be removed in the future. Pip now automatically uses and configures its cache. | |
The directory '/home/stack/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip wit |
This file contains 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
** Proxy configuration at the end of document. Make sure you have it in case if you internet is routed from proxy | |
Installation of chef server: | |
--------------------------- | |
1) Install pre-requisites: | |
$ apt-get update | |
$ apt-get install build-essential | |
$ apt-get install ruby1.9.3 | |
$ apt-get install ruby-dev |
This file has been truncated, but you can view the full file.
This file contains 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
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228459 27740 flags.go:52] FLAG: --register-schedulable="true" | |
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228465 27740 flags.go:52] FLAG: --register-with-taints="<nil>" | |
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228472 27740 flags.go:52] FLAG: --registry-burst="10" | |
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228476 27740 flags.go:52] FLAG: --registry-qps="5" | |
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228482 27740 flags.go:52] FLAG: --require-kubeconfig="false" | |
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228486 27740 flags.go:52] FLAG: --resolv-conf="/etc/resolv.conf" | |
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228492 27740 flags.go:52] FLAG: --rkt-api-endpoint="localhost:15441" | |
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228497 27740 flags.go:52] FLAG: --rkt-path="" | |
Nov 15 01:58:39 af867b kubelet[27740]: I1115 01:58:39.228501 27740 flags.go:52] FLAG: --rkt-stage1-imag |
This file contains 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
I1115 02:12:54.697338 1 controllermanager.go:487] Started "bootstrapsigner" | |
E1115 02:12:54.848177 1 core.go:70] Failed to start service controller: WARNING: no cloud provider provided, services of type LoadBalancer will fail. | |
W1115 02:12:54.848205 1 controllermanager.go:484] Skipping "service" | |
W1115 02:12:54.848219 1 core.go:128] Unsuccessful parsing of cluster CIDR : invalid CIDR address: | |
I1115 02:12:54.848236 1 core.go:131] Will not configure cloud provider routes for allocate-node-cidrs: false, configure-cloud-routes: true. | |
W1115 02:12:54.848240 1 controllermanager.go:484] Skipping "route" | |
I1115 02:12:54.998878 1 controllermanager.go:487] Started "persistentvolume-binder" | |
I1115 02:12:54.998967 1 pv_controller_base.go:259] Starting persistent volume controller | |
I1115 02:12:54.998997 1 controller_utils.go:1041] Waiting for caches to sync for persistent volume controller | |
I1115 02:12:55.147719 1 controllermanager.go:487] Started "endpoint" |
This file contains 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
import smtplib | |
gmail_user = "from@gmail.com" | |
gmail_pwd = "frompwd" | |
TO = 'to@someother.com' | |
SUBJECT = "Testing sending using gmail" | |
TEXT = "Testing sending mail using gmail servers" | |
server = smtplib.SMTP('smtp.gmail.com', 587) |
This file contains 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
1) Pull docker image | |
$ docker pull mysql:5.7 | |
2) Generate mysql random password for rot user. | |
$ export MYSQL_ROOT_PASSWORD=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | sed 1q) | |
3) create the container. | |
$ docker run -d --name mysql -p 3306:3306 --env MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} docker.io/mysql:5.7 | |
4) Connect to the container to change the password and create new user if you want to connect from the host. |
This file contains 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: null | |
labels: | |
run: tt | |
name: tt | |
spec: | |
containers: | |
- command: |
This file contains 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
Download java from this link: | |
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html | |
Alternatively , wget as below: | |
wget --no-check-certificate --no-cookies - --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz | |
sudo mv jdk-7u51-linux-x64.tar.gz /usr/lib/jvm [create if /usr/lib/jvm not present, can be put in /usr/local also.] | |
sudo tar zxvf jdk-7u51-linux-x64.tar.gz | |
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_51/bin/javac 1 |
This file contains 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
Lets say: | |
IP Address of Raspberry: 192.168.0.106 | |
IP Address of ubuntu Desktop: 192.168.0.103 | |
IP Address of remote linux server to copy image files: 192.168.0.200 | |
1) On Raspberry pi , run the camera and stream using gstreamer as below: | |
raspivid -t 0 -w 800 -h 600 -fps 25 -g 5 -b 4000000 -vf -n -o - | gst-launch -v fdsrc ! h264parse ! gdppay ! tcpserversink host=192.168.0.106 port=5000 | |
2) On Ubuntu desktop, run the local rtsp server as below: |