使用Ubuntu的公用文件夹轻松地在计算机之间共享文件
You’ve probably noticed that Ubuntu comes with a Public folder in your home directory. This folder isn’t shared by default, but you can easily set up several different types of file-sharing to easily share files on your local network.
您可能已經(jīng)注意到,Ubuntu在主目錄中帶有一個(gè)Public文件夾。 此文件夾默認(rèn)情況下不共享,但是您可以輕松設(shè)置幾種不同類型的文件共享,以輕松共享本地網(wǎng)絡(luò)上的文件。
This folder was originally meant for the Personal File Sharing tool, which is no longer included with Ubuntu by default. You can install the Personal File Sharing tool or use Ubuntu’s built-in file-sharing feature to share files.
該文件夾原本是用于個(gè)人文件共享工具的,默認(rèn)情況下它不再包含在Ubuntu中。 您可以安裝個(gè)人文件共享工具,也可以使用Ubuntu的內(nèi)置文件共享功能來(lái)共享文件。
桑巴分享 (Samba Sharing)
Ubuntu’s built-in file-sharing tool uses Samba, which is interoperable with Windows. Windows PCs on the local network will be able to view your shared folder if you share it this way.
Ubuntu的內(nèi)置文件共享工具使用Samba,可與Windows互操作。 如果以這種方式共享,則本地網(wǎng)絡(luò)上的Windows PC將能夠查看您的共享文件夾。
To share the Public folder – or any other folder, there’s nothing special about the Public folder when it comes to Samba sharing – right-click it and select Properties. You’ll find a Share tab in the properties dialog.
要共享公用文件夾–或任何其他文件夾,在涉及Samba共享時(shí),公用文件夾沒(méi)有什么特別的–右鍵單擊它,然后選擇屬性。 您將在屬性對(duì)話框中找到“共享”選項(xiàng)卡。
Share a folder and you’ll be prompted to install the Samba software. Click the Install service button and follow the prompts to install Samba and restart your desktop session.
共享一個(gè)文件夾,系統(tǒng)將提示您安裝Samba軟件。 單擊“安裝服務(wù)”按鈕,然后按照提示安裝Samba并重新啟動(dòng)桌面會(huì)話。
After you’ve installed Samba, you can easily share the folder and set the sharing permissions as restrictive or as permissive as you want them to be. Enable the Allow others to create and deletes files in this folder and Guest access check boxes and other computers on the local network will be able to easily add files to the folder without entering a password. Click the Create Share button after selecting your options.
安裝Samba之后,您可以輕松地共享文件夾,并將共享權(quán)限設(shè)置為限制性的或隨意的。 啟用“允許其他人在此文件夾中創(chuàng)建和刪除文件”和“訪客訪問(wèn)”復(fù)選框,本地網(wǎng)絡(luò)上的其他計(jì)算機(jī)將能夠輕松地將文件添加到該文件夾??,而無(wú)需輸入密碼。 選擇選項(xiàng)后,單擊創(chuàng)建共享按鈕。
Select Browse Network in Ubuntu’s file manager to view your network shares.
在Ubuntu的文件管理器中選擇“瀏覽網(wǎng)絡(luò)”以查看您的網(wǎng)絡(luò)共享。
個(gè)人文件共享 (Personal File Sharing)
The Personal File Sharing tool – also known as gnome-user-share – was the original reason for the Public folder. It uses Apache to offer convenient WebDAV-based file sharing, but doesn’t work with Windows systems. It supports Bluetooth file sharing, too. To use it, you’ll have to install the appropriate packages:
個(gè)人文件共享工具(也稱為gnome-user-share)是公用文件夾的最初原因。 它使用Apache提供方便的基于WebDAV的文件共享,但不適用于Windows系統(tǒng)。 它也支持藍(lán)牙文件共享。 要使用它,您必須安裝適當(dāng)?shù)能浖?#xff1a;
sudo apt-get install gnome-user-share apache2.2-bin libapache2-mod-dnssd
須藤apt-get install gnome-user-share apache2.2-bin libapache2-mod-dnssd
After you do, you’ll find the Personal File Sharing application in your Dash.
完成后,您將在Dash中找到“個(gè)人文件共享”應(yīng)用程序。
With the Personal File Sharing application, you can enable easy sharing of your Public folder over the network – it only works with the Public folder, not other folders. You can require a password never, when? writing files, or whenever the share is accessed. You an also enable easy sharing and receiving of files in the Public folder over Bluetooth.
使用“個(gè)人文件共享”應(yīng)用程序,可以通過(guò)網(wǎng)絡(luò)輕松共享“公用”文件夾-它僅適用于“公用”文件夾,不適用于其他文件夾。 寫入文件或訪問(wèn)共享時(shí),您永遠(yuǎn)不需要密碼。 您還可以通過(guò)藍(lán)牙輕松共享和接收“公共”文件夾中的文件。
Open the Network pane in the Nautilus file browser and you’ll see each Public folder shared on the network.
在Nautilus文件瀏覽器中打開“網(wǎng)絡(luò)”窗格,您將看到網(wǎng)絡(luò)上共享的每個(gè)公用文件夾。
翻譯自: https://www.howtogeek.com/116309/use-ubuntus-public-folder-to-easily-share-files-between-computers/
總結(jié)
以上是生活随笔為你收集整理的使用Ubuntu的公用文件夹轻松地在计算机之间共享文件的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 目标跟踪 facebook_如何关闭Fa
- 下一篇: 服务器开机只显示logo,Ubuntu