当前位置:网站首页>ngx+sql环境离线安装日志(rpm安装)
ngx+sql环境离线安装日志(rpm安装)
2022-07-28 20:46:00 【5xp_2001】
记一次离线rpm安装记录;
os版本: CentOS Linux release 7.9.2009 (Core
生产环境无法链接外网 使用本地虚拟机测试安装所需包
配置epel源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum install nginx
正在安装:
nginx x86_64 1:1.20.1-2.el7 epel 586 k
为依赖而安装:
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
在本地环境使用yum 下载rpm包 ,
yumdownloader nginx-filesystem openssl11-libs
远程安装时再次提示依赖缺失如下 再次yumdownloader 然后传输到生产环境
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
最终安装完毕nginx 安装操作有效日志如下
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如下: 需要注意安装顺序,相互依赖问题较多
#@=================================================
因为GFW问题 使用以下源yumdownloader总是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
测试本地安装需要的源
yum --enablerepo=mysql80-communityyum install mysql-community-server
正在安装:
mysql-community-libs x86_64 8.0.26-1.el7 mysql80-community 4.0 M
替换 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
替换 mariadb-libs.x86_64 1:5.5.68-1.el7
mysql-community-server x86_64 8.0.26-1.el7 mysql80-community 434 M
为依赖而安装:
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
所需包下载后安装顺序如下
注意 报错提示Mariadb包obsoleted, 需要yum remove
mysql-community-common
mysql-community-client-plugins
yum remove mariadb-libs
mysql-community-libs
mysql-community-libs-compat
mysql-community-client备用:如果国外镜像源总是timeout,可以手动从以下地址下载:
浏览器访问国内源 手动下载对应的rpm包 下载地址使用以下地址:
https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql80-community-el7/
最终
mysql-community-server-8.0.26-1.el7.x86_64
nginx-1.20.1-2.el7.x86_64
11月18补充yum本地环境配置信息:
初始化repo
在rpm目录下执行 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
写yum配置文件
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
边栏推荐
- [LiteratureReview]Object Detection and Mapping with Bounding Box Constraints
- Sword finger offer II 057. the difference between the value and the subscript is within the given range (medium array bucket sort sliding window TreeSet)
- mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
- Basic introduction of Rockwell AB PLC rslogix digital quantity IO module
- 【CVPR 2021】Cylinder3D:用于LiDAR点云分割的圆柱体非对称3D卷积网络
- LVS+KeepAlived高可用部署实战应用
- 2021 mathematical modeling group B code
- HCIP第七次实验
- AWK空行过滤
- LCR测试仪最为主要的功能和用途都是什么
猜你喜欢
![[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints](/img/37/7cb5fa3a9078a5f5947485147c819d.png)
[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints

HCIP(8)

HCIP(11)

Netease Yunxin 2022q2 product supply station, come and get your product supply plan!
![[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints](/img/37/7cb5fa3a9078a5f5947485147c819d.png)
[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints

SQL injection less38 (Stack Injection)

internet的基本服务中文件传输命令是哪个

Hcip experiment (15)

XXX port is already in use
![[CS231N]Lecture_2:Image Classification pipelin](/img/4f/de56b071560ada746c587a9dbc5f02.jpg)
[CS231N]Lecture_2:Image Classification pipelin
随机推荐
HCIP(9)
LCR测试仪最为主要的功能和用途都是什么
Is mov format a still image file format
Hcip experiment (14)
Sword finger offer II 052. flatten binary search tree (simple binary search tree DFS)
2021年数学建模B组代码
纪念一下第一次写的线段树了喽(对应洛谷3372)
Sword finger offer II 063. replacement word (medium prefix tree string)
Ruiji takeout project - development of business development function Day2
示波器发展史中的变化
[Ruiji takeout] day05 package management business development
Sword finger offer II 067. maximum XOR (medium prefix tree bit operation array)
Chapter 7: drawing rotating cubes
winServer运维技术栈
CDN working principle
mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
76. Minimum coverage substring (hard sliding window hash table string)
【二叉树】二叉树中的伪回文路径
Mysql内置函数
How about the actual use effect of common source oscilloscope