AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Arch linux samba11/11/2023 Now save the file using :wq and add users to samba server comment = TECNOTCH Shared Files path = /mnt/data/shared valid users = tofeeq anyotheruser1 anyotheruser2 public = no writable = yes printable = no create mask = 0765 comment = Home Directories browseable = no writable = yesĪt the end of file uncomment section and change as required, this is the share name that appears on client, I changed to 12345678 Restrict home directories being shared, add before every line in section 1234 Set server description, this is visible when querying server from samba client, my PC host name is TECNOTCH 1Ĭhange the default log file path as it is not writable, set it to 1 Set workgroup, you can set your own workgroup name, I set it DEVTEAM 1 server min protocol = NT1 server max protocol = SMB3 Lets modify configuration to get it working.įor better security provide min protocol and max protocol versions, add protocols in global section. 1Ĭopy the content from Sample Configuration from Samba Git Repo and paste in above file. To share contents of linux server there should be a sharing server running, mostly Samba is used as sharing server on linux machines.įollow the steps below to install Samba on PC where you need to share files.Ĭreate configuration file for Samba, it is required but not automatically created when installing samba so have to manually create it. If the package is still not found, post the complete content of /etc/apt/sources.list and the output of sudo apt-get update.Samba facilitates file and printer sharing among Linux and Windows systems. If you need to modify /etc/apt/sources.list, run sudo apt-get update afterwards, then try installing again. If you only find a line like deb precise main restrictedĪnd no line with universe, add universe at the end of that line, or a separate line with precise universe, as illustrated above. Or deb precise main restricted universe multiverse Check that this file contains a line like deb precise universe You can see what repositories you have enabled in the file /etc/apt/sources.list (and in files in the directory /etc/apt/). If you have Ubuntu 12.04, make sure that you have turned on the universe repository. If you have an older release of Ubuntu, you'll need to upgrade or to get xbmc from another place. Xbmc is only available in the universe repository, only since Ubuntu 12.04 (precise). compiling from source, downloading executable binary, etc. Note: If package is not available on repository any how, than you have to wait until it is available (in the case of new/updated versions) or use other installation processes than apt-get e.g. What does "Package has no installation candidate" mean?.How do I resolve unmet dependencies after adding a PPA?.Refer to Package management by commandline.Īdditional/Tip: you can find the correct package-name (i.e the name in the repository) using apt-cache search. Selecting best download server may help to speed up update.įinally install the package: sudo apt-get install It is essential to run this command after changing any repositories: sudo apt-get update Visit Ubuntu community help for more information.ĭon't forget to update (make apt aware of your changes): Use this command: sudo add-apt-repository ppa: Find appropriate ppa according to your Ubuntu release version.For External Repositories, Visit Ubuntu Updates and search by.If the package that you are unable to locate is from a PPA go to the PPA and check if it is available there for your release.To enable all repositories ( main, universe, restricted, multiverse), use the following commands: sudo add-apt-repository main Make sure you have enabled Ubuntu repositories: The following (general) procedure helps to solve this: When apt-get install is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list and under /etc/apt//). There are many questions about this topic.
0 Comments
Read More
Leave a Reply. |