Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cloud Computing Learning Roadmap material Courseware, Software installation method in Linux

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Many beginners feel that cloud computing sounds like a lofty term. Every time they want to understand it, they feel like looking at it in vagueness, let alone what it does. In fact, cloud computing is relatively easy to learn in the IT industry. Next, I'll share with you how to install software in Linux:

I. Source code form

The vast majority of open source software is released directly in the form of source code, and the source code is generally packaged into a .tar.gz archive, which needs to be compiled into binary form before it can be run.

Basic compilation process of source code:

1). Configure checks the compilation environment, where you can configure the installation path through commands such as-- prefix (like)

2) make compiles the source code

3) make insall installs the generated executable file to the current computer.

II. RPM

The characteristics of the source code form: complex operation, long compilation time, extremely prone to problems, complex dependency. For convenience, RPM (redhat package manager) simplifies the installation management of open source software and sets different packages for different systems by compiling the code into executable files based on specific platform systems and saving dependencies.

Common command specification: linuxcast-1.2.0-30.el6.1686.rpm package name-version number-applicable platform-32/64-rpm

Use rpm-I software.rpm (installation)

Rpm-e software.rpm (uninstall)

Rpm-U software.rpm (installation in upgraded form)

Rpm-ivh (supports installation via http\ ftp protocol)

-v displays details;-h displays progress bar

Query function: rpm-qa lists all installed .rpm software rpm-qa | grep * *

Three: YUM

Although the management in the form of rpm software package is convenient, the dependency of the software package needs to be solved manually. Many times to install a software requires the installation of one or more other software, manual solution, it is very complex, but Yum can solve these problems. Yum is the front-end program of rpm, the main purpose of which is to automatically solve the dependency of rpm.

1) automatically resolve dependencies

2) rpm can be grouped and installed based on the group

3) introduce the concept of warehouse to support multiple warehouses

4) simple configuration

The Yum repository is used to store all existing. Rpm packages. When you install a rpm package using Yum, you need dependencies, and you will automatically find the dependent software in the repository and install it. The warehouse can be local, or it can be a centralized and unified network warehouse in the form of HTTP, FTP and nfs. Under the configuration file / etc/yum.repos.d directory of the warehouse

Usage: 1) yum install installation

2) uninstall yum remove

3) yum update upgrade development software

Note: during installation, the package .rpm will be downloaded and installed, so use the domestic warehouse. Change the mirror source: 1) access address 2) click centos usage help; 3) follow the steps. Query software: you can use yumsearch *

At present, our study of cloud computing is only an introduction, learning cloud computing is a long-term process that takes time, and only by perseverance can we get the technology we want.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report