Link to these links: https://git.io/vKSVZ
Module 1:
- Run jenkins from war file:
jenkins -jar jenkins.war
- Run jenkins from docker:
docker run -d \
--restart unless-stopped \
--name jenkins \
# 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) |
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<description></description> | |
<keepDependencies>false</keepDependencies> | |
<properties/> | |
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | |
<configVersion>2</configVersion> | |
<userRemoteConfigs> | |
<hudson.plugins.git.UserRemoteConfig> |
Link to these links: https://git.io/vKSVZ
Module 1:
jenkins -jar jenkins.war
docker run -d \
--restart unless-stopped \
--name jenkins \
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
node { | |
} |
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 |