Add picapport
This commit is contained in:
parent
51e86e6b36
commit
6c4f22d566
11 changed files with 147 additions and 0 deletions
46
ressources/picapport/README.MD
Normal file
46
ressources/picapport/README.MD
Normal file
|
@ -0,0 +1,46 @@
|
|||
#### 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
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue