Skip to content

Instantly share code, notes, and snippets.

View sbuvaneshkumar's full-sized avatar
🎯
Chasing dreams

Buvanesh Kumar sbuvaneshkumar

🎯
Chasing dreams
View GitHub Profile
# Installation
[root@fserver ~]# dnf install -y ezhil-0.90.1-1.noarch.rpm
Last metadata expiration check: 0:01:30 ago on Thu Aug 17 00:24:27 2017.
Dependencies resolved.
==============================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================
Installing:
ezhil noarch 0.90.1-1 @commandline 133 k
cd Ezhil-Lang
python setup.py bdist_rpm
cd dist/
ls
ezhil-0.90.1-1.noarch.rpm ezhil-0.90.1-1.src.rpm ezhil-0.90.1.tar.gz
dnf install -y gcc make perl kernel-devel dkms kernel-devel-$(uname -r) kernel-headers-$(uname -r)
@sbuvaneshkumar
sbuvaneshkumar / config.xml
Created March 6, 2018 08:37 — forked from g0t4/config.xml
Module 2 - What am I? Get this job loaded into Jenkins and running, there are two problems you'll encounter. Raw
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties/>
<scm class="hudson.plugins.git.GitSCM" plugin="git@2.5.2">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
@sbuvaneshkumar
sbuvaneshkumar / links.md
Created March 11, 2018 21:56 — forked from g0t4/links.md
Starting Point Files for Jenkins2 Getting Started course
@sbuvaneshkumar
sbuvaneshkumar / Jenkinsfile
Created March 20, 2018 21:34 — forked from chinshr/Jenkinsfile
Best of Jenkinsfile, a collection of useful workflow scripts ready to be copied into your Jenkinsfile on a per use basis.
#!groovy
# Best of Jenkinsfile
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins
node {
}
@sbuvaneshkumar
sbuvaneshkumar / hostonly-adapter.sh
Created April 17, 2018 13:50
Fedora VirtualBox Fix
mkdir /opt/systemd/
cat <<EOT >> /opt/systemd/vboxhostonly
#!/bin/bash
vboxmanage hostonlyif create
vboxmanage hostonlyif ipconfig vboxnet0 --ip 192.168.56.1
EOT
cat <<EOT >> /etc/systemd/system/vboxhostonlynic.service
Description=Setup VirtualBox Hostonly Adapter
set -e
# https://www.reddit.com/r/Fedora/comments/6gnwr5/reducing_idle_bandwidth_consumption_in_fedora/
# https://qarmin.github.io/czkawka/instructions/Installation.html
# rpmfusion - os
yum install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
yum install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# gnome battery percent
gsettings set org.gnome.desktop.interface show-battery-percentage true
$ vncpasswd
# Verify
$ vncviewer hostname:2 -passwd ~/.vnc/passwd
# Launcher
$ vim ~/.local/share/applications/vnc.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
1. [ERROR Swap]: running with swap on is not supported. Please disable swap
Solution: swapoff -a
2. The connection to the server 10.76.98.43:6443 was refused - did you specify the right host or port?
Solution: Check whether kubelet service is running
If not running do $ swapoff -a && systemctl restart kubelet
Ref: https://github.com/kubernetes/kubernetes/issues/54542
https://github.com/kubernetes/kubernetes/issues/23726
3. coredns pod is not running