In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
First, configure the software repository
Introduction to 1.yum
Installation and deployment Mechanism based on rpm package
Automatically resolve the dependency of the software package
You need to configure the software repository first.
two。 Configure the local software repository
a. Put the centos7.iso image file in the CD-ROM drive and make sure the power is on
b. Command operation
3. Client configuration yum file
# ls / etc/yum.repos.d/
# mkdir / etc/yum.repos.d/oldrepo
# mv / etc/yum.repos.d/*.repo / etc/yum.repos.d/oldrepo/
# ls / etc/yum.repos.d/
# yum-config-manager-- add file:///repo/cos7dvd/
# ls / etc/yum.repos.d/
# vim / etc/yum.conf
...
8 gpgcheck=0// modifies 1 to 0 to disable gpgcheck check
...
4. Verification
Yum clean all is aware of yum cache
# yum repolist verifies repository name, path, number of packages
II. Yum management application
1. Query software package
Basic usage
Format: yum list [software name].
two。 Get the description information of the software package
Basic usage
Format: yum info [software name]
3. Which package is used to query files and commands
Basic usage
Format: yum privides "* / program or file name".. .
4. Install / uninstall applications
Installation:
Basic usage
Format: yum [- y] install software name.. .
Delete:
Basic usage
Format: yum [- y] remove software name.. ..
III. Rapid deployment of Web
Overview of 1.Web Servic
Web server is a kind of web page resource communication based on Bamp S architecture.
two。 Quickly build Web server site
a. Install the package
b. Create a new default home page
c. Start the service
[root@ntd1711 ~] # systemctl start httpd// starts the httpd service
[root@ntd1711 ~] # systemctl enable httpd// sets httpd boot self-startup
d. test
IV. Rapid deployment of Ftp
Overview of 1.FTP Servic
Based on Cpact S architecture
C client
S server
File upload / download service
2.ftp account
Anonymous user: / var/ftp is accessed by default
Local user: / home/xxx is accessed by default
3. Quickly build FTP server site
a. Install the package
b. Modify the master configuration file
[root@ntd1711 ~] # useradd vip2018
[root@ntd1711 ~] # passwd 123
c. test
[root@ntd1711 ~] # firefox ftp://127.0.0.1 / / default login is / var/ftp
[root@ntd1711 ~] # firefox ftp://vip2018@127.0.0.1 / / Log in to / home/vip2018
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: 209
*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.