Update 'hard_disk_partition_making_filesystem'
parent
0669169173
commit
33dcbc6e53
|
@ -52,4 +52,24 @@ sudo mkdir /catalogue-data
|
||||||
sudo mount /dev/sdb1 /catalogue-data
|
sudo mount /dev/sdb1 /catalogue-data
|
||||||
```
|
```
|
||||||
|
|
||||||
Folder /catalogue-data is the data path required by GeoNetwork configured via environment variables [environment variables in jetty service](https://gitea.geologie.ac.at/geolba/geonetwork/wiki/Installation-Java-8-JDK-&-Jetty-9#step-3-create-jetty-service)
|
Folder /catalogue-data is the data path required by GeoNetwork configured via environment variables [environment variables in jetty service](https://gitea.geologie.ac.at/geolba/geonetwork/wiki/Installation-Java-8-JDK-&-Jetty-9#step-3-create-jetty-service)
|
||||||
|
|
||||||
|
# 3. Auto-mount filesystem on server start
|
||||||
|
`sudo nano /etc/fstab `
|
||||||
|
|
||||||
|
add the following line:
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
# /etc/fstab: static file system information.
|
||||||
|
#
|
||||||
|
# Use 'blkid' to print the universally unique identifier for a
|
||||||
|
# device; this may be used with UUID= as a more robust way to name devices
|
||||||
|
# that works even if disks are added and removed. See fstab(5).
|
||||||
|
#
|
||||||
|
# <file system> <mount point> <type> <options> <dump> <pass>
|
||||||
|
...
|
||||||
|
/dev/sdb1 /catalogue-data ext4 defaults 0 0
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user