1、安装 #yum install -y postgresql-server 2、postgresql数据库初始化 #service postgresql initdb 3、启动postgresql服务 #systemctl start postgresql #systemctl enable postgresql 4、查看postgresql状态 #netstat -tlunp|grep 5432 #ss -tlunp|grep 5432 5、连接postgresq
配置Redis主从时,修改完从节点配置文件,然后报错 [root@Rich七哥-0-50 redis]# /opt/redis/redis-cli -h 192.168.0.50 Could not connect to Redis at 192.168.0.50:6379: Connection refused not connected> quit 这是因为需要重新加载配置文件 执行 redis-server /etc/redis.conf
计划任务[At & Cron Jobs] at # at 命令只能计划一次性任务但是比较方便。 # 先输入时间 [root@localhost Desktop]# at 10:02 # 输入要做的事情 at> echo 222 > test.log # CTRL + D 退出 at> <EOT> job 2 at Fri Oct 25 10:02:00 2019 # 查看计划中的任务 [root@localhost
[23-Oct-2019 17:27:39] ERROR: failed to ptrace(ATTACH) child 24: Operation not permitted (1) 在yaml文件中添加 securityContext: capabilities: add: - SYS_PTRACE
cd /etc/alternatives ll php*lrwxrwxrwx 1 root root 15 Oct 23 15:24 php -> /usr/bin/php7.3*lrwxrwxrwx 1 root root 31 Oct 23 15:00 php.1.gz -> /usr/share/man/man1/php7.3.1.gz 删除软链接,相当删除win下的快捷方式 rm -rf php 快捷方式删除、但/usr/bin/php7.3文
ls ls命令用于显示指定工作目录下之内容(列出目前工作目录所含之文件及子目录)。 格式 ls [-alrtAFR] [name...] 参数选项 参数 备注 -a 列出目录下的所有文件,包括以 . 开头的隐含文件 -A 同-a,但不列出“.”(表示当前目录)和“..”(表示当前目录的父目录) -C 多列显示
Linux 文件与目录管理使用ll 或者 ls -l 显示文件的属性 和文件所属用户和组drwx------. 5 root root 4096 Oct 18 10:02 .drwxr-xr-x. 6 root root 65 Jun 7 2016 ..-rw------- 1 root root 18377 Oct 18 10:18 .bash_history-rw-r--r--. 1 root root 18 Jul
Posts 小久坐玩具车 小武画狐狸 Jun 29, 2019 小武气垫船 Jun 18, 2019 小武剪纸 Jun 16, 2019 父亲节 Jun 15, 2019 组装车
今早还才7点钟,公司说app挂了,相关开发瞬间绷起神经,一时间群魔乱舞,最终到我这儿需要重新启动redis,于是乎我到公司第一件事就是查看关于redis的问题。 开机,xhell连上服务器,网速太慢,xhell卡顿,以为网速问题,打开宝塔,宝塔界面正常打开,里面的redis点击重启,重启失败,重新加载配置,失败,启动,毫无
概述 date 命令 准备 OS CentOS 7.6 基本功能 显示时间 格式化时间 翻译时间 转换时间格式 切换时区 设置时间 查看文件最后使用时间 1. 显示时间 概述 基本功能 命令 # 内容: 星期 月份 日期 时间 时区 年份 # 时间: 输入命令的事件 > date Thu Oct 10 18:31:11 CST
kubeadm管理证书 在管理证书之前,你需要了解kubernetes如何使用PKI证书的相关知识:官方文档 检查证书到期时间 check-expiration 可用于检查证书过期时间: kubeadm alpha certs check-expiration 输出如下内容; CERTIFICATE EXPIRES RESIDUAL TIME E
# kubectl describe nodes master01Name: master01Roles: masterLabels: beta.kubernetes.io/arch=amd64 beta.kubernetes.io/os=linux kubernetes.io/arch=amd64 k
Created by Wang, Jerry, last modified on Oct 26, 2016 要获取更多Jerry的原创文章,请关注公众号"汪子熙":
近日,在阅读《Fluent Python》的第2.9.2节时,有一个关于内存视图的例子,当时看的一知半解,后来查了一些资料,现在总结一下,以备后续查询; 示例复述 添加了一些额外的代码,便于更好理解memoryview >>> import array >>> numbers = array.array('h', [-2, -1, 0, 1, 2]) >>> memv = memo
Working on stacking two Cisco 2060X switches recently, and two 2960X Stack module and 0.5m stacking cables received today. Product name is C2960X-STACK= and description is Catalyst 2960-X FlexStack Plus Stacking Module optional. Part Number is CMUCAEGBA
Received a bunch of boxes for Cisco 3850, which will be used to build a switch stack for high availability switching environment. For 2960 series, there is previous post about it: Cisco Catalyst 2960X and 2960S Stacking Cisco Catalyst WS-C3850-48T-S
abs 求绝对值 print(abs(-10)) all 和any all 只要有一个为False就返回False any 只要有一个为Ture就返回Ture bin oct hex bin 转成二进制 oct 转成八进制 hex 转成十六进制 转成对应得十进制
一 环境 1.1 结构 192.168.132.125 mycat 192.168.132.121 master 192.168.132.122 slave 主从已经配置完成 1.2 安装mycat 192.168.132.125安装mycat [root@mycat ~]# cd /usr/local/src/ [root@mycat src]# wget http://dl.mycat.io/1.6-RELEASE/Mycat-server-1.6-RE
Created by Wang, Jerry on Oct 05, 2016 the „workflow administration“ can be found in the technical display for a work item. Extras->Activate Administration Startup cl_crm_ct_common_tools=>check_for_rfc_error
题目描述 有N个人要去膜拜JZ,他们不知道JZ会出现在哪里,因此每个人有一个活动范围,只要JZ出现在这个范围内就能被膜拜, 伟大的JZ当然希望膜拜他的人越多越好,但是JZ不能分身,因此只能选择一个位置出现,他最多可以被多少人膜拜呢, 这个简单的问题JZ当然交给你了 输入格式 Line 1: A single i
1INSERT ALL 1.1句法 multi_table_insert :: = conditional_insert_clause :: = 1.2multi_table_insert 在多表插入中,将从子查询求值返回的行派生的计算行插入到一个或多个表中。 表别名不是由子查询的选择列表定义的。因此,它们在依赖于选择列表的子句中不可见。例
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow 89. You need to display the date 11-oct-2007 in words as 'Eleventh of October, Two Thousa