Last update at :2024-06-16,Edit by888u
When Snail tried to install the GITLAB application environment in the CentOS environment today, the "No package redis available" error message appeared when installing redis. It will definitely not be possible to proceed without solving this problem. This prompt should be that there is no redis application installation source in the current system. We need to download it from a third party to the current directory and install it before executing it.
First, redis installation error message
[[email protected] ~]# yum -y install redisLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* base: centos.sonn.com* extras: mirror.supremebytes.com* updates: mirrors.cat.pdx.eduSetting up Install ProcessNo package redis available.Error: Nothing to do
If the above prompt appears after we install redis, we will continue to the next step.
Second, download the corresponding version and installation of EPEL
Version search address: http://fedoraproject.org/wiki/EPEL
What I need is centos 64-bit. I directly find the source and download it to the current directory with wget:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Then install:
rpm -ivh epel-release-6-8.noarch.rpm
Third, install redis
yum install redis
Then we can execute the installation command to install normally. During the process, it will be mentioned that we need to enter y and press Enter. We will enter Enter according to the prompts until the installation is completed.
PS: Similarly, if the "No package nginx available" prompt appears when we install nginx, this method can also be used to solve it. Installing the EPEL library can solve the problem.
Recommended site searches: Ministry of Information Industry registration, US server defense, free asp space, all-round virtual host, US server rental, 6 yuan a year cloud server, how much does server defense cost, Shandong registration, Hong Kong vps host, virtual Host evaluation,
发表评论