当前位置:网站首页>Ngx+sql environment offline installation log (RPM installation)
Ngx+sql environment offline installation log (RPM installation)
2022-07-28 22:30:00 【5xp_ two thousand and one】
Record once offline rpm Installation record ;
os edition : CentOS Linux release 7.9.2009 (Core
The production environment cannot link to the Internet Use the local virtual machine to test and install the required packages
To configure epel Source
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum install nginx
Installing :
nginx x86_64 1:1.20.1-2.el7 epel 586 k
Install for dependency :
centos-indexhtml noarch 7-9.el7.centos base 92 k
gperftools-libs x86_64 2.6.1-1.el7 base 272 k
nginx-filesystem noarch 1:1.20.1-2.el7 epel 23 k
openssl11-libs x86_64 1:1.1.1g-3.el7 epel 1.5 M
Use in the local environment yum download rpm package ,
yumdownloader nginx-filesystem openssl11-libs
During remote installation, you will be prompted again that the dependency is missing as follows Again yumdownloader Then transfer to the production environment
gnome-keyring-3.28.2-1.el7.x86_64
gnome-keyring-3.28.2-1.el7.x86_64
python-meh-0.25.3-1.el7.noarch
The final installation is completed nginx The effective logs of installation operations are as follows
500 yum reinstall python-meh-0.25.3-1.el7.noarch.rpm
501 ls
502 rpm -ivh gnome-keyring-3.28.2-1.el7.x86_64.rpm
503 ll
504 rpm -ivh net-tools-2.0-0.25.20131004git.el7.x86_64.rpm
505 rpm -ivh nginx-filesystem-1.20.1-2.el7.noarch.rpm
506 rpm -ivh openssl11-libs-1.1.1g-3.el7.x86_64.rpm
507 yum localinstall nginx-1.20.1-2.el7.x86_64.rpm
508 systemctl status nginx
mysql as follows : Pay attention to the installation sequence , There are many interdependencies
#@=================================================
because GFW problem Use the following sources yumdownloader Always timeout
1026 wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
1027 rpm -Uvh https://repo.mysql.com/mysql80-community-release-el7-3.noarch.rpm
Test the source required by the local installation
yum --enablerepo=mysql80-communityyum install mysql-community-server
Installing :
mysql-community-libs x86_64 8.0.26-1.el7 mysql80-community 4.0 M
Replace mariadb-libs.x86_64 1:5.5.68-1.el7
mysql-community-libs-compat x86_64 8.0.26-1.el7 mysql80-community 1.2 M
Replace mariadb-libs.x86_64 1:5.5.68-1.el7
mysql-community-server x86_64 8.0.26-1.el7 mysql80-community 434 M
Install for dependency :
mysql-community-client x86_64 8.0.26-1.el7 mysql80-community 46 M
mysql-community-client-plugins x86_64 8.0.26-1.el7 mysql80-community 4.5 M
mysql-community-common x86_64 8.0.26-1.el7 mysql80-community 620 k
net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k
The installation sequence after downloading the required packages is as follows
Be careful Wrong presentation Mariadb package obsoleted, need yum remove
mysql-community-common
mysql-community-client-plugins
yum remove mariadb-libs
mysql-community-libs
mysql-community-libs-compat
mysql-community-clientspare : If the foreign image source is always timeout, You can manually download... From the following address :
Browser access to domestic sources Download the corresponding... Manually rpm package The download address uses the following address :
https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql80-community-el7/
Final
mysql-community-server-8.0.26-1.el7.x86_64
nginx-1.20.1-2.el7.x86_64
11 month 18 Add yum Local environment configuration information :
initialization repo
stay rpm Execute under directory createrepo .
[[email protected] sql8]# ls
mysql-community-client-8.0.26-1.el7.x86_64.rpm mysql-community-libs-8.0.26-1.el7.x86_64.rpm repodata
mysql-community-client-plugins-8.0.26-1.el7.x86_64.rpm mysql-community-libs-compat-8.0.26-1.el7.x86_64.rpm
mysql-community-common-8.0.26-1.el7.x86_64.rpm mysql-community-server-8.0.26-1.el7.x86_64.rpm
[[email protected] sql8]# pwd
/home/jtwy1/mysql8/sql8
Write yum The configuration file
cat /etc/yum.repos.d/MYSQL.repo
[c7-media]
name=CentOS-$releasever - Media
#baseurl=file:///home/jtwy1/centos/
baseurl=file:///home/jtwy1/mysql8/sql8
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
边栏推荐
- HCIP(9)
- HCIP(13)
- Idea generate class diagram plug-in UML (super detailed)
- Is mov format a still image file format
- HCIP(15)
- JMeter installs third-party plug-ins plugins Manager
- winServer运维技术栈
- Ruiji takeout - background login function development
- Ultra detailed visual studio 2019 running littlevgl (lvgl) simulator
- Solve Jupiter: the term 'Jupiter' is not recognized as the name of a cmdlet, function, script file
猜你喜欢

79. Word search (medium string array matrix backtracking)

SQL injection less38 (Stack Injection)
![[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints](/img/37/7cb5fa3a9078a5f5947485147c819d.png)
[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints

静态路由和缺省路由实验

Solve Jupiter: the term 'Jupiter' is not recognized as the name of a cmdlet, function, script file

Soft exam network engineer

How about the actual use effect of common source oscilloscope

PaddleNLP基于ERNIR3.0文本分类以CAIL2018-SMALL数据集罪名预测任务为例【多标签】

SQL injection less42 (post stack injection)

CMD common commands
随机推荐
想要快速成长,先要经历重大打击!
Ruiji takeout project - development of business development function Day2
删除容器镜像报错解决image is referenced in multiple repositories
静态成员static详解
npm ERR code ETIMEDOUT npm ERR syscall connect npm ERR errno ETIMEDOUT npm ERR network reques...
HCIP(15)
hcip实验(15)
Changes in the history of oscilloscope development
Alibaba cloud CDN practice
CDN工作原理
HCIP(8)
MySQL installation and configuration (super detailed, simple and practical)
hcip实验(14)
76. Minimum coverage substring (hard sliding window hash table string)
ssh免密登陆
tutorial/detailed_ workflow. Ipynb quantitative finance qlib Library
Excel-VBA 快速上手(十三、日期的常见用法)
What are the main functions and uses of LCR tester
mysql create语句能不能用来建立表结构并追加新的记录
Leetcode question brushing series - sum of majority type