安装redis出现的问题
一:显示的错误
Loaded plugins: fastestmirror, refresh-packagekit, security
You need to be root to perform this command.
Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this comm
Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this comm
二:原因分析
需要切换到root用户
su
然后输入密码123456 root用户时 #,普通用户时$
Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this comm
Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this comm
三:安装redis依赖的环境gcc
由于redis是c语言开发的,所以依赖gcc环境,如果系统没有gcc环境可以通过以下命令安装
Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this comm
Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this comm

相关文章:

  • 2022-01-02
  • 2021-06-09
  • 2022-12-23
  • 2022-03-09
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2021-10-23
  • 2021-08-07
  • 2022-12-23
相关资源
相似解决方案