当前位置:首页 » 手机软件 » ubuntu查找网络共享文件
扩展阅读
手机自动结算软件 2024-11-27 08:26:08
发电机怎么连接网络 2024-11-27 08:26:01

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銆佸湪铏氭嫙链鸿彍鍗曚笅镓揿紑铏氭嫙链鸿剧疆锛屽紑钖鍏变韩鏂囦欢澶瑰姛鑳姐