linux
弄个昵称
这个作者很懒,什么都没留下…
展开
-
CentOS 8报错 Failed to download metadata for repo ‘AppStream‘: Cannot download repomd.xml解决方法
2021年12月31日CentOS 8 EOL。按照社区规则,CentOS 8的源地址http://mirror.centos.org/centos/8/内容已移除,目前第三方的镜像站中均已移除CentOS 8的源。阿里云的源http://mirrors.cloud.aliyuncs.com和http://mirrors.aliyun.com也无法同步到CentOS 8的源。当您在阿里云上继续使用默认配置的CentOS 8的源会发生报错。报错示例如下图所示:1.运行以下命令备份之前的repo文件。re原创 2022-02-22 13:15:27 · 740 阅读 · 0 评论 -
linux redis集群搭建
redis编译后 复制6份 端口号7001-7006把下面的复制进redis.confmaxclients 10000port 7006bind 0.0.0.0pidfile /var/run/redis_7006.piddir /usr/local/redis/7006cluster-enabled yescluster-config-file nodes-7006.confdaemonize yescluster-node-timeout 5000appendonly yes转载 2021-05-19 16:50:06 · 59 阅读 · 0 评论 -
Linux CentOS 6.9 安装MongoDB
CentOS 6.9 安装MongoDB下载安装包cd /web/binwget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-amazon-3.6.4.tgztar zxvf mongodb-linux-x86_64-amazon-3.6.4.tgzmv ./mongodb-linux-x86_64-amazon-3.6.4 ./mongodbcd ./mongodb安装准备创建数据库文件夹与日志文件、配置文件:mkdir原创 2020-07-30 16:33:35 · 110 阅读 · 1 评论