12 2020 档案
摘要:http://blog.itpub.net/23718752/viewspace-2146961/
阅读全文
摘要:一些软件在长期运行的过程中会产生一些log或info文件,时间久了会占用很多磁盘空间,可以通过shell脚本+crontab定时任务的方式,定期自动清理这些文件以腾出磁盘空间,脚本如下: #!/bin/bashfind /log/test_logs/ -mtime +10 -type f -name
阅读全文
摘要:一、基础环境 1、操作系统:CentOS 7.3 2、PostgreSQL:10.3 3、主节点:192.168.0.101 从节点:192.168.0.102 二、部署主从 1、安装postgreSQL 主节点与从节点均安装postgreSQL. 2、配置主从 主节点(192.168.0.101)
阅读全文
摘要:1、检查网络 配置网络yum源,首先检查系统的外网是否能正常访问 2、获取repo文件 这里我们以网易的yum源为例,首先我们需要下载网易yum源的repo文件,这里需要注意的是,如果系统是最小化安装没有wget命令的话需要首先安装wget wget http://mirrors.163.com/.
阅读全文
摘要:https://www.cnblogs.com/ericnie/p/5233666.html
阅读全文
摘要:转载常用地址: Linux操作系统 CentOS : https://www.centos.org/download/ WEB中间件 Apache Tomcat : https://tomcat.apache.org/ Wildfly:https://wildfly.org/downloads/ 内
阅读全文
摘要:nfs 客户端和服务端: [root@pxc2 nfs-test]# yum -y install nfs-utils rpcbind [root@pxc2 nfs-test]# /etc/init.d/rpcbind start[root@pxc2 nfs-test]# /etc/init.d/n
阅读全文