LXC/Monitor: Difference between revisions
Jump to navigation
Jump to search
m Shahed moved page Monitor to LXC/Monitor without leaving a redirect |
No edit summary |
||
| Line 1: | Line 1: | ||
== | ==LXC » Monitor » Alpine== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
lxc image ls images:alpine/3.21 | |||
lxc rm -f monitor 2>/dev/null | |||
lxc launch images:alpine/3.21 monitor | |||
lxc delete monitor/alpine:3.21 2>/dev/null | |||
lxc snapshot monitor alpine:3.21 | |||
lxc export monitor monitor_alpine-20250604.tar.gz --optimized-storage | |||
lxc rm -f monitor 2>/dev/null | |||
lxc import monitor monitor_alpine-20250604.tar.gz monitor | |||
lxc start monitor | |||
lxc restore monitor alpine:3.21 | |||
lxc info monitor | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==LXC » Monitor » Ubuntu== | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
lxc image ls ubuntu:24.04 | |||
lxc rm -f monitor 2>/dev/null | |||
lxc launch ubuntu:24.04 monitor | |||
lxc delete monitor/ubuntu:24.04 2>/dev/null | |||
lxc snapshot monitor ubuntu:24.04 | |||
---- | lxc export monitor monitor_ubuntu-20250604.tar.gz --optimized-storage | ||
lxc rm -f monitor 2>/dev/null | |||
lxc import monitor_ubuntu-20250604.tar.gz monitor | |||
lxc start monitor | |||
lxc restore monitor ubuntu:24.04 | |||
lxc info monitor | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==References== | ==References== | ||
| Line 33: | Line 39: | ||
|valign='top'| | |valign='top'| | ||
* [https://vector.dev/ Monitor » Vector] | * [https://vector.dev/ Monitor » Vector] | ||
|valign='top'| | |||
|valign='top'| | |||
|- | |||
|colspan='3'| | |||
---- | |||
|- | |||
|valign='top'| | |||
* [[LXC/Alpine/Apache/PHP|LXC » Alpine » Apache » PHP]] | |||
* [[LXC/Alpine/Nginx/PHP|LXC » Alpine » Nginx » PHP]] | |||
* [[LXC/Logrotate|LXC » Logrotate]] | |||
* [[Linux Containers|LXC]] | |||
|valign='top'| | |valign='top'| | ||
| Line 55: | Line 75: | ||
|valign='top'| | |valign='top'| | ||
* [[Terraform]] | * [[Terraform]] | ||
* [[Proxmox]] | * [[Proxmox]] | ||
| Line 67: | Line 84: | ||
|valign='top'| | |valign='top'| | ||
|} | |} | ||
Revision as of 10:37, 4 June 2025
LXC » Monitor » Alpine
lxc image ls images:alpine/3.21
lxc rm -f monitor 2>/dev/null
lxc launch images:alpine/3.21 monitor
lxc delete monitor/alpine:3.21 2>/dev/null
lxc snapshot monitor alpine:3.21
lxc export monitor monitor_alpine-20250604.tar.gz --optimized-storage
lxc rm -f monitor 2>/dev/null
lxc import monitor monitor_alpine-20250604.tar.gz monitor
lxc start monitor
lxc restore monitor alpine:3.21
lxc info monitor
LXC » Monitor » Ubuntu
lxc image ls ubuntu:24.04
lxc rm -f monitor 2>/dev/null
lxc launch ubuntu:24.04 monitor
lxc delete monitor/ubuntu:24.04 2>/dev/null
lxc snapshot monitor ubuntu:24.04
lxc export monitor monitor_ubuntu-20250604.tar.gz --optimized-storage
lxc rm -f monitor 2>/dev/null
lxc import monitor_ubuntu-20250604.tar.gz monitor
lxc start monitor
lxc restore monitor ubuntu:24.04
lxc info monitor
References
|
| ||
|
| ||