此文目標讀者需先自行學會
- 開 Github 帳號
- 會 fork 程式 repository
- 會在自己的電腦使用命令列
git
- 會 clone 自己的 repository
#!/usr/bin/env python2 | |
""" | |
Other Repositories of python-ping | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
* https://github.com/l4m3rx/python-ping supports Python2 and Python3 | |
* https://bitbucket.org/delroth/python-ping | |
#前言 感謝小飛機掏出一台主機借我玩
ACCTON SAF4121I
原本想說裝個archlinux應該不難
殊不知這台只有console port 並沒有vga
#Trace Config
cat /usr/lib/tuned/ceph-tuned/tuned.conf | |
[main] | |
summary=ceph_perf | |
[cpu] | |
governor=performance | |
energy_perf_bias=performance | |
min_perf_pct=100 | |
force_latency=1 |
This, loosely, documents installing RHV as an all-in-one server. This is not supported and has some flakiness, particularly for updates. Additionally, because it's a lab, no "real" storage was used.
The Server
The physical server used for this has 8 core, 32GB RAM, and a 512GB NVMe drive connected to the network using a single 1 GbE link. You'll need at least 200GiB of storage to comfortably host more than a couple of VMs.
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
DO NOT EDIT! --> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><H3 ADD_DATE="1606081399" LAST_MODIFIED="1606237173" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Bar</H3> | |
<DL><p> |
## add charts | |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | |
## create ns called monitoring | |
kubectl create namespace monitoring | |
## install | |
helm install prometheus prometheus-community/prometheus -n monitoring --values install-prometheus-values.yaml | |
## checked | |
kubectl get pods -n monitoring |
#!/bin/bash | |
sudo timedatectl set-timezone Asia/Taipei | |
sudo apt update | |
sudo apt install chrony -y | |
sudo systemctl start chronyd | |
sudo systemctl status chronyd | |
sudo timedatectl set-ntp true | |
sudo systemctl restart chronyd | |
chronyc activity |