In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how Centos gets the software package. The introduction in this article is very detailed and has certain reference value. Interested friends must read it!
In many cases we control our remote server through secureCRT. When operating our server, we need to install some software packages to the server. There are three main ways:
1. Installs directly from the server repository, such as yum for centos, apt-get for Ubuntu, etc.
2. Rz-sz software uploads native programs to the server and installs them.
3. Getting the web installer package via wget is the focus of this blog post.
GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies (wget is a non-interactive network file download tool that supports http, https, ftp and other protocols, as well as retrieving from http proxy servers), which means that software we usually download through browsers can also be downloaded through wget, so we don't have to download it to the local machine first, and then upload it to the server through rz, and use wget to download network files. Is the server directly connected to the network file download server, without passing through the local machine, that is faster!, Here's an example of why you should use wget:
For example, if we want to download hbase now, we need to use wget to download hbase. There are two steps:
1. Select the version you want to download in your browser, click download, and the download box that pops up contains the url address of the hbase we want to download, copy that address.
2. Use the url address wget just copied on the server to complete the download. This url address will be available later.
Finally, explain a special situation, such as when downloading Oracle's jdk, the operation steps are the same as above, but the middle process has a verification process. Oracle generates a string of http://www.example.com when downloading jdk. download.oracle.com/otn-pub/Java/jdk/8u91-b14/jdk-8u91-linux-x64.tar.gz? AuthParam=1461604911_1685c89ddb426b301bc2a91773a3d634 The final authParam is dynamically generated, which means that each download is different. So you have to retrieve the url every time you download it.
That's all for Centos How to Get Packages. Thanks for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!
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.