Skip to content

Instantly share code, notes, and snippets.

View tjjh89017's full-sized avatar

Date Huang tjjh89017

View GitHub Profile
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
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'
The list
ARMv8 Server
H270-T70
DDR4 16GBx8 per node
HDD 1TB per node
Intel x86 Server
E5 2670v3 x2
DDR3 8GBx24
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
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

#Linux作業系統

##課程資料

  • 開課:許富皓教授
  • 開課單位:資工所
  • 修課年度:103年

##背景知識

  • X86 組合語言( AT&T 語法建議)
  • C 語言
@tjjh89017
tjjh89017 / jd
Created December 30, 2014 13:02
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.util.Scanner;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.Socket;
public class Main {
#!/bin/sh
rsync -avur -e ssh [email protected]:linux-3.10.59-dirty .
cd linux-3.10.59-dirty && sudo make modules_install && sudo make install
sudo reboot
#!/bin/sh
iptables -F
iptables -X
iptables -Z
iptables -t nat -F
iptables -t nat -X
iptables -t nat -Z
iptables -N Firewall-INPUT
from numpy import matrix
form numpy import linalg
a = matrix([[1, 2], [3, 4]])
linalg.det(a)