会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
平凡之路
关注业界, 关注互联网...
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
下一页
2020年4月1日
Aliyun - RAM & STS
摘要: RAM 创建用户 登录https://ram.console.aliyun.com/ 在 用户管理 功能中,新建一个 duchaoqun 用户,记录 AccessKeyID 和 AccessKeySecret。 点击用户进入 用户授权策略 添加一个权限 AliyunSTSAssumeRoleAcce
阅读全文
posted @ 2020-04-01 11:36 duchaoqun
阅读(972)
评论(0)
推荐(0)
2020年3月30日
Linux - top 命令
摘要: top命令 查看系统资源利用情况 top - 10:41:35 up 1 min, 2 users, load average: 0.52, 0.58, 0.59 Tasks: 387 total, 1 running, 386 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.7 us, 1.2 sy, 0.0 ni, 93.9 ...
阅读全文
posted @ 2020-03-30 09:08 duchaoqun
阅读(154)
评论(0)
推荐(0)
2020年3月26日
Git - 删除文件
摘要: Overview # 添加文件的时候我们可以这么做 touch readme.txt git add readme.txt git commit -m "add readme.txt" git push # 通常,我们会在资源管理器中把文件删除, rm readme.txt # 这时查看状态你就会发现,git发现了这个丢失的文件。 git status Option A # 确认该文件没...
阅读全文
posted @ 2020-03-26 17:16 duchaoqun
阅读(97)
评论(0)
推荐(0)
Pelican - 生成静态博客
摘要: Install 通过在首选终端中运行以下命令,在Python 2.7.x或Python 3.3+上安装Pelican(以及可选择Markdown,如果您打算使用它),如果权限允许,则使用sudo作为前缀: pip install pelican pelican[Markdown] markdown
阅读全文
posted @ 2020-03-26 17:16 duchaoqun
阅读(134)
评论(0)
推荐(0)
Tomcat - context.xml 配置文件
摘要: Overview 在tomcat 5.5之前,Context体现在/conf/server.xml中的Host里的元素,它由Context接口定义。 每个Context元素代表了运行在虚拟主机上的单个Web应用。 在tomcat 5.5之后,不推荐在server.xml中进行配置,而是在/conf/
阅读全文
posted @ 2020-03-26 10:17 duchaoqun
阅读(2037)
评论(0)
推荐(1)
2020年3月13日
keywork - func
摘要: 在定义 func 的时候,使用 _ 来替代 argument label,那么在调用的时候就可以省略这个 argument label。 override func viewDidLoad() { super.viewDidLoad() funcDemo1(arg1: 1, arg2: 1) fun
阅读全文
posted @ 2020-03-13 17:30 duchaoqun
阅读(119)
评论(0)
推荐(0)
2020年2月28日
ssh-copy-id
摘要: 说明 ssh-copy-id命令可以把本地主机的公钥复制到远程主机的authorized_keys文件上,使用密钥登陆。 ssh-copy-id命令将远程主机的用户主目录~和~/.ssh, 和~/.ssh/authorized_keys设置合适的权限。 ssh-copy-id命令可以把本地的ssh公钥文件安装到远程主机对应的账户下。 案例 ssh-copy-id user@server ...
阅读全文
posted @ 2020-02-28 11:29 duchaoqun
阅读(172)
评论(0)
推荐(0)
2020年1月21日
Linux mint OS
摘要: Linux mint OS Ctrl+Alt left or right : # Change workspace Goldendict + Goldendict-wordnet # Dict for Linux Guake # CMD tools 常用包安装 apt-get install okular # pdf chm reader apt-get install shee...
阅读全文
posted @ 2020-01-21 15:44 duchaoqun
阅读(214)
评论(0)
推荐(0)
2019年12月18日
Patroni 修改配置
摘要: Patroni 修改配置 背景 使用 Patroni 部署 postgresql 集群的时候,不能单独修改单点的配置,这里需要通过 Patroni 来修改配置。 修改步骤 1. 修改 postgres 集群的 max_connections 参数。 [root@postgres0 ~]# patro
阅读全文
posted @ 2019-12-18 16:11 duchaoqun
阅读(2186)
评论(0)
推荐(0)
0x10 - PostgreSQL 安装之 CentOS7 + Patroni
摘要: PostgreSQL + CentOS7 + Patroni 背景 PostgreSQL 的高可用环境 环境 CentOS 7 pg01 (192.168.1.120) pg02 (192.168.1.121) pg03(192.168.1.122) PostgreSQL 11.2 Patroni
阅读全文
posted @ 2019-12-18 08:53 duchaoqun
阅读(638)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
下一页
公告