Difference between revisions of "Digital ocean"
From Wasya Wiki
(Created page with " == Develop == === Resize a disk (partition) === echo '/dev/disk/by-id/scsi-0DO_Volume_volume-sfo2-02 /mnt/volume_sfo2_01 ext4 defaults,nofail,discard 0 0' | sudo tee -a /e...") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Develop == | == Develop == | ||
| + | |||
| + | == API docs == | ||
| + | * https://docs.digitalocean.com/reference/api/digitalocean/#tag/Domains/operation/domains_list | ||
| + | |||
| + | === Install metrics === | ||
| + | curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash | ||
| + | systemctl status do-agent | ||
| + | |||
=== Resize a disk (partition) === | === Resize a disk (partition) === | ||
echo '/dev/disk/by-id/scsi-0DO_Volume_volume-sfo2-02 /mnt/volume_sfo2_01 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab | echo '/dev/disk/by-id/scsi-0DO_Volume_volume-sfo2-02 /mnt/volume_sfo2_01 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab | ||
resize2fs /dev/vda1 | resize2fs /dev/vda1 | ||
Latest revision as of 19:06, 30 August 2025
Develop
API docs
Install metrics
curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash systemctl status do-agent
Resize a disk (partition)
echo '/dev/disk/by-id/scsi-0DO_Volume_volume-sfo2-02 /mnt/volume_sfo2_01 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab resize2fs /dev/vda1