学习日志,redhat安装复述

  

在配置好百胜的基础上安装gcc

如下

[root@hadoop1  ~] #, yum  install  gcc

安装好后,redhat上拷贝焦油文件,

(root@hadoop1 软件)#,cd  redis-2.8.19   [root@hadoop1  redis-2.8.19] # ls   00-RELEASENOTES , CONTRIBUTING , deps ,,,,,,, Makefile  README ,,,,, runtest ,,,,,,,,,, sentinel.conf 测试   BUGS ,,,,,,,,,,,, COPYING ,,,,,, INSTALL , MANIFESTO , redis.conf , runtest-sentinel , src ,,,,,,,,,,,跑龙套

在文件下运行安装,具体可通过readme去查看

在安装好之后:

[root@hadoop1  redis-2.8.19] #, cd 跑龙套   [root@hadoop1 跑龙套]# ls   build-static-symbols.tcl , hyperloglog ,,,,,,,,,, mkrelease.sh  redis_init_script ,,,,, redis-sha1.rb ,,,,,,, whatisdoing.sh   generate-command-help.rb , install_server.sh , redis-copy.rb , redis_init_script.tpl , speed-regression.tcl

在跑龙套中,运行install_server。sh

这里去配置复述的一些东西,如下:

[root@hadoop1 跑龙套]#,。/install_server.sh    Welcome 用,redis  service 安装程序   却,能够script  will  help 你easily  set  up  a  running  redis 服务器      Please  select 从而redis  port  for 却;能够实例:,[6379],   Selecting 默认值:6379   Please  select 从而redis  config  file  name  [/etc/复述,6379./conf],   Selected  default 作用;/etc/复述,6379./conf   Please  select 从而redis  log  file  name  (/var/log/redis_6379.log),   Selected  default 大敌,/var/log/redis_6379.log   Please  select 从而data  directory  for 却;能够instance  (/var/lib/复述/6379),   Selected  default 作用;/var/lib/复述,/6379   Please  select 从而redis  executable  path  [/usr/地方/bin/redis-server],   Selected 配置:   Port ,,,,,,,,,,: 6379   Config  file ,,,:/etc/复述,6379./conf   Log  file ,,,,,,:/var/log/redis_6379.log   Data  dir ,,,,,,,,/var/lib/复述,/6379   Executable ,,,,,/usr/地方/bin/redis-server   Cli  Executable :/usr/地方/bin/redis-cli   Is 却;能够好吗?,Then  press  ENTER 用go 提醒趁机Ctrl-C 用中止。   Copied /tmp/6379. conf =在/etc/摆在/redis_6379   Installing 服务…   Successfully  added 用chkconfig !   Successfully  added 用runlevels  345年!   Starting  Redis 服务器……   Installation 成功!

大功告成

通过redis-cli可以登陆

学习日志,redhat安装复述