In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Some time ago, I tried out the cool code hosting sites github and gitorious. I have a lot of feelings.
First of all, I always wanted to have this kind of code hosting website, but I didn't know it until some time ago. Oh, I can't keep up with the trend!
Secondly, these websites are much more beautiful than I wanted. I like simplicity best, and these two sites are exactly the same, even better than I want. It is also recommended for everyone to use here.
By the way, github is closed source and gitorious is open source. Anyway, it's good. I use it for free anyway. I will not talk about how to set up my own frame in the local area network. I will go to the website to see it. Give their links:
Github: https://github.com/
Gitorious: https://gitorious.org/
Of course, both sites use git version control tools, although I have only used css before, but after using git, I think I used to be weak. Okay. Let's not talk about it. So as not to offend the svn and cvs parties.
But I had a little problem using github. There is no explanation on the official website, in fact, it is very simple, but I think there will be rookies like me who don't know what to do. So let me make a list of the problems I have encountered.
Follow the Set Up Git on the official website of github. When you connect to ssh, the following problems will occur:
"Bad file number, what is this?" that's what I thought at the time.
Later, I carefully studied the help documentation on the official website and found that it mentioned a config configuration file, which I certainly did not create. So I google, refer to the predecessors to write a config and put it in the same directory as rsa:
But it still doesn't work when I reconnect:
So I got angry! Calm down and think that it may be the problem of port 22, because I ping github.com and find that it can be connected by ping. Then I checked the port with IceSword and found that port 22 was banned. It turns out that port 22 is the default ssh connection port, but it seems that this service has many weaknesses, so the system is not open by default. Of course, opening it is a strategy, but since there is a weakness, I still do not want to touch it, so I can just use another port to connect to ssh. This new port cannot be duplicated with the service port currently used by the program, and make sure it is open. When I saw the URL of github, I thought of port 443, which is used to support https services. This port is open by default, !
Now I just need to modify the configuration file, as follows:
Notice that Hostname has been changed to ssh.github.com. Then the connection will find everything OK ~ ~ !
After entering yes, a known_hosts file will be generated under the path of rsa.
When you open it, you can see that it is actually a file similar to cookie:
When this file exists, you don't have to bother typing yes, you just connect it:
What about! Am I very talented. Okay. I'm 2 again.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.