Skip to content

Instantly share code, notes, and snippets.

View debianmaster's full-sized avatar
🏠
Hyderabad

chakra j debianmaster

🏠
Hyderabad
View GitHub Profile
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
apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: income-springboot-deploy
objects:
- apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
```sh
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'"
apiVersion: v1
items:
- apiVersion: v1
data:
.dockerconfigjson: dummy=
kind: Secret
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","data":{".dockerconfigjson":"dummy="},"kind":"Secret","metadata":{"annotations":{},"creationTimestamp":null,"name":"gitlab-auth","namespace":"app1"},"type":"kubernetes.io/dockerconfigjson"}
apt-get update
apt-get install virtualbox
apt-get install vagrant
vagrant -v
vagrant box add precise32 http://files.vagrantup.com/precise32.box
vagrant init precise32
vagrant up
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv0003
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Recycle
{
"id": "dev-web",
"realm": "dev-web",
"notBefore": 0,
"revokeRefreshToken": false,
"refreshTokenMaxReuse": 0,
"accessTokenLifespan": 300,
"accessTokenLifespanForImplicitFlow": 900,
"ssoSessionIdleTimeout": 1800,
"ssoSessionMaxLifespan": 36000,
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
[
{
"data_end": "2018-10-09T11:17:00Z",
"data_start": "2018-10-09T11:06:00Z",
"namespace": "default",
"period_end": "2018-10-10T23:59:59Z",
"period_start": "2018-10-09T00:00:00Z",
"pod_request_cpu_core_seconds": 144
},
{
************************************************************/
18/10/09 08:14:54 INFO datanode.DataNode: registered UNIX signal handlers for [TERM, HUP, INT]
18/10/09 08:15:05 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop/dfs/data/
18/10/09 08:15:06 WARN checker.StorageLocationChecker: Exception checking StorageLocation [DISK]file:/hadoop/dfs/data/
EPERM: Operation not permitted
at org.apache.hadoop.io.nativeio.NativeIO$POSIX.chmodImpl(Native Method)
at org.apache.hadoop.io.nativeio.NativeIO$POSIX.chmod(NativeIO.java:230)
at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:763)
at org.apache.hadoop.fs.ChecksumFileSystem$1.apply(ChecksumFileSystem.java:506)
at org.apache.hadoop.fs.ChecksumFileSystem$FsOperation.run(ChecksumFileSystem.java:487)