尊龙凯时人生就是搏

linuxÓÐÓòÕʺŹ¦Ð§Âð

linux¿ÉÒÔͨ¹ý×°ÖúÍÉèÖÃsambaЧÀÍÀ´ÊµÏÖÓòÕ˺Ź¦Ð§£º1¡¢Ê¹Óðü¹ÜÀí¹¤¾ß×°ÖÃsambaÈí¼þ°ü£»2¡¢±à¼­sambaµÄÖ÷ÉèÖÃÎļþsmb.conf£»3¡¢Ê¹ÓÃnetÏÂÁlinuxϵͳ¼ÓÈëµ½windowsÓòÖУ»4¡¢Ö´ÐС°sudo service smbd restart¡±ÏÂÁîÖØÆôsambaЧÀÍ £¬Ê¹ÉèÖÃÉúЧ¼´¿É¡£

±¾½Ì³Ì²Ù×÷ϵͳ£ºLinux5.18.14ϵͳ¡¢Dell G3µçÄÔ¡£

Linuxϵͳ¿ÉÒÔͨ¹ý×°ÖúÍÉèÖÃSambaЧÀÍÀ´ÊµÏÖÓòÕ˺Ź¦Ð§¡£SambaÊÇÒ»¸ö¿ªÔ´µÄÈí¼þÌ×¼þ £¬¿ÉÒÔÈÃLinuxϵͳ×÷ΪWindowsÍøÂçÇéÐÎÖеÄÎļþ¹²ÏíЧÀÍÆ÷ £¬Ö§³ÖÓëWindowsÓò¾ÙÐм¯³É¡£

ÒªÆôÓÃLinuxϵͳµÄÓòÕ˺Ź¦Ð§ £¬ÄúÐèÒªÖ´ÐÐÒÔÏ°취£º

1¡¢×°ÖÃSamba£º

ʹÓðü¹ÜÀí¹¤¾ß£¨Èçapt¡¢yumµÈ£©×°ÖÃSambaÈí¼þ°ü¡£ÀýÈç £¬ÔÚUbuntuÉÏ¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî¾ÙÐÐ×°Öãº

sudo apt install samba

µÇ¼ºó¸´ÖÆ

2¡¢ÉèÖÃSamba£º

±à¼­SambaµÄÖ÷ÉèÖÃÎļþsmb.conf¡£¸ÃÎļþλÓÚ/etc/samba/Ŀ¼Ï¡£Äú¿ÉÒÔƾ֤×Ô¼ºµÄÐèÇó¾ÙÐÐÉèÖà £¬¿ÉÊÇÖÁÉÙÐèÒªÉèÖÃÒÔÏ»ù±¾²ÎÊý£º

[global]
workgroup = YOUR_WORKGROUP
security = domain   
password server = DOMAIN_CONTROLLER_IP_ADDRESS

µÇ¼ºó¸´ÖÆ

ÆäÖÐ £¬YOUR_WORKGROUPÊÇÄúÒª¼ÓÈëµÄÊÂÇé×éÃû³Æ £¬DOMAIN_CONTROLLER_IP_ADDRESSÊÇWindowsÓò¿ØÖÆÆ÷µÄIPµØµã¡£

3¡¢¼ÓÈëÓò£º

ʹÓÃnetÏÂÁLinuxϵͳ¼ÓÈëµ½WindowsÓòÖС£ÔÚÖÕ¶ËÖÐÖ´ÐÐÒÔÏÂÏÂÁ

sudo net join -U DOMAIN_ADMIN_ACCOUNT

µÇ¼ºó¸´ÖÆ

ÆäÖÐ £¬DOMAIN_ADMIN_ACCOUNTÊÇWindowsÓòÖоßÓмÓÈëÓòȨÏÞµÄÖÎÀíÔ±ÕʺÅ¡£

4¡¢ÖØÐÂÆô¶¯SambaЧÀÍ£º

Ö´ÐÐÒÔÏÂÏÂÁîÖØÆôSambaЧÀÍ £¬Ê¹ÉèÖÃÉúЧ£º

sudo service smbd restart

µÇ¼ºó¸´ÖÆ

Íê³ÉÒÔÉÏ°ì·¨ºó £¬ÄúµÄLinuxϵͳ½«³ÉΪWindowsÓòÖеÄÒ»¸ö³ÉÔ± £¬²¢¿ÉÒÔʹÓÃÓòÕ˺žÙÐÐÉí·ÝÑéÖ¤ºÍÎļþ¹²ÏíµÈ²Ù×÷¡£

ÐèҪעÖصÄÊÇ £¬ÒÔÉÏ°ì·¨½öÊÊÓÃÓÚ¼¯³Éµ½WindowsÓòµÄÇéÐΡ£ÈôÊÇÄúÖ»ÊÇÏëÔÚLinuxϵͳÉϽ¨ÉèÍâµØÓû§Õ˺Š£¬ÇëʹÓÃLinuxµÄÓû§ÖÎÀí¹¤¾ß£¨Èçuseradd¡¢usermodµÈ£©¾ÙÐвÙ×÷¡£

ÒÔÉϾÍÊÇlinuxÓÐÓòÕʺŹ¦Ð§ÂðµÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是搏

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ