Cookie Consent

To make this website work properly, we sometimes place small data files called ‘cookies’ on your device. All Cookies are first-party cookies and are essential for the Site to run properly

Essential Data

The Essential Data is needed to run the Site you are visiting technically. You can not deactivate them.

If you want to share a folder on your local network, on a server/desktop with Ubuntu 22.04 installed, you may fallow the steps below. In our specific case I'll show you how to share on local network NShare folder. All users that have access to your local network will have full access (regardless of having or not a user account on your application) to NShare folder.

  • Samba share guide
    • 1. Open a terminal. Right click on your desktop, and click Open in terminal
    • 2. Type the following command and hit ENTER to navigate to install samba.
      $ sudo apt-get update
      $ sudo apt-get -y install samba
    • 3. Type the following command and hit ENTER to let samba through firewall.
      $ sudo ufw allow "samba"
    • 4. Type the following command and hit ENTER to add "user" to samaba server. "User" is the username you are using for logging in to Ubuntu 22.04.
      $ sudo smbpasswd -a user
    • 5. Type the following command and hit ENTER to enable the "user" you added to samba server.
      $ sudo smbpasswd -e user
    • 6. Type the following command and hit ENTER to edit samba configuration file.
      $ sudo nano /etc/samba/smb.conf
      At the end of the file add the fallowing lines:
      [Whatever-Share]
      comment = local network share
      path = /var/www/html/folder of prvstorage app/storage/app/prv/NShare
      read only = no
      browsable = yes
      Ctrl+o to save file, Ctrl+x to exit nano editing mode.
    • 7. Type the following command and hit ENTER to give write/read accesss to NShare folder.
      $ sudo chmod 777 -R /var/www/html/folder of prvstorage app/storage/app/prv/NShare
    • 7. Type the following command and hit ENTER to restart samba server and its all done.
      $ sudo systemctl restart smbd