Discourse论坛安装时的环境变量配置

- DISCOURSE_DB_PASSWORD=你自定义的数据库密码 - DISCOURSE_DEVELOPER_EMAILS=管理员的邮箱地址 -...

2022-12-11 · 2 分钟 · varn.cn

提示..bash..locate..command..not..found的解决方案

locate: command not found错误,表示locate找不到,也就是没有安装mlocate这个包。 比如: 输入命令: locate 1.log 结果返回: -bash: locate: command not found 需要安装mloca...

2022-12-11 · 1 分钟 · varn.cn

Centos7.6安装discourse论坛系统

更新: 1 yum update -y 安装Git: 1 yum install git -y 安装netcat: 1 yum install nc -y 安装docker并启动: 1 yum install -y yum-utils 1 2 3 yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo 1 yum install docker-ce docker-ce-cli containerd.io -y 启动dock...

2022-12-11 · 1 分钟 · varn.cn

Python时间格式化

使用: import datetime date=datetime.now() #创建一个datetime类对象 datetime.day,datetime.month,datetime.year 分别表示一个datetime对象的日,月,年; strftime() 用来格式化datetime 对象,datetim...

2022-12-08 · 1 分钟 · varn.cn

Centos7.6如何设置swap的大小

1.创建2G的空间 dd if=/dev/zero of=/var/swap bs=1024 count=2048000 if 表示infile,of表示outfile,bs=1024代表增加的模块大小,count=2048000代表20...

2022-11-26 · 2 分钟 · varn.cn

我们为谁而测试

我们首先找出我们想使之满意的那些人,我要用一个宽泛的词“测试利益相关者”来指代这些人。这个词包括但不仅限于测试参与者,包括但不仅限于项目参与...

2022-11-22 · 4 分钟 · varn.cn