当前位置:网站首页>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
边栏推荐
- 纪念一下第一次写的线段树了喽(对应洛谷3372)
- MOV格式是不是静态图像文件格式
- Sword finger offer II 052. flatten binary search tree (simple binary search tree DFS)
- What does GPRS network mean
- XXX port is already in use
- 普源示波器实际的使用效果怎么样
- JS implementation generates a random key of specified length
- HCIP(9)
- Is mov format a still image file format
- Sword finger offer II 058. schedule (medium design segment tree treemap ordered set)
猜你喜欢
![[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints](/img/37/7cb5fa3a9078a5f5947485147c819d.png)
[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints

Hcip seventh experiment

HCIP(13)

If you want to grow rapidly, you must first experience a major blow!

SQL注入 Less42(POST型堆叠注入)
![[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints](/img/37/7cb5fa3a9078a5f5947485147c819d.png)
[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints

Less than a year after its establishment! MIT derivative quantum computing company completed financing of US $9million

Static details of static members

HCIP(8)

How to install WiFi correctly
随机推荐
Hcip experiment (15)
Closure, prototype and original link
Leetcode integer exercises integer inversion
Wechat applet uses canvas drawing, round avatar, network background, text, dotted line, straight line
Sword finger offer II 056. Sum of two nodes in a binary search tree (simple binary search tree DFS hash table double pointer iterator)
什么是时间复杂度
想要快速成长,先要经历重大打击!
HCIP(13)
SQL注入 Less34(POST型宽字节注入+布尔盲注)
log4j漏洞 elk平台 处理方法 (logstah5.5.1)
Basic introduction of Rockwell AB PLC rslogix digital quantity IO module
tutorial/detailed_workflow.ipynb 量化金融Qlib库
HCIP(8)
成立不到一年!MIT衍生量子计算公司完成900万美元融资
SSH password free login
Win11 how to open software notification
Lin Xiaobin, head of Tencent cloud database, borrowed 100 million yuan to speculate in stocks? Insider: the amount is not true
Netease Yunxin 2022q2 product supply station, come and get your product supply plan!
SQL注入 Less38(堆叠注入)
Sword finger offer II 054. Sum of all values greater than or equal to nodes (medium binary search tree DFS)