Kubernetes installation:修订间差异
第1行: | 第1行: | ||
= Ubuntu 22.04 = | = Ubuntu 22.04 = | ||
==System preparation== | |||
===Updrage=== | |||
<syntaxhighlight lang="bash"> | |||
sudo apt update | |||
sudo apt upgrade | |||
do-release-update | |||
</syntaxhighlight> | |||
=== Mount data disk === | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
mkfs.xfs /dev/vdb | mkfs.xfs /dev/vdb |
2024年4月9日 (二) 07:18的版本
Ubuntu 22.04
System preparation
Updrage
sudo apt update
sudo apt upgrade
do-release-update
Mount data disk
mkfs.xfs /dev/vdb
lsof /var
mkfs.xfs /dev/vdb
mv /var/ /var0
mkdir /mnt/newvar/
mount /dev/vdb /mnt/newvar/
rsync -aqxP /var0/* /mnt/newvar/
umount /mnt/newvar
mount /dev/vdb /var
vim /etc/fstab
# /dev/vdb / xfs defaults 0 0