Mount samba share on linux

mount cifs/samba share
mount -t cifs -o vers=1.0,user=userHere //192.168.0.7/sharedDir /mnt

mount cifs/samba share on system startup
vi /etc/fstab

//192.168.0.7/sharedDir /mnt cifs vers=1.0,user=userHere,pass=passwdHere,uid=1001,gid=100 0 0

NGINX - To allow a specific User-Agent from one IP address only

Step 1: Define the Map BlocksAdd this configuration inside the http {} block of your /etc/nginx/nginx.conf file. This logic evaluates the in...

Mais vistos