postgresql 源码安装
创建用户 useradd postgres passwd postgres 安装依赖包 yum groupinstall -y "Development Tools" "Legacy UNIX Compatibility" yum install -y bios flex readline* zli
创建用户 useradd postgres passwd postgres 安装依赖包 yum groupinstall -y "Development Tools" "Legacy UNIX Compatibility" yum install -y bios flex readline* zli
compose配置文件 services: openresty: image: harbor.bomsorte.com:1443/base/openresty:1.27.1.2 container_name: openresty restart: always p
创建目录和授权 mkdir /data/mysql/{data,conf} -p cd /data chown -R 999.999 mysql compose配置 services: openresty: image: mysql:8.0.40 container_name:
在阿里云oss桶中绑定自定义域名 nginx 配置,其中/C/kuku-phl/web-mobile是桶中文件目录 server { server_name pwa.cashcc13.cc; listen 80; location =/ { proxy_pass http
方法:需要使用到 timeiso8601内嵌变量来获取时间。 time_iso8601 内嵌变量来获取时间。time iso8601内嵌变量来获取时间。time_iso8601格式如下:2018-09-21T16:01:02+02:00。然后使用正则表达式来获取所需时间的数据 注意层次关系,这段脚本
安装基础软件 wget https://github.com/OpenVPN/easy-rsa/releases/download/v3.2.4/EasyRSA-3.2.4.tgz tar -zxvf EasyRSA-3.2.4.tgz yum install openvpn 修改证书信息 cd E
关闭selinux每台执行 setenforce 0 sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config 关闭防火墙每台执行 systemctl stop firewalld && systemctl disable
关闭防火墙和selinux 1、关闭防火墙 systemctl stop firewalld && systemctl disable firewalld 2、关闭selinux sed -i 's/enforcing/disabled/g' /etc/selinux/config #永久关闭