Skip to main content

2025-12/七牛oss

· One min read

2010-11-11 11:11:11

sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
create table oss_qiniu_bucket(
id int unisigned not null auto_increment,
bucket_name varchar(50) not null default '' comment '存储仓库名称',
domain varchar(50) not null default '' comment '绑定域名',
region varchar(50) not null default 'z0' comment '存储区域,默认z0',
`is_public` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否公开空间(0-私有,1-公开)',
`is_enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否启用(0-禁用,1-启用)',
create_unixtime int unisigned not null default 0 comment '',
create_datetime varchar(19) not null default '' comment '',
primary key(id)
)engine=innodb charset=utf8;
create table oss_qiniu(
);

13

· One min read
  • react
  • 七牛云文件夹上传

查看rocklinux版本信息?

cat /etc/os-release


发布到github pages

· One min read

第一步,修改docusaurus.config.js

js
1
2
3
4
5
6
7
8
9
10
11
12
module.exports = {
title: 'My Site',
tagline: 'The tagline of my site',
url: 'https://ikuokuo.github.io',
baseUrl: '/start-docusaurus2/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'ikuokuo',
projectName: 'start-docusaurus2',
...
};

第二步: GIT_USER=ibiancheng361 USE_SSH=true yarn deploy

For GitHub pages organization deployments, 'docusaurus deploy' does not assume anymore that 'master' is your default Git branch. Please provide the branch name to deploy to as an environment variable, for example DEPLOYMENT_BRANCH=main or DEPLOYMENT_BRANCH=master .