Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet406/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   402   403   404   405   406   407   408   409   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 310 
]
In order for the 
fstab
 entry to work, your Linux client will need to have the Samba 
client packages installed. If your distribution is Debian-based (such as Ubuntu), 
you will need to install the 
smbclient
 and 
cifs-utils
 packages:
sudo apt install smbclient cifs-utils 
Then, assuming the local directory exists (
/mnt/documents
 in the example 
fstab
 line), 
you should be able to mount the share with the following command:
sudo mount /mnt/documents 
In the 
fstab
 entry, I included the 
noauto
 option so that your system won't mount the 
Samba share at boot time (you'll need to do so manually with the 
mount
 command). 
If you do want the Samba share automatically mounted at boot time, change 
noauto
 
to 
auto
. However, you may receive errors during boot if for some reason the server 
hosting your Samba shares isn't accessible, which is why I prefer the 
noauto
 option.
If you'd prefer to mount the Samba share without adding an 
fstab
 entry, the 
following example command 
should do the trick; just change the share name and 
mount point to 
match your local configuration:
sudo mount -t cifs //myserver/Documents -o username=myuser /mnt/
documents
From here, feel free to experiment. You can add additional shares as appropriate, 
and customize your Samba implementation as you see fit. In the next section, we'll 
explore NFS.

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   402   403   404   405   406   407   408   409   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish