Recently encountered problems

Source: Internet
Author: User

1. These two days to establish the former OpenStack, when the installation is always a mistake, I think about it, each time the installation package can start to download, however, it will download the error, and the download speed is very slow, so. I speculate that this may be because the foreign server countries are too slow.

2. But how to solve the problem abroad to the domestic too slow? Directly in the domestic search for an openstack source, so that you can not trouble, directly can be used. But things were unexpected. There is no way to find OpenStack's Yum source, but there are a lot of common yum sources. What about that?

3. I went online and spent 18 dollars to buy a VPS. Plan to build vpnserver yourself, but assume that it is too slow to build this pace, and I don't want to be too troublesome. Just want to be able to use recently.

4. Baidu to a high-speed construction of the server method. It started to build, and the speed was really fast. It's done in a few minutes.

5. I tested the connection with my own PC host. Can connect, feel the speed is OK. Visiting Facebook or something is not a very good card.

6. I applied to the server, but the pit daddy thing happened. Clearly on the PC can be used. But a visit to the server on the site will not open. I might not have been able to fix it.

7. I open cmd, enter tracert to detect the route, and see if the path and DNS resolution are correct. The result is a test of the path these are completely correct, but the Web page can not open.

8. No way. I was able to test the connection to a multiple VPN (because of the school's network settings, so I connected 2 VPN to bypass the school's billing system) resulting in network speed, data packets and other issues

9. Want to go, or think oneself to build a Yum source

10. However, the source of the Yum Discovery website is the HTTPS protocol. You cannot connect using FTP.

Suppose you want to slowly download that still not tired.

11. So I went online looking for a tool that could download data from all the URLs in a page.

12. Baidu to find a bit of thunder those can, the results to experiment a bit. Found a little pit dad is only a few letters of the combination can, the rest of the entire station packet seemingly not.

13. Think of a bit to Baidu slowly find. It's better to write a Python script yourself, so that you don't have to grab it yourself and execute the script there. More convenient.

14. Write a script yourself and execute the fetch data. Start at local test, always appear to write

Import urllib      con=urllib.urlopen (' https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/ '). Read ()  Tail=con.find (R ' repodata/</a> ', 0) while      con.find (R ' <a href= ', tail) >0:      title= Con.find (R ' <a href= ', tail) start=con.find (r '      = "', title) Tail=con.find      (R ' > ', start)      filename= Con[start+2:tail]    url= "https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/" +filename    Print URL    content=urllib.urlopen (URL). Read ()    openfile=open (filename, "WB")      Openfile.write ( Content)      Openfile.close () Else:      print "It is end!"  

The agency is not enough, I think there is a problem writing plan, carefully looked at the error is considered to be insufficient IO permissions, then a little bit of folder migration. The ultimate success of the test.

To start the download, just wait for the full download and then build the Yum resource.



Recently encountered problems

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.