FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
os:linux:pkg:index.html [2018/02/14 00:30] kurihara |
os:linux:pkg:index.html [2019/02/11 00:39] (current) kurihara |
||
---|---|---|---|
Line 7: | Line 7: | ||
\\ | \\ | ||
- | ===== Operation ===== | + | ===== Operation |
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ fab -l |grep pkg | $ fab -l |grep pkg | ||
- | $ fab -H $H auth.pro | + | $ fab -H $H |
- | $ fab -H $H auth.pro | + | $ fab -H $H |
</ | </ | ||
- | ==== Ref. Remote Shell Commands | + | \\ |
+ | ==== Fabric one-line Task Examples | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ H=test-server-01, | $ H=test-server-01, | ||
- | $ fab -H $H auth.pro | + | $ fab -H $H |
- | $ fab -H $H auth.pro | + | $ fab -H $H |
- | $ fab -H $H auth.pro | + | $ fab -H $H -- "rpm -qa --last | head -20" |
+ | </ | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | $ H=test-server-01, | ||
+ | $ fab -H $H -- dpkg -l # check installed list | ||
+ | $ fab -H $H -- apt search PACKAGE | ||
+ | $ fab -H $H -- apt show PACKAGE | ||
+ | |||
+ | $ fab -H $H -- apt update | ||
+ | $ fab -H $H -- apt install -y PACKAGE | ||
</ | </ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.