로컬 네트워크에서 폴더 공유

로컬 네트워크에서 폴더 공유

저는 Ubuntu를 처음 접했고 시스템에 Ubuntu 11.10을 설치했습니다. 로컬 네트워크의 폴더를 공유하고 싶습니다. 어떻게 해야 합니까?

폴더를 마우스 오른쪽 버튼으로 클릭하여 공유하고 싶습니다. 이 작업을 수행하면 삼바를 설치하라는 메시지가 표시되고 삼바를 설치하려고 하면 우분투 서버에서 찾을 수 없는 일부 파일이 표시됩니다.
설치 프로세스 시간에 다음과 같은 오류가 발생했습니다.

root@sys:~# sudo apt-get install samba

Reading package lists... 
Done
Building dependency tree       
Reading state information... 
Done 
The following extra packages will be installed:  
libwbclient0 samba-common smbclient 
Suggested packages:  openbsd-inetd inet-superserver smbldap-tools ldb-tools cifs-utils
The following NEW packages will be installed:  samba
The following packages will be upgraded: libwbclient0 samba-common smbclient
3 upgraded, 1 newly installed, 0 to remove and 372 not upgraded.
Need to get 23.3 MB of archives.
After this operation, 23.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
 libwbclient0 smbclient samba-common samba
Install these packages without verification [y/N]? y
Err http://np.archive.ubuntu.com/ubuntu/ oneiric-updates/main libwbclient0 i386 2:3.5.11~dfsg-1ubuntu2.1  404  Not Found
Err http://np.archive.ubuntu.com/ubuntu/ oneiric-updates/main smbclient i386 2:3.5.11~dfsg-1ubuntu2.1  Bad header line
Err http://np.archive.ubuntu.com/ubuntu/ oneiric-updates/main samba-common all 2:3.5.11~dfsg-1ubuntu2.1  404  Not Found
Err http://np.archive.ubuntu.com/ubuntu/ oneiric-updates/main samba i386 2:3.5.11~dfsg-1ubuntu2.1  404  Not Found 
Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/s/samba/libwbclient0_3.5.11~dfsg-1ubuntu2.1_i386.deb  404  Not Found
Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/s/samba/smbclient_3.5.11~dfsg-1ubuntu2.1_i386.deb  Bad header line
Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/s/samba/samba-common_3.5.11~dfsg-1ubuntu2.1_all.deb  404  Not Found
Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/s/samba/samba_3.5.11~dfsg-1ubuntu2.1_i386.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

답변1

마우스 오른쪽 버튼 클릭이 작동하지 않으므로 터미널 창을 열고 다음 명령을 입력하십시오.

sudo apt-get 설치 삼바 smbfs

그러면 필요한 소프트웨어가 설치됩니다. 그런 다음 마우스 오른쪽 버튼 클릭 및 공유 옵션을 다시 시도하십시오.

답변2

  • 소프트웨어 센터를 열고 samba거기에서 설치하십시오. 아래 그림을 참조하세요.

삼바

  • 설치 실행 후 samba. 아래와 같은 창이 나타납니다. +새 공유를 추가하려면 아이콘을 클릭하세요 .여기에 이미지 설명을 입력하세요
  • 또는 폴더를 마우스 오른쪽 버튼으로 클릭하고sharing options

답변3

가장 쉬운 방법은 UbuntuOne을 사용하는 것입니다. 폴더를 마우스 오른쪽 버튼으로 클릭하고 전 세계 누구와도 공유하세요.

또 다른 쉽고 안전한 방법은 Nautilus 파일 처리기에서 SSH 및 "파일/서버에 연결"을 사용하는 것입니다. 공유하려는 폴더가 있는 시스템에 Ubuntu 프로그램 센터에서 openssh-server를 설치해야 합니다(기술 개체로 나열됨).

후자의 방법은 강력한 암호화를 사용하며 인터넷을 통해 폴더를 공유하는 것과 동일한 기술을 사용할 수 있습니다.

답변4

관련 정보