Utils
This commit is contained in:
+13
-2
@@ -4,9 +4,20 @@ sudo apt install nfs-common -y
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo mkdir -p /home/sem/nfs
|
sudo mkdir -p /home/sem/nfs7
|
||||||
sudo mount -t nfs -O uid=1000,iocharset=utf-8 prox4.astrader.net:/var/lib/vz /home/sem/nfs
|
sudo mount -t nfs7 -O uid=1000,iocharset=utf-8 prox7.astrader.net:/var/lib/vz /home/sem/nfs7
|
||||||
|
sudo mkdir -p /home/sem/nfs1
|
||||||
|
sudo mount -t nfs7 -O uid=1000,iocharset=utf-8 prox.astrader.net:/var/lib/vz /home/sem/nfs1
|
||||||
```
|
```
|
||||||
|
автомонтирование
|
||||||
|
```bash
|
||||||
|
sudo nano /etc/fstab
|
||||||
|
```
|
||||||
|
```bash
|
||||||
|
prox7.astrader.net:/var/lib/vz /home/sem/nfs7 nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
|
||||||
|
prox.astrader.net:/var/lib/vz /home/sem/nfs1 nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Задаем переменную HOME_DIR в bash_profile, еси не определена (в зависимости от проекта)
|
Задаем переменную HOME_DIR в bash_profile, еси не определена (в зависимости от проекта)
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user