| 1 | # Homebrew |
| 2 | |
| 3 | Homebrew is used to install ```pyenv```. |
| 4 | |
| 5 | # Pyenv |
| 6 | |
| 7 | ~~Pyenv is used to manage ```python```.~~ |
| 8 | |
| 9 | |
| 10 | # Server Storage |
| 11 | |
| 12 | Hetzner gives a 40GB internal storage. When attaching another storage, always select manual attachment and then follow tutorial. This is an example of the tutorial: |
| 13 | |
| 14 | ``` |
| 15 | Configure volume |
| 16 | To configure your volume, use the following commands on your server. |
| 17 | FORMAT VOLUME |
| 18 | sudo mkfs.ext4 -F /dev/disk/by-id/scsi-0HC_Volume_15126575 |
| 19 | CREATE DIRECTORY |
| 20 | mkdir /mnt/volume-hel1-1 |
| 21 | MOUNT VOLUME |
| 22 | mount -o discard,defaults /dev/disk/by-id/scsi-0HC_Volume_15126575 /mnt/volume-hel1-1 |
| 23 | OPTIONAL: ADD VOLUME TO FSTAB |
| 24 | ? |
| 25 | echo "/dev/disk/by-id/scsi-0HC_Volume_15126575 /mnt/volume-hel1-1 ext4 discard,nofail,defaults 0 0" >> /etc/fstab |
| 26 | The volume is now accessible at /mnt/volume-hel1-1 for data storage. This data will persist if you detach the volume. It will be available for attachment to another server in the same location. |
| 27 | ``` |
| 28 | |
| 29 | One will need to change the permission with: ```sudo chmod ugo+rwx /media/username/your_drive```. |