Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet404/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   400   401   402   403   404   405   406   407   ...   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)

[
 308 
]
To take advantage of this configuration, we need to start the Samba daemon. Before 
we do though, we want to double-check that the directories we entered into our 
smbshared.conf
 file exist, so if you're using my example, you'll need to create 
 
/share/documents
 and 
/share/public:
sudo mkdir /share
sudo mkdir /share/documents
sudo mkdir /share/public 
Also, the user account that was referenced in the force user and the group referenced 
in the force group must both exist and have ownership over the shared directories:
sudo chown -R jay /share 
At this point, it's a good idea to use the 
testparm
 command, which will test the 
syntax of our Samba 
configuration files for us. It won't necessarily catch every error 
we could have made, but it is a good command to run to quickly check the sanity. 
This command will first check the syntax, then it will print the entire configuration 
to the terminal for you to have a chance to review it. If you see no errors here, then 
you can proceed to start the service:
sudo systemctl start smbd 
Then, check the status to ensure that the daemon is running:
sudo systemctl status smbd
This will produce output similar to the following:
Figure 12.1: Checking the status of the smbd daemon


Chapter 12

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   400   401   402   403   404   405   406   407   ...   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