分类目录

链接

2020 年 11 月
 1
2345678
9101112131415
16171819202122
23242526272829
30  

近期文章

热门标签

新人福利,免费薅羊毛

centos7 firewalld

1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用  : systemctl disable firewalld 开机启用  : systemctl enable firewalld 2.systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkconfig的功能于一体。 启动一个服务:systemctl start firewalld.service 关闭一个服务:systemctl stop firewalld.service 重启一个服务:systemctl restart firewalld.service 显示一个服务的状态:systemctl s...

LINUX 暂无评论 阅读(275)

centos7下安装mongodb

下载压缩包 我这里选择的是先在官网下载好,然后复制到服务器下 我下载的是 mongodb-linux-x86_64-rhel70-4.0.10.tgz 解压 cd /usr tar zxvf mongodb-linux-x86_64-rhel70-4.0.10.tgz1 mv mongodb-linux-x86_64-rhel70-4.0.10 mongodb 设置环境变量: vi /etc/profile 末尾添加: export PATH=/usr/mongodb/bin:$PATH 生效: source /etc/profile 3)回到mongodb目录下创建数据库目录 cd /usr/mongodb/ 4)在该目录下新建配置文件 touch mongodb.conf 5)创建数据库目录 mkdir data 6)创建日志目录...

MongoDB 暂无评论 阅读(123)