Skip to content

Instantly share code, notes, and snippets.

View debianmaster's full-sized avatar
🏠
Hyderabad

chakra j debianmaster

🏠
Hyderabad
View GitHub Profile
docker run -d --name mysql -e MYSQL_ROOT_PASSWORD=mysql -d mysql:latest --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-authentication-plugin=mysql_native_password
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum makecache fast
yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.99-1.el7_6.noarch.rpm
sudo yum install -y docker-ce
livenessProbe:
exec:
command:
- "/bin/bash"
- "-c"
- "/opt/eap/bin/livenessProbe.sh"
initialDelaySeconds: 60
readinessProbe:
exec:
command:
@debianmaster
debianmaster / node-config.json
Created April 9, 2019 19:15
node-config.json
[
{
"name": "node-config-master",
"labels": [
"node-role.kubernetes.io/master=true",
"node-role.kubernetes.io/compute=true"
]
},
{
"name": "node-config-infra",
{
"surrogateAuthRequired": false,
"enabled": true,
"clientAuthenticatorType": "client-secret",
"redirectUris": ["*"],
"webOrigins": [],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
"standardFlowEnabled": true,
wireguard-ansible cjonagam(ocp:jm) $ time ~/.runJmeter.sh
error: unable to upgrade connection: container not found ("distributed-jmeter")
not-ready
10.131.181.239,10.131.194.152,10.131.51.18
Creating summariser <summary>
Created the tree successfully using /jmeter/sample.jmx
Configuring remote engine: 10.131.181.239
Configuring remote engine: 10.131.194.152
Configuring remote engine: 10.131.51.18
Starting remote engines
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: goldpinger
spec:
updateStrategy:
type: RollingUpdate
selector:
matchLabels:
{
"bus_reg_id": "AP11Z7295",
"message": "98 Mtrs from NIMS HOSPITAL",
"lat": "17.424175",
"long": "78.453735",
"reportedTimeStamp": "2019-03-10 10:57:41.0"
}
ansible all -m shell -a 'yum install epel-release wget git net-tools bind-utils yum-utils iptables-services bridge-utils bash-completion kexec-tools sos psacct NetworkManager dnsmasq -y'
ansible all -m shell -a 'systemctl enable NetworkManager'
ansible all -m shell -a 'systemctl restart NetworkManager'
ansible all -m shell -a "yum install docker -y"
ansible all -m shell -a "sudo yum update -y"
ansible all -m shell -a "/usr/bin/needs-restarting -r"
ansible all -m shell -a "sudo date"
ansible all -m copy -a "remote_src=yes src=/etc/resolv.conf dest=/etc/resolv.conf.vanilla"
ansible all -m lineinfile -a "path=/etc/sysconfig/network-scripts/ifcfg-eth0 line=NM_CONTROLLED='yes'"
ansible all -m lineinfile -a "path=/etc/sysconfig/network-scripts/ifcfg-eth0 line=PEERDNS='no'"
AP11Z6950-METRO EXPRESS,222A,KOTI,16:16:35;AP11Z7027-METRO EXPRESS,222A,KOTI,16:20:12;AP11Z6634-METRO EXPRESS,222A,KOTI,16:21:35;AP11Z6618-METRO EXPRESS,187DV,KPHB 4TH PHASE,16:23:56;AP11Z7159-METRO EXPRESS,1P/25I,KOTI,16:23:57;AP11Z7025-METRO EXPRESS,222A,KOTI,16:26:48;AP28Z4829-METRO EXPRESS,40,KOTI,16:29:49;AP11Z7282-METRO EXPRESS,45F,KOTI,16:31:39;AP11Z6655-METRO EXPRESS,222A,KOTI,16:38:21;AP11Z7332-METRO EXPRESS,222A,KOTI,16:40:06;AP29Z3638-METRO EXPRESS,217APTCKOT,KOTI MEDICAL COLLEGE,16:48:03