download PHP 7 and install

General support questions
Post Reply
zidan86
Posts: 12
Joined: 2018/12/03 16:34:28

download PHP 7 and install

Post by zidan86 » 2021/01/22 16:08:36

i want download PHP 7

and install that in Centos 7 on VMs
note ,that VM not have a internet

thanks ,

tunk
Posts: 896
Joined: 2017/02/22 15:08:17

Re: download PHP 7 and install

Post by tunk » 2021/01/22 17:13:08

Do a web search with e.g. these keywords: centos php 7 remi
Haven't done it myself, so couldn't say how it works or what
dependencies it has.

zidan86
Posts: 12
Joined: 2018/12/03 16:34:28

Re: download PHP 7 and install

Post by zidan86 » 2021/01/22 17:34:16

i want download from another PC , and copy those files into Centos and install it

zidan86
Posts: 12
Joined: 2018/12/03 16:34:28

Re: download PHP 7 and install

Post by zidan86 » 2021/01/22 19:10:02

tunk wrote:
2021/01/22 17:13:08
Do a web search with e.g. these keywords: centos php 7 remi
Haven't done it myself, so couldn't say how it works or what
dependencies it has.
i want download from another PC , and copy those files into Centos and install it

User avatar
remirepo
Posts: 415
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: download PHP 7 and install

Post by remirepo » 2021/01/23 06:58:13

> i want download from another PC , and copy those files into Centos and install it

On another PC, enable yum cache (keep downloaded packages)
Play the transaction
Copy cache content to server
Install packages.
Remi's Repository - Forum - Blog

zidan86
Posts: 12
Joined: 2018/12/03 16:34:28

Re: download PHP 7 and install

Post by zidan86 » 2021/01/23 16:27:58

remirepo wrote:
2021/01/23 06:58:13
> i want download from another PC , and copy those files into Centos and install it

On another PC, enable yum cache (keep downloaded packages)
Play the transaction
Copy cache content to server
Install packages.
yes that i want , where that content or how to know where those content
and install that packages

Whoever
Posts: 1171
Joined: 2013/09/06 03:12:10

Re: download PHP 7 and install

Post by Whoever » 2021/01/24 04:35:36

Install your VMs in an environment where they have access to the Internet, then move or reconfigure them to remove Internet access.

User avatar
remirepo
Posts: 415
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: download PHP 7 and install

Post by remirepo » 2021/01/24 06:50:19

> yes that i want , where that content or how to know where those content

Se man yum.conf and "cache" directives
Especially the "keepcache" one
Default path is /var/cache/yum
Remi's Repository - Forum - Blog

Post Reply

Return to “CentOS 7 - General Support”