Support for security such as Firewalls and securing linux
-
Windows
- Posts: 59
- Joined: 2021/06/16 13:20:01
Post
by Windows » 2022/04/21 03:29:31
hi,
my CPU only accept CentOs 32 bits:
Code: Select all
[root@localhost ~]# lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model: 4
Model name: ARMv7 Processor rev 4 (v7l)
CPU max MHz: 1400.0000
CPU min MHz: 600.0000
BogoMIPS: 38.40
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
[root@localhost ~]#
then when I try install
php-pear:
full 404...
Code: Select all
...
http://muug.ca/mirror/elrepo/elrepo/el7/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
...
around all world...
then how I can install
php-pear on this CentOs 32 bits?
Code: Select all
[root@localhost ~]# more /etc/redhat-release
CentOS Linux release 7.9.2009 (AltArch)
[root@localhost ~]#
thanks
-
TrevorH
- Site Admin
- Posts: 33218
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2022/04/21 04:37:11
You've installed the elrepo-release package and this is of no use to you since they do not support ARM processors. Remove it with yum remove elrepo-release --disablerepo=\* - until you do, yum wioll 404 on their repo's since they do not exist.
-
Windows
- Posts: 59
- Joined: 2021/06/16 13:20:01
Post
by Windows » 2022/04/21 05:42:25
TrevorH wrote: ↑2022/04/21 04:37:11
yum remove elrepo-release --disablerepo=\*
Code: Select all
[root@localhost ~]# yum -y remove elrepo-release --disablerepo=\*
Loaded plugins: fastestmirror, priorities
Resolving Dependencies
--> Running transaction check
---> Package elrepo-release.noarch 0:7.0-3.el7.elrepo will be erased
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================
Removing:
elrepo-release noarch 7.0-3.el7.elrepo installed 5.2 k
Transaction Summary
=======================================================================================================================================
Remove 1 Package
Installed size: 5.2 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Erasing : elrepo-release-7.0-3.el7.elrepo.noarch 1/1
Verifying : elrepo-release-7.0-3.el7.elrepo.noarch 1/1
Removed:
elrepo-release.noarch 0:7.0-3.el7.elrepo
Complete!
You have new mail in /var/spool/mail/root
[root@localhost ~]#
thanks!, now yes work:
Code: Select all
[root@localhost ~]# yum -y install php-pear
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centosm7.centos.org
* centos-kernel: centosm7.centos.org
* extras: centosi8.centos.org
* updates: centosb5.centos.org
base | 3.6 kB 00:00:00
centos-kernel | 2.9 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/5): base/7/armhfp/group_gz | 153 kB 00:00:00
(2/5): centos-kernel/7/armhfp/primary_db | 24 kB 00:00:00
(3/5): extras/7/armhfp/primary_db | 213 kB 00:00:01
(4/5): updates/7/armhfp/primary_db | 1.6 MB 00:00:02
(5/5): base/7/armhfp/primary_db | 4.1 MB 00:00:10
Resolving Dependencies
--> Running transaction check
---> Package php-pear.noarch 1:1.9.4-22.el7 will be installed
--> Processing Dependency: php-xml for package: 1:php-pear-1.9.4-22.el7.noarch
--> Processing Dependency: php-posix for package: 1:php-pear-1.9.4-22.el7.noarch
--> Running transaction check
---> Package php-process.armv7hl 0:5.4.16-48.el7 will be installed
---> Package php-xml.armv7hl 0:5.4.16-48.el7 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24) for package: php-xml-5.4.16-48.el7.armv7hl
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22) for package: php-xml-5.4.16-48.el7.armv7hl
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18) for package: php-xml-5.4.16-48.el7.armv7hl
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13) for package: php-xml-5.4.16-48.el7.armv7hl
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11) for package: php-xml-5.4.16-48.el7.armv7hl
--> Processing Dependency: libxslt.so.1 for package: php-xml-5.4.16-48.el7.armv7hl
--> Processing Dependency: libexslt.so.0 for package: php-xml-5.4.16-48.el7.armv7hl
--> Running transaction check
---> Package libxslt.armv7hl 0:1.1.28-6.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================
Installing:
php-pear noarch 1:1.9.4-22.el7 base 357 k
Installing for dependencies:
libxslt armv7hl 1.1.28-6.el7 base 224 k
php-process armv7hl 5.4.16-48.el7 base 54 k
php-xml armv7hl 5.4.16-48.el7 base 115 k
Transaction Summary
=======================================================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 750 k
Installed size: 2.9 M
Downloading packages:
(1/4): php-xml-5.4.16-48.el7.armv7hl.rpm | 115 kB 00:00:04
(2/4): php-process-5.4.16-48.el7.armv7hl.rpm | 54 kB 00:00:04
(3/4): php-pear-1.9.4-22.el7.noarch.rpm | 357 kB 00:00:04
(4/4): libxslt-1.1.28-6.el7.armv7hl.rpm | 224 kB 00:00:05
---------------------------------------------------------------------------------------------------------------------------------------
Total 99 kB/s | 750 kB 00:00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : php-process-5.4.16-48.el7.armv7hl 1/4
Installing : libxslt-1.1.28-6.el7.armv7hl 2/4
Installing : php-xml-5.4.16-48.el7.armv7hl 3/4
Installing : 1:php-pear-1.9.4-22.el7.noarch 4/4
Verifying : 1:php-pear-1.9.4-22.el7.noarch 1/4
Verifying : libxslt-1.1.28-6.el7.armv7hl 2/4
Verifying : php-process-5.4.16-48.el7.armv7hl 3/4
Verifying : php-xml-5.4.16-48.el7.armv7hl 4/4
Installed:
php-pear.noarch 1:1.9.4-22.el7
Dependency Installed:
libxslt.armv7hl 0:1.1.28-6.el7 php-process.armv7hl 0:5.4.16-48.el7 php-xml.armv7hl 0:5.4.16-48.el7
Complete!
[root@localhost ~]#
... why my CentOs 7.9 have installed "elrepo-release" ?
this repo is SO GOOD for what ?
regards
-
TrevorH
- Site Admin
- Posts: 33218
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2022/04/21 06:16:44
.. why my CentOs 7.9 have installed "elrepo-release" ?
Because you installed it. It doesn't get installed on its own, you must have done it.
this repo is SO GOOD for what ?
It's a third party repo that specialises in supplying drivers for hardware that is not supported by the distro kernel. It's for x86_64 only so useless on an ARM system.
-
jlehtone
- Posts: 4530
- Joined: 2007/12/11 08:17:33
- Location: Finland
Post
by jlehtone » 2022/04/21 06:22:45
The "elrepo-release" is not installed automatically.
You should be able to see with
Code: Select all
sudo yum history list elrepo-release
when that package was installed initially.
-
Windows
- Posts: 59
- Joined: 2021/06/16 13:20:01
Post
by Windows » 2022/04/21 06:37:46
TrevorH wrote: ↑2022/04/21 06:16:44
... It's a third party repo that specialises in supplying drivers for hardware that is not supported by the distro kernel. It's for x86_64 only so useless on an ARM system.
always, when OS finish of install I run this:
Code: Select all
yum -y update;yum -y install bind-utils nano perl wget yum-utils yum-priorities;printf '\7';
what you think?
bad idea?
( take into 90/110 minutes to finish! )
-
Windows
- Posts: 59
- Joined: 2021/06/16 13:20:01
Post
by Windows » 2022/04/21 16:15:38
TrevorH wrote: ↑2022/04/21 06:16:44
... It doesn't get installed on its own, you must have done it.
ah!, I check my
/root/.bash_history and then I find
Code: Select all
uname -msr
Linux 5.4.185-v7l.1.el7 armv7l
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
why I run this?
becouse I eant UPDATE KERNELL.
But of course, this not work.
Then how I update this CPU to last kernell ?
-
TrevorH
- Site Admin
- Posts: 33218
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2022/04/21 17:12:45
The latets CentOS 7 kernel is kernel-3.10.0-1160.62.1.el7