First, configure the software warehouse
1.yum Introduction
Installation and deployment mechanism based on RPM software package
automatically resolves dependencies for packages
Need to configure the Software warehouse first
2. Configure the Local software repository
A. Insert the Centos7.iso image file into the optical drive to make sure the power is turned on
B. Command operations
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//change 1 to 0 disable Gpgcheck test
...
4. Verification
Yum Clean all clear Yum Cache
# yum Repolist Verify the warehouse name, path, number of packages
II. Yum Management application
1. Querying packages
Basic usage
Format: Yum list [software name].
2. Get the description of the package
Basic usage
Format: Yum info [software name]
3. query files and commands by which package is generated
Basic usage
Format: Yum privides "*/program or file name". .
4. Install/Uninstall application software
Installation:
Basic usage
Format: Yum [-y] install software name. .
Delete:
Basic usage
Format: Yum [-y] Remove software name. ..
Iii. rapid deployment of the Web
1.Web Service Overview
Web server is a kind of web resource communication based on B/S architecture
2. Quickly build a Web server site
A. Installing the package
B. Create a new default home page
C. Start the service
[[email protected] ~]# systemctl start httpd//Start httpd service
[[email protected] ~]# systemctl enable httpd//Set httpd boot from
D. Testing
Iv. Rapid deployment of FTP
1.FTP Service Overview
Based on C/s architecture
C Client
S Server
File Upload/Download service
2.ftp Account
Anonymous User: The default access is/VAR/FTP
Local User: The default access is/home/xxx
3. Quickly build an FTP server site
A. Installing the package
B. Modifying the master configuration file
[Email protected] ~]# Useradd vip2018
[Email protected] ~]# passwd 123
C. Testing
[[email protected] ~]# Firefox ftp://127.0.0.1 //default login is/var/ftp
[[email protected] ~]# Firefox ftp://[email protected]//Login to/home/vip2018
Linux configuration software repositories, yum management applications, rapid deployment web/ftp