CentOS Samba 服務(wù)器的構(gòu)建是怎樣的,針對這個問題,這篇文章詳細(xì)介紹了相對應(yīng)的分析和解答,希望可以幫助更多想解決這個問題的小伙伴找到更簡單易行的方法。
創(chuàng)新互聯(lián)建站IDC提供業(yè)務(wù):成都西信服務(wù)器托管,成都服務(wù)器租用,成都西信服務(wù)器托管,重慶服務(wù)器租用等四川省內(nèi)主機(jī)托管與主機(jī)租用業(yè)務(wù);數(shù)據(jù)中心含:雙線機(jī)房,BGP機(jī)房,電信機(jī)房,移動機(jī)房,聯(lián)通機(jī)房。
CentOS系統(tǒng)已經(jīng)被廣泛使用,但在我們使用 Windows 作為客戶機(jī)的時候,通常有文件、打印共享的需求。作為Windows 網(wǎng)絡(luò)功能之一,通??梢栽?Windows 客戶機(jī)之間通過 Windows Network 固有的功能實現(xiàn)這些要求。然而,通過CentOS Samba 我們也可以讓一臺 CentOS 主機(jī)來兼容 Windows 網(wǎng)絡(luò),實現(xiàn)同樣的功能,進(jìn)而充分發(fā)揮 CentOS 主機(jī)的可用性。下面我們就來介紹怎樣通過CentOS Samba 服務(wù)器的構(gòu)建實現(xiàn) Windows 網(wǎng)絡(luò)中的文件共享。
安裝 CentOS Samba
首先,通過 yum 來在線安裝 CentOS Samba 。
[root@sample ~]# yum -y install samba ← 安裝 Samba
Setting up Install Process Setting up repositories update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 73 kB 00:00 update : ################################################## 212/212 Added 212 new packages, deleted 0 old in 4.94 seconds primary.xml.gz 100% |=========================| 569 kB 00:00 base : ################################################## 1500/1500 Added 1500 new packages, deleted 0 old in 28.97 seconds primary.xml.gz 100% |=========================| 157 B 00:00 Added 0 new packages, deleted 0 old in 0.03 seconds primary.xml.gz 100% |=========================| 32 kB 00:00 extras : ################################################## 124/124 Added 124 new packages, deleted 0 old in 1.93 seconds Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for samba to pack into transaction set. samba-3.0.10-1.4E.9.i386. 100% |=========================| 101 kB 00:00 ---> Package samba.i386 0:3.0.10-1.4E.9 set to be updated --> Running transaction check --> Processing Dependency: samba-common = 0:3.0.10 for package: samba --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for samba-common to pack into transaction set. samba-common-3.0.10-1.4E. 100% |=========================| 37 kB 00:00 ---> Package samba-common.i386 0:3.0.10-1.4E.9 set to be updated --> Running transaction check Dependencies Resolved Package Arch Version Repository Size Installing: samba i386 3.0.10-1.4E.9 base 13 M Installing for dependencies: samba-common i386 3.0.10-1.4E.9 base 5.0 M Transaction Summary Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 18 M Downloading Packages: (1/2): samba-common-3.0.1 100% |=========================| 5.0 MB 00:04 (2/2): samba-3.0.10-1.4E. 100% |=========================| 13 MB 00:11 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821 Public key for samba-common-3.0.10-1.4E.9.i386.rpm is not installed Retrieving GPG key from http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 Importing GPG key 0x443E1821 "CentOS-4 key" Key imported successfully Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: samba-common ######################### [1/2] Installing: samba ######################### [2/2] Installed: samba.i386 0:3.0.10-1.4E.9 Dependency Installed: samba-common.i386 0:3.0.10-1.4E.9 Complete!
經(jīng)過上述的安裝過程,我們就可以正確的安裝CentOS Samba 服務(wù)器。
關(guān)于CentOS Samba 服務(wù)器的構(gòu)建是怎樣的問題的解答就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,如果你還有很多疑惑沒有解開,可以關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道了解更多相關(guān)知識。