id: 3e0cd73c75784e3b9ffe460286cd142a
parent_id: 
item_type: 1
item_id: 9cd257bf57974b70a30578d866bca36a
item_updated_time: 1764345577132
title_diff: "[{\"diffs\":[[1,\"virtualbox安装ubuntu server后设置共享文件夹  开发部落\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":39}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>virtualbox安装ubuntu server后设置共享文件夹 | 开发部落</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/66117b10-6037-40e2-a935-981b47a325f0/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"13537\\\"></a>\\\r\\\n<h1>virtualbox安装ubuntu server后设置共享文件夹 | 开发部落</h1>\\\r\\\n\\\r\\\n<div>\\\n<span style=\\\"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;\\\"><br/><div style=\\\"font-size: 16px\\\"><div style=\\\"font-size:87.5%;vertical-align:baseline;overflow-y:scroll;\\\"><div style=\\\"font-size: 1rem; vertical-align: baseline; line-height: 1; font-family: 'Open Sans', Helvetica, Arial, sans-serif; text-rendering: optimizelegibility; color: rgb(68, 68, 68);\\\"><div style=\\\"font-size: 100%; vertical-align: baseline; overflow: hidden; box-shadow: rgba(100, 100, 100, 0.292969) 0px 2px 6px;\\\"><div style=\\\"font-size: 100%; vertical-align: baseline;\\\"><div style=\\\"font-size: 100%; vertical-align: baseline;\\\"><div style=\\\"font-size: 100%; vertical-align: baseline;\\\"><div style=\\\"margin: 0px 0px 5.142857143rem; padding: 0px 0px 1.714285714rem; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; font-size: 100%; vertical-align: baseline; display: block; border-bottom-width: 4px; border-bottom-style: double; border-bottom-color: rgb(237, 237, 237); word-wrap: break-word;\\\"><div style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; display: block;\\\"><h1 style=\\\"margin:0px;padding:0px;border:0px;font-size:1.571428571rem;vertical-align:baseline;clear:both;line-height:1.2;font-weight:normal;\\\">virtualbox安装ubuntu server后设置共享文件夹</h1><div style=\\\"margin:0px;padding:0px;border:0px;font-size:0.928571429rem;vertical-align:baseline;margin-top:1.714285714rem;line-height:1.846153846;color:rgb(117, 117, 117);\\\"><a href=\\\"http://sudodev.cn/articles/210.html#respond\\\" style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;outline:none;color:rgb(117, 117, 117);\\\" title=\\\"《virtualbox安装ubuntu server后设置共享文件夹》上的评论\\\"><span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">发表回复</span></a></div></div><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\"><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">1.菜单中选择安装增加工具</strong></p><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">2.进入ubuntu shell中挂载增加工具光盘iso，具体操作命令有：</strong></p><ul style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; list-style: disc outside; line-height: 1.714285714;\\\"><li style=\\\"margin:0px 0px 0px 1.6rem;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">安装必备软件</li></ul><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px 0px 0px 30px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\">sudo aptitude install dkms</p><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px 0px 0px 30px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\">sudo aptitude install build-essential</p><ul style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; list-style: disc outside; line-height: 1.714285714;\\\"><li style=\\\"margin:0px 0px 0px 1.6rem;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">挂载光驱</li></ul><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px 0px 0px 30px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\">sudo mkdir /media/cdrom</p><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px 0px 0px 30px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\">sudo mount /dev/cdrom /media/cdrom</p><ul style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; list-style: disc outside; line-height: 1.714285714;\\\"><li style=\\\"margin:0px 0px 0px 1.6rem;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">执行安装文件</li></ul><div><span style=\\\"font-size: 100%; line-height: 1.714285714;\\\"><span style=\\\"background-color: rgb(255, 255, 255);\\\">     </span><span style=\\\"-evernote-highlight:true;background-color: rgb(255, 250, 165);\\\">cd /</span></span><span style=\\\"-evernote-highlight:true;font-size: 100%; line-height: 1.714285714; background-color: rgb(255, 250, 165);\\\">media/cdrom</span></div><div><span style=\\\"-evernote-highlight:true;background-color: rgb(255, 250, 165);\\\">     sudo ./VBoxLinuxAdditions.run</span></div><div style=\\\"background-color: rgb(255, 255, 255);\\\"><br/></div><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">3.在虚拟机设置中设置共享文件夹。名字要取好，比如我们叫win_share</strong></p><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">4.重启虚拟机后，ubuntu中就有相应名的设备，接下来就是挂载它</strong>。</p><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px 0px 0px 30px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\">在/mnt下创建一个文件夹，比如叫shared.(据说不能跟共享文件夹名一样，否则会挂载时会报“mounting failed with the error: Protocol error”的错）</p><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px 0px 0px 30px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\">sudo mount -t vboxsf  win_share /mnt/shared</p><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\">这样/mnt/shared的文件夹中内容就对应你共享的文件夹win_share里面的内容了。</p><p style=\\\"background-color: rgb(255, 255, 255); margin: 0px 0px 1.714285714rem; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; line-height: 1.714285714;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">注意：你可以设置你的共享到ubuntu里的文件夹被读写，但是在ubuntu里，你不能建立与共享文件夹内的任何文件（夹）的软符号链接。</strong></p></div><div style=\\\"background-color: rgb(255, 255, 255); margin: 1.714285714rem 0px 0px; padding: 0px; border: 0px; font-size: 0.928571429rem; vertical-align: baseline; display: block; clear: both; line-height: 1.846153846; color: rgb(117, 117, 117);\\\">本条目发布于<a href=\\\"http://sudodev.cn/articles/210.html\\\" rel=\\\"bookmark\\\" style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;outline:none;color:rgb(117, 117, 117);\\\" title=\\\"下午 10:33\\\"><span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">2013 年 10 月 31 日</span></a>。属于<a href=\\\"http://sudodev.cn/category/linux\\\" rel=\\\"category tag\\\" style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;outline:none;color:rgb(117, 117, 117);\\\" title=\\\"查看linux中的全部文章\\\">linux</a>分类，被贴了 <a href=\\\"http://sudodev.cn/tag/ubuntu\\\" rel=\\\"tag\\\" style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;outline:none;color:rgb(117, 117, 117);\\\">ubuntu</a> 标签。</div></div><div style=\\\"background-color: rgb(255, 255, 255); margin: 0px; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline; display: block; clear: both; line-height: 2; overflow: hidden;\\\"><h3 style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;clear:both;clip:rect(1px 1px 1px 1px);position:absolute;\\\">文章导航</h3><span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;float:left;width:50%;\\\"><a href=\\\"http://sudodev.cn/articles/208.html\\\" rel=\\\"prev\\\" style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;outline:none;color:rgb(33, 117, 155);\\\"><span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">←</span> jquery防止事件重复绑定以及解绑技巧</a></span> <span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;float:right;text-align:right;width:50%;\\\"><a href=\\\"http://sudodev.cn/articles/212.html\\\" rel=\\\"next\\\" style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;outline:none;color:rgb(33, 117, 155);\\\">主机与设置为NAT模式的ubuntu虚拟机互访 <span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">→</span></a></span></div><div style=\\\"background-color: rgb(255, 255, 255); margin: 3.428571429rem 0px; padding: 0px; border: 0px; font-size: 100%; vertical-align: baseline;\\\"><div style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;margin-top:3.428571429rem;\\\"><h3 style=\\\"margin:0px;padding:0px;border:0px;font-size:1.142857143rem;vertical-align:baseline;clear:both;line-height:1.5;\\\">发表评论</h3><div style=\\\"margin:1.714285714rem 0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\"><p style=\\\"margin:0.785714286rem 0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">电子邮件地址不会被公开。 必填项已用<span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;color:red;\\\">*</span>标注</p><p style=\\\"margin:0.785714286rem 0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;display:block;line-height:1.714285714;\\\">姓名 <span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;color:red;\\\">*</span></span></p><p style=\\\"margin:0.785714286rem 0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;display:block;line-height:1.714285714;\\\">电子邮件 <span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;color:red;\\\">*</span></span></p><p style=\\\"margin:0.785714286rem 0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;display:block;line-height:1.714285714;\\\">站点</span></p><p style=\\\"margin:0.785714286rem 0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;display:block;line-height:1.714285714;\\\">评论</span></p><p style=\\\"margin:0px;padding:0px;border:0px;font-size:0.857142857rem;vertical-align:baseline;line-height:2;color:rgb(94, 94, 94);\\\">您可以使用这些<abbr style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\" title=\\\"HyperText Markup Language\\\">HTML</abbr>标签和属性： <code style=\\\"margin:0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\">&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt;</code></p><p style=\\\"margin:0.785714286rem 0px;padding:0px;border:0px;font-size:100%;vertical-align:baseline;\\\"></p></div></div></div></div></div></div></div></div></div></div><br/></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":12323}]"
metadata_diff: {"new":{"id":"9cd257bf57974b70a30578d866bca36a","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348828178,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:03.528Z
created_time: 2025-11-28T21:04:03.528Z
type_: 13