📕
Guides pratiques
  • Guides pratiques
  • Laravel
    • Middlewares
    • Auth
      • RegisterController
      • LoginController
  • MicroK8s
    • Samba server (Linux)
    • Samba client (Linux)
  • Kubernetes
    • Infrastructure
    • HAProxy
Powered by GitBook
On this page

Was this helpful?

  1. MicroK8s

Samba server (Linux)

PreviousLoginControllerNextSamba client (Linux)

Last updated 3 years ago

Was this helpful?

sudo apt-get -y install samba
sudo mkdir /k8s_storage
sudo chown microok8s:microk8s /k8s_storage
sudo chmod 777 /k8s_storage
sudo smbpasswd -a microk8s
sudo cp -pf /etc/samba/smb.conf /etc/samba/smb.conf.backup
sudo nano /etc/samba/smb.conf
# /etc/samba/smb.conf (bottom of the file)
[microk8s]
path = /k8s_storage
available = yes
valid users = microk8s
read only = no
browseable = yes
public = yes
writable = yes
sudo service smbd restart
https://christiansueur.com/samba-introduction-rapide-aux-partage-de-fichier-linux-windows/