Type the following command to edit your shared folder configuration. To add the new directory as the new share folder, You need to open and edit the “ smb.conf” file by inserting the following command in your Linux terminal: You can edit this file by running the nano word editor command or accessing the file with your favorite GUI word editor. This file determines which system resources you want to share and restrictions you wish to place on them. This is a Samba configuration file that Linux systems used to control their configuration. To edit the Samba configuration you need to access the file located at “/etc/smb.conf”. mkdir /home/username/mysharefolder/ Configuring Share Folder In this case, I named my share folder with the name “mysharefolder”. I used the command “mkdir” to create the directory or folder that I need it to share. Now that Samba is installed on your computer, you need to create the folder that you want to share. Sudo apt-get install samba Configuring & Creating Your Share Directory Creating the Share Folder To install Samba, enter the commands below into your Ubuntu terminal: sudo aptsudo apt-get update You can do this by running the “ sudo apt update” command to download current packages of information from all Linux configured sources. You need to update your packages before trying to installing Samba or any other software into your Ubuntu computer. Here is an advice for Linux best practices. Samba Server: How to Install and Configure on Ubuntu.Configuring & Creating Your Share Directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |