Alpine/Morefine: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==Install LXD== | |||
<source lang='bash'> | |||
cat /etc/apk/repositories | |||
:' | |||
http://dl-cdn.alpinelinux.org/alpine/v3.17/main | |||
http://dl-cdn.alpinelinux.org/alpine/v3.17/community | |||
#http://dl-cdn.alpinelinux.org/alpine/edge/main | |||
#http://dl-cdn.alpinelinux.org/alpine/edge/community | |||
#http://dl-cdn.alpinelinux.org/alpine/edge/testing | |||
:' | |||
apk update | |||
apk upgrade | |||
</source> | |||
==Knowledge== | ==Knowledge== | ||
{| | {| |
Revision as of 09:53, 21 January 2023
Install LXD
cat /etc/apk/repositories
:'
http://dl-cdn.alpinelinux.org/alpine/v3.17/main
http://dl-cdn.alpinelinux.org/alpine/v3.17/community
#http://dl-cdn.alpinelinux.org/alpine/edge/main
#http://dl-cdn.alpinelinux.org/alpine/edge/community
#http://dl-cdn.alpinelinux.org/alpine/edge/testing
:'
apk update
apk upgrade
Knowledge
df -hT fdisk -l apk update ip addr show ip link show |
apk add lsblk apk add parted apk add util-linux apk add smartmontools apk add e2fsprogs-extra |
lscpu lsblk apk add fuse apk add ntfs-3g ls -lah /dev/sda* | |
| |||
parted -l badblocks -v /dev/sda1 > ~/bad_sectors.txt badblocks -v /dev/sda2 > ~/bad_sectors.txt badblocks -v /dev/sda3 > ~/bad_sectors.txt |
smartctl --version smartctl -H /dev/sda1 smartctl -H /dev/sda2 smartctl -H /dev/sda3 |
References
| ||