First, install the FTP component
Open Control Panel-programs and features-turn Windows features on or off
Select "FTP Server", "Web management Tool" and "World Wide Web Service" in the "Internet Information Service" option, and note that the "+" in front of the option opens to see if the sub-options are checked, and then select OK to wait for the installation to complete.
Second, configure the FTP server
Open Control Panel-Administrative Tools-Internet Information Services (IIS) Management Server, then right-click on the left, click on the "Add FTP Site" option, then follow the prompts next to the next step, and note that when selecting the root directory, fill in the directory where you want to store the Yum source. That is, we ftp to access the root directory, where I configured D:\yum as the root directory, the Windows system FTP server was built.
Third, the configuration of the Yum source
After the FTP is set up on the Windows system, the image files Sles-11-sp2-dvd-x86_64-gm-dvd.iso extracted files are placed under the D:\yum, then you can use the browser to ftp://windows the system IP via the link address. To access the files on the FTP.
Add a Yum source profile on the SuSE server
/ETC/ZYPP/REPOS.D # VI Ftp-suse.repo
[Ftp-suse]
Name=ftp-suse
Enabled=1
Autorefresh=0
Baseurl=ftp://windows System IP
Gpgcheck=0
Refresh Cache
/ETC/ZYPP/REPOS.D # Zypper ref
Retrieving repository ' ftp-suse ' metadata [done]
Building repository ' ftp-suse ' cache [done]
All repositories has been refreshed.
Iv. Verification
Try to install the package
# Zypper Install Ncurses-devel
Loading Repository Data ...
Reading Installed packages ...
Resolving package dependencies ...
The following NEW packages is going to be installed:
Ncurses-devel Tack
2 new packages to install.
Overall Download size:3.2 MiB. After the operation, additional 22.7 MiB would be used.
Continue? [y/n/?] (y): Y
Retrieving package tack-5.6-90.55.x86_64, 79.0 KiB (170.0 KiB unpacked)
retrieving:tack-5.6-90.55.x86_64.rpm [Done]
Retrieving Package ncurses-devel-5.6-90.55.x86_64 (2/2), 3.1 MiB (22.5 MIB unpacked)
retrieving:ncurses-devel-5.6-90.55.x86_64.rpm [Done]
installing:tack-5.6-90.55 [Done]
installing:ncurses-devel-5.6-90.55 [Done]
This article is from the "Xiaoxiaozhou" blog, make sure to keep this source http://xiaoxiaozhou.blog.51cto.com/4681537/1888713
Build SuSE software source under Windows system