aiyaaaa... aku lupa laaa pulak pasal samba.. lama tak buat..tapi tak kisah.. paling senang nak buat sambal ni kene tumbukcili sama itu mempelam.. pasti best.. tapi tu sambal.. ni SAMBA.. korang carik laa sendiri apa benda tu..
untuk samba share.. paling mudah dan paling senang...
1) Mesti jadi 'root'
2) apt-get install samba-common smbclient smbfs samba ( ni utk debian. lain distro ko install je janji dapat jalan )
3) create user
#adduser mamat
4) smbpasswd -a mamat ( masukkan password utk samba.. nak tukar passwd lain pun boleh.. )
5) pico /etc/samba/smbusers ( create file baru ) masukkan ni :-
mamat = "mamat"
kemudian save dan exit
6) pico /etc/samba/smb.conf
ok di sini ada 4 perkara korang kene buat security = user map username = /etc/samba/smbusers
bawah share [homes] tukarkan writeable = yes
save dan exit
7) restart samba
beres... skrg ni user boleh akses ke home shared masing-masing dengan memasukkan password tersebut.. ok.. tq
err... macammana nak akses ke share tu? alamakkkkkkkkkkkkkkkk...... korang ni pun satu laaa.. pakai windows kan?heh.. kalau tak pakai windows memang korang tak tanye dah camtu.. pakai windows.. ko pegi kat my computer taip ni je
\\ip-server-ko
kalau dari linux... pakai mount -t smbfs -o username=mamat,password=apaapeje //server-ko /mnt/serveraku
bukak /mnt/serveraku utk tgk file... tq
Windows and linux information and one stop centre for myself. Having difficulties to remember all things at once. This blog will remain be my references on the internet. Other people can take benefit from it. Thank you for visiting
Subscribe to:
Post Comments (Atom)
Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...
-
Make your own OpenAi chat I am totally new comer in Python trying to learn this language from scratch. Knowing a basic of python language i...
-
Always getting some gpg error while trying to do aptitude update on older version of debian platform such as etch or lenny. The message look...
-
i found this registry tweak for dns cache in windows xp but don't really know it works or not... give a try edit your registry or put in...
No comments:
Post a Comment