Linux/Redis6 redis 설치 시 에러 ### redis 설치 시, 에러 ## gcc 가 없을 때 에러 발생 cd src && make all make[1]: Entering deirectory '/usr/share/redis/src' CC addlist.o /bin/sh: cc: command not found make[1]: *** [adlist.o] 오류 127 make[1]: Leaving directory '/usr/share/redis/src' make: ***[all] 오류 2 yum install gcc ## jemalloc 없을 때 에러 cd src && make all make[1]: Entering deirectory '/usr/share/redis/src' CC addlist.o In file included from a.. 2023. 12. 26. redis 설치 #### 패키지 설치 yum install gcc jemalloc varnish tcl tk 1. redis Download wget https://download.redis.io/releases/redis-6.2.4.tar.gz 2. redis Install tar zxvf redis-6.2.4 cd redis-6.2.4 make make PREFIX=/usr/local/redis install 3. Directory 생성 mkdir -p /usr/local/redis/conf mkdir -p /usr/local/redis/log mkdir -p /usr/local/redis/data/6379 4. Default conf 생성 cd /usr/local/src/redis-6.2.4/utils ./inst.. 2023. 12. 26. 이전 1 2 다음