47 lines
920 B
Plaintext
47 lines
920 B
Plaintext
|
#### picapport
|
||
|
|
||
|
##### Information
|
||
|
Site : https://www.picapport.de/
|
||
|
|
||
|
Source : Not available
|
||
|
|
||
|
##### Install
|
||
|
|
||
|
```bash
|
||
|
apt install -y --no-install-recommends wget ca-certificates
|
||
|
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||
|
apt-get update
|
||
|
apt-get install -y --no-install-recommends picapport
|
||
|
|
||
|
systemctl enable --now picapport
|
||
|
```
|
||
|
##### configure cifs share
|
||
|
|
||
|
Sample to add net-gallery share on picapport
|
||
|
|
||
|
```bash
|
||
|
apt install -y cifs-utils
|
||
|
mkdir -p /var/lib/picapport/mnt/net-gallery
|
||
|
```
|
||
|
|
||
|
edit /etc/picapport/smbcredentials
|
||
|
|
||
|
```
|
||
|
username=username
|
||
|
password=password
|
||
|
domain=domain
|
||
|
```
|
||
|
|
||
|
Get picapport user and group id
|
||
|
```
|
||
|
id picapport
|
||
|
uid=997(picapport) gid=997(picapport) groupes=997(picapport)
|
||
|
```
|
||
|
|
||
|
edit /etc/fstab with uid and gid
|
||
|
|
||
|
```
|
||
|
//server/share/ /var/lib/picapport/mnt/net-gallery cifs credentials=/etc/picapport/smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,sec=ntlmssp,noacl,uid=997,gid=997 0 0
|
||
|
```
|
||
|
|