Skip to content

Instantly share code, notes, and snippets.

View tjjh89017's full-sized avatar

Date Huang tjjh89017

View GitHub Profile
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
stepping : 3
microcode : 0x19
cpu MHz : 899.964
cache size : 6144 KB
physical id : 0
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
stepping : 3
microcode : 0x19
cpu MHz : 3099.937
cache size : 6144 KB
physical id : 0
The list
ARMv8 Server
H270-T70
DDR4 16GBx8 per node
HDD 1TB per node
Intel x86 Server
E5 2670v3 x2
DDR3 8GBx24
openstack image create "Ubuntu 16.04 arm64" \
--file xenial-server-cloudimg-arm64-uefi1.img \
--disk-format qcow2 \
--container-format bare \
--public \
--property hw_disk_bus='scsi' \
--property hw_scsi_model='virtio-scsi' \
--property hw_machine_type=virt \
--property hw_firmware_type='uefi' \
--property hw_video_model='vga'
1. HP DL380E
https://goods.ruten.com.tw/item/show?21733926629628
缺 HDD
缺 TRAY
缺 DDR3 REG ECC
缺 RAID Card
$4800
2. RAID Card
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.4eda2e8d2vyezX&id=543326996277&_u=tvpdkjvf6d4
rm -f /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.pyc
sed -i "/data\['pci_passthrough_/d" /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py
sed -i "/self._get_pci_passthrough_devices()/d" /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py
TUI
-
1. 顯示全部的種子狀態,包含進度條與速度
2. 無須任何參數
-
CLI
-
interfaces {
ethernet eth0 {
address 140.131.179.251/23
address 2001:288:1009:1178::251/64
duplex auto
hw-id 00:50:56:90:ac:be
ipv6 {
dup-addr-detect-transmits 1
router-advert {
cur-hop-limit 64
@tjjh89017
tjjh89017 / README.md
Created August 3, 2020 10:36 — forked from rafaelfess/README.md
EdgeOS: Scheduled PPPoE reconnect configuration #EdgeRouter

EdgeOS: Scheduled PPPoE reconnect configuration

It will restart the PPPoE connection every day at 7a.m

The benefit to using the task-scheduler is that your commands get saved in config folder which ensures that they get copied over during firmware upgrades.

Creating the script file

cd /config/user-data && sudo mkdir scripts && sudo chown root scripts && cd scripts
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
L3c Cache: 8MB
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x500f0000]
[ 0.000000] Linux version 4.15.0-20-generic (buildd@bos02-arm64-029) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-16ubuntu3)) #21-Ubuntu SMP Tue Apr 24 06:16:20 UTC 2018 (Ubuntu 4.15.0-20.21-generic 4.15.17)
[ 0.000000] Machine model: APM X-Gene Mustang board
[ 0.000000] earlycon: uart8250 at MMIO32 0x000000001c020000 (options '')
[ 0.000000] bootconsole [uart8250] enabled