報告內容
Summary
The remote SSH server is configured to allow / support weak host
key algorithm(s).
Detection Result
The remote SSH server supports the following weak host key algorithm(s):
報告內容
Summary
The remote SSH server is configured to allow / support weak host
key algorithm(s).
Detection Result
The remote SSH server supports the following weak host key algorithm(s):
如果你習慣的預設瀏覽器是 google chrome
但每次透過outlook 開啟連結時,系統卻預設幫你用 microsoft edge 開啟
(建立新的檔案系統)
zfs create testpool/data1
大約就在今年8/10 左右
更新 adobe pdf reader 之後
透過填寫和簽署新增輸入文字並存檔後
再次打開文件,文字就變成框框+叉叉
exchange online 的通訊群組清單,類似 postfix, sendmail 的 aliases
寄信時不用一個一個增加收件者
該收件者帳號收到信時,可以自動轉寄給特定或多位使用者
常用於部門群組信箱,或專案用信箱
假設你要寄信給 it部門
其成員有: bill , john , peter , mary
除了收件者欄位一個一個慢慢選
還可以設定一個部門信箱,如 it@xxx.com.tw
在cmd 下指令
net user loginname /domain
即可顯示密碼到期日
設定 > 時間與語言
登入後點擊右上角帳號圖示 > Configuration > Backup
Fortigate 的 SPAN (Switch Port Analyzer) 也就是常聽到的 port mirror
指令:
# docker-compose rm -s -v service_name
或是參數合在一起也可以
# docker-compose rm -sv service_name
Options:
-f, --force Don't ask to confirm removal
-s, --stop Stop the containers, if required, before removing
-v, --volumes Remove any anonymous volumes attached to containers
舉例
docker-compose.yml 內容
web_lab:
container_name: container_web_lab
image: myweb:5.5.5
depends_on:
- mysqldb
root@srv:/helloworld# docker-compose rm -sv web_lab
[+] Running 1/1
⠿ Container container_web_lab Stopped 1.5s
? Going to remove container_web_lab Yes
[+] Running 1/1
⠿ Container container_web_lab Removed 0.6s
root@srv:/helloworld# docker-compose up -d web_lab
[+] Running 2/2
⠿ Container web_db Running 0.0s
⠿ Container container_web_lab Started
以前如果想讓linux 系統在重啟後,自動執行某些程式的話
習慣會把要執行的 scripts 加入 /etc/rc.local
其實crontab 也有相同的功能
修改 ./wp-includes/functions.php
如果nagios 發現異常要發送警告信給管理者
本機必須要有postfix或sendmail 之類的MTA
# apt-add-repository contrib
-bash: apt-add-repository: command not found
apt-get -y install 套件名
只會幫你一次安裝好套件
但如果中間出現對話框,還是會卡住
相關 OID
1.3.6.1.4.1.12356.101.4.1.3 : CPU使用率,單位 %
1.3.6.1.4.1.12356.101.4.1.4 : 記憶體使用率,單位 %
網路上文章通常只跟你講到第一個步驟
如果還是無法抓到 snmp 資料的話,請試試第二個步驟是否有設定
系統運作一陣子後
如果發現swap 空間不足,但沒有空的 partition 或是沒有新增硬碟的打算
可以新增一個 swap file 來增加 swap空間
有些人的解法是修改 docker 的iptables 設定,但可能會衍生出其他問題
所以建議以下作法
1. 把現有的images 存成 tar 格式
# docker save -o hello_world_nginx.tar hello_world_nginx
1. 建立 container
$ sudo apt-get update
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1811 B]
Err:1 http://dl.google.com/linux/chrome/deb stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
指令
rsync --list-only -e ssh backup@rsync-server::web/
首先建立 recive 端到來源端的 passwordless ssh 登入
顯示網路卡
# dladm
檔案結構如下
-rw-r--r-- 1 777 777 4 Jan 19 11:50 555.txt
lrwxrwxrwx 1 666 666 7 Feb 16 09:41 555.txt.lnk -> 555.txt
執行 chown 預設只會改變來源的 owner,也就是 555.txt
chown 888:888 555.txt.lnk
如果要變更 link 的 owner ,可以加以下參數
chown -h 888:888 555.txt.lnk
方法一:
到 https://www.cpan.org/ 搜尋要安裝的 module