搭建环境: host01-5g 192.168.122.201 5g : host02-5g 192.168.122.201 5g : 通过host01 克隆 host00-2g 192.168.122.201 2g : 通过host01 克隆,修改xml 一: host01-5g kvm 部署 一 ...
分类:
其他好文 时间:
2020-06-16 23:26:48
阅读次数:
60
问题背景 最近装个centos 7.6的环境,其中,基础环境包括,redis、nginx、mongodb、fastdfs、mysql等,其中,自启动使用的是systemctl,其他几个组件,都没啥问题,唯独,这个mongodb,是死活启动不了。 但是,我这里说的,不是启动不了,如果直接在shell里 ...
分类:
数据库 时间:
2020-06-16 18:52:31
阅读次数:
84
一、下载CentOS7的镜像文件ISO CentOS官方镜像站点列表地址: https://www.centos.org/download/mirrors/ 中国境内CentOS镜像下载地址: 阿里: http://mirrors.aliyun.com/centos/ 清华: https://mir ...
分类:
系统相关 时间:
2020-06-16 18:37:19
阅读次数:
70
今天被问到 mongodb,centos 7.6的自启动,报错 Jun 16 11:34:39 localhost rc.local: ERROR: child process failed, exited with error number 1 Jun 16 11:34:39 localhost ...
分类:
数据库 时间:
2020-06-16 18:30:54
阅读次数:
134
一、安装YUM Repo1、由于CentOS 的yum源中没有mysql,需要到mysql的官网下载yum repo配置文件。下载命令: wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm 2、然后进行r ...
分类:
数据库 时间:
2020-06-16 15:29:08
阅读次数:
59
#三台云服务器搭建redis集群# 今天花了一天的时间弄集群redis;遇到了很多坑,从头开始吧 环境讲解: 两台配置:1核2G,另一台:1核1G; 操作系统:Centos 7.6 Redis:3.2.12 Ruby:2.3.4 由于是云服务器所以默认安装了JDK1.8和yum以及gcc,如果不是云 ...
分类:
其他好文 时间:
2020-06-16 15:22:24
阅读次数:
143
安装很简单,执行如下指令即可: wget https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz # tar -zxvf perl-5.28.0.tar.gz cd perl-5.28.0 ./Configure -des -Dprefix=/usr/loca ...
分类:
其他好文 时间:
2020-06-16 14:51:38
阅读次数:
48
首先确保防火墙在CentOS 8实例上正确运行。 sudo systemctl status firewalld 安装Apache(在基于RHEL的发行版中,Apache软件包和服务称为httpd)。 yum install httpd 启用Apache服务,并使其在系统启动时启动。 systemc ...
分类:
Web程序 时间:
2020-06-16 13:23:09
阅读次数:
73
查看防火墙状态: systemctl status firewalld.service关闭防火墙: systemctl stop firewalld.service执行开机禁用防火墙自启命令 : systemctl disable firewalld.service启动防火墙:systemctl s ...
分类:
其他好文 时间:
2020-06-16 13:17:59
阅读次数:
122
Linux环境:CnetOS 8 VmWare 1. 查看yum源的java包 yum list java* 2. 选择1.8.0版本进行安装 yum -y install java-1.8.0-openjdk 提示:错误,该命令必须以root用户运行 备注:这是因为登陆用户没有root权限 解决办 ...
分类:
编程语言 时间:
2020-06-16 13:09:31
阅读次数:
95