Fortigate 的 log 很大一部分是在流量,如果運作在流量大的地方,log 量會非常可怕。
因此我們需要把一般的流量紀錄排除掉,只留下重要的紀錄,同時不影響其他類型的 log。
Read more “Fortigate – 過濾 Syslog 一般流量紀錄”
Leave a commentFortigate 的 log 很大一部分是在流量,如果運作在流量大的地方,log 量會非常可怕。
因此我們需要把一般的流量紀錄排除掉,只留下重要的紀錄,同時不影響其他類型的 log。
Read more “Fortigate – 過濾 Syslog 一般流量紀錄”
Leave a comment使用 make:migration
建立新的 migration:
php artisan make:migration --table=users add_api_token
Read more “Laravel API Token 使用方式”
Leave a comment今天在做 DB 權限設定,看起來一切正常
結果執行 flush privileges
後,密碼與權限設置都消失。
Read more “MySQL 執行 flush privileges 後設定消失”
Leave a commentRclone 在 Google 雲端硬碟有支援一項特殊的設定,可以直接在伺服器端進行傳輸:
--drive-server-side-across-configs
Allow server side operations (eg copy) to work across different drive configs.
This can be useful if you wish to do a server side copy between two different Google drives. Note that this isn’t enabled by default because it isn’t easy to tell if it will work between any two configurations.
- Config: server_side_across_configs
- Env Var: RCLONE_DRIVE_SERVER_SIDE_ACROSS_CONFIGS
- Type: bool
- Default: false
Read more “Rclone 在不使用本機頻寬的條件下進行跨雲端硬碟傳輸”
Leave a comment以往在 Ubuntu 下設定 IP 的方式為修改 /etc/network/interfaces
,而 Ubuntu 從 17.10 版開始使用 Netplan 作為系統預設的網路設定方式,設定上較容易理解,而管理性也相對地提升了不少(尤其是在雲端環境)。
Read more “使用 Netplan 進行 Ubuntu 的網路卡設定”
Leave a comment