惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
T
Threat Research - Cisco Blogs
Cloudbric
Cloudbric
Recent Commits to openclaw:main
Recent Commits to openclaw:main
I
Intezer
Attack and Defense Labs
Attack and Defense Labs
P
Privacy International News Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
L
Lohrmann on Cybersecurity
C
Cybersecurity and Infrastructure Security Agency CISA
V2EX - 技术
V2EX - 技术
AWS News Blog
AWS News Blog
O
OpenAI News
L
LINUX DO - 最新话题
N
News | PayPal Newsroom
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Troy Hunt's Blog
Latest news
Latest news
D
Darknet – Hacking Tools, Hacker News & Cyber Security
A
Arctic Wolf
Spread Privacy
Spread Privacy
G
GRAHAM CLULEY
T
Tor Project blog
博客园_首页
Know Your Adversary
Know Your Adversary
有赞技术团队
有赞技术团队
S
Secure Thoughts
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
T
Tailwind CSS Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Visual Studio Blog
J
Java Code Geeks
Cisco Talos Blog
Cisco Talos Blog
Schneier on Security
Schneier on Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Security Affairs
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
雷峰网
雷峰网
宝玉的分享
宝玉的分享
量子位
Last Week in AI
Last Week in AI
月光博客
月光博客
罗磊的独立博客
S
SegmentFault 最新的问题

博客园 - 子福当自强

vue element plus el-dropdown实现command传递多个参数最简单方式 centos 8 安装 nodejs npm centos 8 安装 minio centos 8 安装 ngingx 1.20 centos 8 安装 mysql 8 centos 8 rpm安装oracle jdk 11 CentOS 8.2远程连接vncserver升级后1.10.1无法启动解决记录 Eclipse:Cannot complete the install because of a conflicting dependency.问题解决 Android SDK更新以及ADT更新出现问题的解决办法 Visual Studio 2013开启JavaScript的智能提示功能 linux中mysql密码找回的两种方式 Oracle 物化视图 说明 linux下mysql字符集编码问题的修改 mysql 启动错误-server PID file could not be found 在linux安装mysql,并设置远程访问 mysql安装过程中出现错误ERROR 1820 (HY000): You must SET PASSWORD before executing this statement解决 linux 下面 jdk1.7 rpm 包的安装 java数据库连接池性能对比 网页导航栏设计模式
centos 8 安装 redis 6
子福当自强 · 2021-12-18 · via 博客园 - 子福当自强

下载:https://download.redis.io/releases/redis-6.2.6.tar.gz

解压:tar xvzf redis-6.2.6.tar.gz

进入解压目录:cd redis-6.2.6

编译:make

安装:make install

复制默认脚本:cp utils/redis_init_script /etc/init.d/redis_6379

编辑默认脚本端口:vim /etc/init.d/redis_6379 (REDISPORT)

创建目录:mkdir /etc/redis/

复制配置文件:cp redis.conf /etc/redis/6379.conf

创建主目录:mkdir /var/redis/6379

编辑配置文件:vim /etc/redis/6379.conf

  • 编辑配置文件,确保执行以下更改:

    • daemonize设置为yes(默认情况下设置为 no)。
    • pidfile设置为(如果需要,请修改端口)。/var/run/redis_6379.pid
    • 相应地更改 port。在我们的示例中,不需要它,因为默认端口已经是 6379。
    • 设置您的首选loglevel
    • 将 logfile设置为/var/log/redis_6379.log
    • dir设置为 /var/redis/6379(非常重要的步骤!)

开机启动:/usr/lib/systemd/systemd-sysv-install enable redis_6379

重启:reboot

检查服务是否启动:redis-cli ping(pong is ok)