问题背景 最近装个centos 7.6的环境,其中,基础环境包括,redis、nginx、mongodb、fastdfs、mysql等,其中,自启动使用的是systemctl,其他几个组件,都没啥问题,唯独,这个mongodb,是死活启动不了。 但是,我这里说的,不是启动不了,如果直接在shell里 ...
分类:
数据库 时间:
2020-06-16 18:52:31
阅读次数:
84
1 查看防火墙状态 [root@lvxinghao ~]# systemctl status firewalld 2 查看开机是否启动防火墙服务 [root@lvxinghao ~]# systemctl is-enabled firewalld 3 关闭防火墙 [root@lvxinghao ~] ...
分类:
系统相关 时间:
2020-06-16 13:32:34
阅读次数:
95
首先确保防火墙在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
安装docker: 用yum源安装-查看是否已安装docker列表: yum list installed | grep docker 安装docker: yum -y install docker 启动docker systemctl start docker 查看docker服务状态 syste ...
分类:
其他好文 时间:
2020-06-16 13:03:44
阅读次数:
74
systemctl命令集 参考文献 Systemd 入门教程:命令篇 - 阮一峰 Linux中systemctl详细理解及常用命令 - CSDN ...
分类:
系统相关 时间:
2020-06-16 01:00:22
阅读次数:
74
一、安装Dockerpacman -S docker 二、拉取seafile环境docker pull jenserat/seafile按照网上教程,执行这步时报错:"Cannot connect to the Docker daemon"所以不能抄书啊,连服务都没开启:systemctl star ...
分类:
系统相关 时间:
2020-06-15 22:47:32
阅读次数:
66
oracle数据库静默安装 环境配置 系统:CentOS7.6 cpu:2*4=8核 硬盘:120G 内存:8G 一,配置 1,关闭防火墙及selinux [root@localhost ~]# iptables -F [root@localhost ~]# systemctl stop firew ...
分类:
数据库 时间:
2020-06-15 17:50:10
阅读次数:
76
安装php与php-fpm sudo yum -y install php php-fpm 启动php-fpm服务 sudo systemctl start php-fpm安装mysql扩展yum search mysql |grep php找到相应的包 安装yum install php-mysq ...
分类:
Web程序 时间:
2020-06-15 12:22:05
阅读次数:
401
Nginx安装 nginx无法直接通过yum安装,需要先进行配置,并且要保证其依赖库已安装完成。 检查依赖项(nginx 中gzip模块需要 zlib 库,rewrite模块需要 pcre 库,ssl 功能需要openssl库) 安装方法为:yum -y install pcre pcre-deve ...
分类:
系统相关 时间:
2020-06-15 10:09:31
阅读次数:
68