源码下载地址:https://www.postgresql.org/ftp/source/ [root@muze1 data]# wget https://ftp.postgresql.org/pub/source/v13.2/postgresql-13.2.tar.gz-- 创建用户groupad ...
分类:
其他好文 时间:
2021-06-08 23:32:32
阅读次数:
0
实验任务一: #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char n ...
分类:
其他好文 时间:
2021-06-08 23:29:04
阅读次数:
0
Ref: http://blogs.quovantis.com/browser-specific-hacks-for-frontend-developers/ Internet Explorer Css hacks :root .selector { Property: Value\9; color ...
分类:
Web程序 时间:
2021-06-08 23:20:07
阅读次数:
0
今天调试C++ 连接mysql数据库,用localhost可以成功,但换成本地IP地址则报错, 后参考网上博文,采用命 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; flush pr ...
分类:
数据库 时间:
2021-06-08 23:13:25
阅读次数:
0
1、登录root用户 su oracle 或者 su - oracle 切换到数据库用户 2、进入SqlPlus sqlplus / as sysdba --进入sqlplus 注意语法 /和 as 之间有空格 否则报错 3、修改过期账户的密码, sys代表的是自己的用户名,双引号内的passwor ...
分类:
数据库 时间:
2021-06-08 22:49:41
阅读次数:
0
很多时候root权限被上收,每次申请都特别麻烦。但是有时候排查问题,安装软件啥的都需要使用root权限才方便。所以可以这么干😄 1、先申请root用户。然后创建一个新用户user1 2、给user1加sodu权限 主要命令: 创建用户:useradd -d /home/user1/ user1 设 ...
分类:
其他好文 时间:
2021-06-07 21:14:25
阅读次数:
0
这道题放在了 T4 的位置,以为很难,然后结束之后机房某现场 AC 的神仙告诉我这就是道简单贪心…… 我一开始还不信,结果最后发现真的是贪心。 首先先将所有 \(x_i\) 初始化为 1,计算出这一块的 \(\sum F_i(x_i)\)。 然后对于每一个 \(x_i\),定义 \(d_i=F_i( ...
分类:
其他好文 时间:
2021-06-07 21:06:51
阅读次数:
0
toThousandFilter(num) { return (+num || 0).toFixed(2).replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g, '$&,') } ...
分类:
其他好文 时间:
2021-06-07 21:05:36
阅读次数:
0
背景:服务器运行过程中发现内存不够用,缓存的又太多 现象: 解决办法: 1、同步数据到磁盘 [root@localhost ~]# sync 2、根据需求清除对应缓存 [root@localhost ~]# echo 3 > /proc/sys/vm/drop_caches 参数说明: 0 //默认 ...
分类:
系统相关 时间:
2021-06-07 20:40:37
阅读次数:
0
想在linux环境下打开一个网页,环境描述:在窗口模式下,打Terminal,然后从本地服务器ssh到了另一个服务器,想执行firefox命令打开一个网页,如下 [root@pc207 ~]# firefox http://www.a.com Error: no display specified ...
分类:
Web程序 时间:
2021-06-07 20:34:32
阅读次数:
0