02 2020 档案
摘要:yum install epel* -y yum install python-pip python-devel -y yum install glances -y yum install iftop -y yum install htop -y #glances WebServer 模式 在 gl
阅读全文
摘要:1:创建仓库vi /etc/yum.repos.d/mongodb-org-3.4.repo2:把下面的内容复制到文件中 保存退出 [mongodb-org-3.4]name=MongoDB Repositorybaseurl=https://repo.mongodb.org/yum/redhat/
阅读全文
摘要:Linux下安装 mongodb 1.下载 去官网 https://www.mongodb.com 找到对应版本的mongodb 的下载地址 这样的: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel62-4.0.0.tgz 2.
阅读全文
摘要:1 卸载系统自带的Mariadb [root@localhost ~]# rpm -qa | grep mariadb mariadb-libs-5.5.44-2.el7.centos.x86_64 [root@localhost ~]# rpm -e --nodeps mariadb-libs-5
阅读全文
摘要:在linux中,当物理内存mem不足时,就会使用虚拟内存(swap分区) 例如增加2G虚拟内存,操作如下:1.查看内存大小[root@gamedb ~]# free -mh 2.创建要作为swap分区的文件:增加1GB大小的交换分区,则命令写法如下,其中的count等于想要的块的数量(bs*coun
阅读全文