create a partition 1M code ef02 (BIOS Boot Partition)
create a partition for luks 8e00 (LVM partition)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YAML 語言(發音 /ˈjaməl/ ) | |
| 以---開頭,以表明這是一個yaml文件 | |
| 使用"#"作為註釋符,從這個字符一直到行尾,都會被解析器忽略。 | |
| 大小寫敏感 | |
| 使用縮進表示層級關係 | |
| 縮進時不允許使用Tab鍵,只允許使用空格。 | |
| 縮進的空格數目不重要,只要相同層級的元素左側對齊即可 | |
| YAML 支持的數據結構有三種。 |
b) after partifioning we must build the filesystems on the devices (format partitions) using mkfs
mkfs.vfat -F 32 /dev/sdX1 // format efi-boot partition as FAT 32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl -w | |
| # 詳見: 「fail2ban: 新手老手 root 網管都要練的金鐘罩」 | |
| # http://newtoypia.blogspot.tw/2016/04/fail2ban.html | |
| use DateTime; | |
| use Getopt::Std; | |
| my (%opts) = ( | |
| d => 7, # number of days to look back |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <chrono> | |
| #include <ctime> | |
| #include <cmath> | |
| class Timer | |
| { | |
| public: | |
| void start() | |
| { |
| HEADER | EMPHASIS | HORIZONTAL_LINE | LIST | TABLE
Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.
To pass AWS certification, you should have:
- Sound knowledge about most of the AWS services ( EC2, VPC, RDS, Cloudfront, S3, Route53 etc,)
- Hands on experience with AWS services.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- 建立資料庫 | |
| CREATE DATABASE Sample; | |
| -- 接下來都對這個資料庫操作 | |
| USE Sample; | |
| -- 建立表格 | |
| CREATE TABLE Student ( | |
| S# int NOT NULL PRIMARY KEY, | |
| SName varchar(50) NULL, |
NewerOlder

