當前位置:首頁 » 手機軟體 » ubuntu查找網路共享文件
擴展閱讀
電腦網路通道圖 2024-11-27 08:32:02
手機版直銷軟體 2024-11-27 08:29:30

ubuntu查找網路共享文件

發布時間: 2024-06-22 10:24:07

㈠ VMware璁劇疆鍏變韓鏂囦歡澶逛箣鍚嶶buntu涓鐪嬩笉鍒版庝箞鍔

濡傛灉浣犲湪 Ubuntu 鉶氭嫙鏈虹殑鏂囦歡緋葷粺 /mnt/hgfs 涓鐪嬩笉鍒板師鍏堢殑鍏變韓鏂囦歡澶逛簡錛屽彲鎸夌収涓嬪垪欏哄簭鎿嶄綔錛
1銆傜『淇濇偍鐨勮櫄鎷熸満鍏蟲満銆
2銆傜紪杈戣櫄鎷熸満鐨勯厤緗錛屾坊鍔犲叡浜鏂囦歡澶癸紝騫跺惎鐢ㄥ畠銆備緥濡傦紝鎴戠殑瀹誇富鏈烘槸Windows 7Bit64錛屽叡浜鏂囦歡澶笴:/TEST
3銆傚惎鍔ㄥ㈡埛鎿嶄綔緋葷粺錛屼緥濡傦紝鎴戠殑鉶氭嫙鏈烘搷浣滅郴緇熸槸Ubuntu10.04
4銆傞噸瑕佺殑鏄錛屾墦寮涓涓緇堢紿楀彛錛岃繍琛 sudo vmware-config-tools.pl錛屾寜鍥炶濺鎺ュ彈榛樿ゅ煎嵆鍙
5銆傚湪/mnt/hgfs錛屼綘灝嗕細鐪嬪埌鍏變韓鏂囦歡澶廣傛伃鍠滐紒
寰堢畝鍗曞惂錛屼笂闈㈠彧鏄閲嶆柊閰嶇疆浜嗕竴涓 VMware 宸ュ叿銆傚傛灉瀵逛綘鏈夋墍甯鍔╋紝璇風暀涓璦銆傝阿璋銆

VMware涓 Ubuntu 鐪嬩笉鍒板叡浜鏂囦歡澶逛箣瑙e喅鍔炴硶
鍒濆Linux錛屽湪VMWare 涓婅呬簡Ubuntu10.04錛屼富鏈虹鍜岃櫄鎷熸満鐩鎬簰闂寸殑璁塊棶鏄蹇呬笉鍙灝戠殑錛岄斿緞鏈夎稿氾紝鍏朵腑vmware tool鎻愪緵鐨勫叡浜鏂囦歡澶規柟寮忕畝鍗曞張鏂逛究銆傜劧鑰岋紝鏈夋椂鍗磋帿鍚嶅叾濡欑殑錛屽湪Ubuntu涓婄湅涓嶅埌鍏變韓鏂囦歡澶逛簡錛岀綉涓婃煡浜嗕竴涓嬶紝鏈変漢璇存槸Ubuntu鏇存柊浣垮緱鐪嬩笉鍒板叡浜鏂囦歡澶圭殑錛屽叿浣撳師鍥犳垜娌℃湁娣辯┒錛屼絾瑙e喅涔嬮亾鍏跺疄涔熷緢鏂逛究錛屼粠鏍規湰涓婃潵璇村氨鏄錛氬嵏杞斤紝閲嶈呫傝屼笖榪欎袱涓姝ラよ繍琛屼竴涓鑴氭湰灝辮兘瀹屾垚浜嗐傚綋鐒惰繖閲岃寸殑鍗歌澆涓嶆槸鎸囨妸緇橴buntu鍗歌澆浜嗭紝鑰屾槸璇存妸 VMWare-tools鍗歌澆浜嗐備粈涔堬紝浣犺翠笉鐭ラ亾鎬庝箞鍗歌澆錛熶笉鎬ヤ笉鎬ワ紝瀹規垜鎱㈡參閬撴潵錛屽懙鍛....鍚鍔║buntu錛岀偣鍑籚MWare 鐨勮彍鍗 VM --> Reinstall VMWare Tools錛岃繖鏍峰湪Ubuntu絝 /media 涓 鏈変釜 VMware Tools鏂囦歡澶癸紝閲岄潰鏈変釜 VMwareTools-xxx-xxx.tar.gz 鎶婂畠瑙e帇鍒板叾浠栫洰褰曪紙鎴栧厛鎷瘋礉榪囧幓鍐嶈В鍘嬶紝鍥犱負褰撳墠鐩褰曠浉褰撲簬鏄鍏夐┍錛屽彧璇葷殑錛夛紝瑙e帇鍚庡緱鍒頒竴涓 vmware-tools-distrib/鏂囦歡澶癸紝榪愯岄噷闈 vmware-install.pl鑴氭湰鏂囦歡錛屽畠浼氬厛鍗竩mware tools 鐒跺悗鍐嶅畨瑁咃紝鍏朵腑鏈夊緢澶氭彁紺鴻佹眰紜璁わ紝榛樿ょ殑鍗沖彲銆傚畬鎴愪箣鍚庯紝鍐嶅埌/mnt/hgfs/涓嬬湅鐪..............鎴戜滑涔呰繚鐨勫叡浜鏂囦歡澶瑰張鍥炴潵浜

㈡ Ubuntu鍜寃indows鏂囦歡鍏變韓闂棰樿﹁В

Ubuntu鍜寃indows鏂囦歡鍏變韓闂棰

   ubuntu璁塊棶windows鍏變韓鏂囦歡澶癸紙ubuntu妗岄潰緋葷粺錛夛細

   鏈綆鍗曠殑鏂規硶錛岄殢渚挎墦寮涓涓鏂囦歡澶癸紝鎸塁trl+L錛岀劧鍚庡湴鍧鏍忔暡smb://xxx.xxx.xxx.xxx(windows涓繪満IP鍦板潃錛夊嵆鍙.

   濡傛灉鏄疿P 搴旇ユ病闂棰

   濡傛灉鏄疻in7 鎵撳紑楂樼駭鍏變韓璁劇疆 紜璁や綘鎵撳紑浜嗗叕鍏辯綉緇滅殑鍏變韓 鍏抽棴浜嗗瘑鐮佷繚鎶 鍒閫128浣嶅姞瀵嗕繚鎶(閫40 56)

   褰撶劧 浣犱笉鑳界敤瀹跺涵鍏變韓

   鏂囦歡鍏變韓鍦ㄥ洟闃熷悎浣滀腑鏄姣旇緝閲嶈佺殑銆傛渶緇忓拰鍚屼簨涓璧峰崗浣滃紑鍙戝氨鐢ㄥ埌浜,鏂規硶璐村嚭鏉ユ妸銆

   瀹夎卻amba錛 www.

   sudo apt-get install samba

   sudo apt-get install smbfs

   涓嬮潰鎴戜滑鏉ュ叡浜緹ょ粍鍙璇誨啓鏂囦歡澶癸紝鍋囪句綘瑕佸叡浜鐨勬枃浠跺す涓猴細 /home/tufu/share/

   棣栧厛鍒涘緩榪欎釜鏂囦歡澶

   mkdir /home/ray/share

   chmod 777 /home/ray/share

   澶囦喚騫剁紪杈憇mb.conf鍏佽哥綉緇滅敤鎴瘋塊棶

   sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup //澶囦喚閰嶇疆鏂囦歡

   sudo gedit /etc/samba/smb.conf //鎵撳紑閰嶇疆鏂囦歡

   鎼滃昏繖涓琛屾枃瀛

   # security = user

   鐢ㄤ笅闈㈣繖鍑犺屽彇浠

   security = user

   username map = /etc/samba/smbusers

   鑻ヨ佷嬌鐢ㄧ敤鎴峰彲浠ュ尶鍚嶈塊棶鍒幫紝鐢ㄤ笅闈㈣繖涓琛屽彇浠o細

   security =share

   灝嗕笅鍒楀嚑琛屾柊澧炲埌鏂囦歡鐨勬渶鍚庨潰錛屽亣璁懼厑璁歌塊棶鐨勭敤鎴蜂負錛歽ouuser銆傝屾枃浠跺す鐨勫叡浜鍚嶄負 Share

澶嶅埗浠g爜

   

浠g爜濡備笅:

[Share]

   comment = Shared Folder with username and password

   path = /home/tufu/share

   public = yes www.

   writable = yes

   valid users =tufu

   create mask = 0700

   directory mask = 0700

   force user = nobody

   force group = nogroup

   available = yes

   browseable = yes

   鐒跺悗欏轟究鎶婅繖閲屾敼涓涓嬶紝鎵懼埌[global]鎶 workgroup = MSHOME 鏀規垚

   workgroup = WORKGROUP

   display charset = UTF-8

   unix charset = UTF-8

   dos charset = cp936

鍚庨潰鐨勪笁琛屾槸涓轟簡闃叉㈠嚭鐜頒腑鏂囩洰褰曚貢鐮佺殑鎯呭喌銆傚叾涓鏍規嵁浣犵殑local錛孶TF-8 鏈夊彲鑳介渶瑕佹敼鎴 cp936銆傝嚜宸辯湅鐫鍔炲惂銆

鐜板湪瑕佹坊鍔爕ouuser榪欎釜緗戠粶璁塊棶甯愭埛銆傚傛灉緋葷粺涓褰撳墠娌℃湁榪欎釜甯愭埛錛岄偅涔

sudo useradd youuser

瑕佹敞鎰忥紝涓婇潰鍙鏄澧炲姞浜嗊ouuser榪欎釜鐢ㄦ埛錛屽嵈娌℃湁緇欑敤鎴瘋祴浜堟湰鏈虹櫥褰曞瘑鐮併傛墍浠ヨ繖涓鐢ㄦ埛灝嗗彧鑳戒粠榪滅▼璁塊棶錛屼笉鑳戒粠鏈鏈虹櫥褰曘傝屼笖samba鐨勭櫥褰曞瘑鐮佸彲浠ュ拰鏈鏈虹櫥褰曞瘑鐮佷笉涓鏍楓

鐜板湪瑕佹柊澧炵綉緇滀嬌鐢ㄨ呯殑甯愬彿錛 www.

sudo smbpasswd -a youuser

sudo gedit /etc/samba/smbusers

鍦ㄦ柊寤虹珛鐨勬枃浠跺唴鍔犲叆涓嬮潰榪欎竴琛屽苟淇濆瓨

youuser = 鈥渘etwork username鈥

濡傛灉灝嗘潵闇瑕佹洿鏀箉ouuser鐨勭綉緇滆塊棶瀵嗙爜錛屼篃鐢ㄨ繖涓鍛戒護鏇存敼

sudo smbpasswd -a youuser

鍒犻櫎緗戠粶浣跨敤鑰呯殑甯愬彿鐨勫懡浠ゆ妸涓婇潰鐨 -a 鏀規垚 -x

sudo testparm

sudo /etc/init.d/samba restart

閲嶅惎涓媠amba鏈嶅姟銆

windows 杈撳叆浣犵殑ip杈撳叆鐢ㄦ埛鍚嶅拰瀵嗙爜灝辮兘璁塊棶浜嗐

㈢ ubuntu 涓璿mware 鍏變韓鏂囦歡澶瑰湪鍝

1銆佸湪鉶氭嫙鏈鴻彍鍗曚笅鎵撳紑鉶氭嫙鏈鴻劇疆錛屽紑鍚鍏變韓鏂囦歡澶瑰姛鑳姐