Build SuSE software source under Windows system

Source: Internet
Author: User
Tags ftp site

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.