当前位置: 首页 > news >正文

做一个网站成本大概多少钱关键词seo价格

做一个网站成本大概多少钱,关键词seo价格,wordpress更新 无法创建目录,十大最火网络游戏GitLab本身有很多有用的rake命令,可以用于日常维护。 以下GitLab官网上gitlab-rake的常见用法。 文章目录 1. 收集GitLab和系统信息2. 显示GitLab许可证信息3. 检查GitLab配置4. 重建 authorized_keys 密钥索引文件5. 清除redis缓存6. 测试TCP连接7. 显示 database…

GitLab本身有很多有用的rake命令,可以用于日常维护。

以下GitLab官网上gitlab-rake的常见用法。

文章目录

      • 1. 收集GitLab和系统信息
      • 2. 显示GitLab许可证信息
      • 3. 检查GitLab配置
      • 4. 重建 authorized_keys 密钥索引文件
      • 5. 清除redis缓存
      • 6. 测试TCP连接
      • 7. 显示 database migrations状态
      • 8. 运行未完成的database migrations
      • 9. 重建数据库索引
      • 10. 导入 common metrics

1. 收集GitLab和系统信息

sudo gitlab-rake gitlab:env:info

输出:

System information
System:
Proxy:		no
Current User:	git
Using RVM:	no
Ruby Version:	2.7.5p203
Gem Version:	3.1.4
Bundler Version:2.1.4
Rake Version:	13.0.6
Redis Version:	6.0.16
Git Version:	2.33.1.
Sidekiq Version:6.3.1
Go Version:	unknownGitLab information
Version:	14.6.0-jh
Revision:	46d2f0d5677
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	PostgreSQL
DB Version:	12.7
URL:		http://43.155.69.97
HTTP Clone URL:	http://43.155.69.97/some-group/some-project.git
SSH Clone URL:	git@43.155.69.97:some-group/some-project.git
Elasticsearch:	no
Geo:		no
Using LDAP:	no
Using Omniauth:	yes
Omniauth Providers:GitLab Shell
Version:	13.22.1
Repository storage paths:
- default: 	/var/opt/gitlab/git-data/repositories
GitLab Shell path:		/opt/gitlab/embedded/service/gitlab-shell
Git:		/opt/gitlab/embedded/bin/git

2. 显示GitLab许可证信息

sudo gitlab-rake gitlab:license:info

输出:

Today's Date: 2020-02-29
Current User Count: 30
Max Historical Count: 30
Max Users in License: 40
License valid from: 2019-11-29 to 2020-11-28
Email associated with license: user@example.com

3. 检查GitLab配置

sudo gitlab-rake gitlab:check

上述检查也可以拆分为:

gitlab-rake gitlab:gitlab_shell:check
gitlab-rake gitlab:gitaly:check
gitlab-rake gitlab:sidekiq:check
gitlab-rake gitlab:incoming_email:check
gitlab-rake gitlab:ldap:check
gitlab-rake gitlab:app:check

输出:

Checking GitLab subtasks ...Checking GitLab Shell ...GitLab Shell: ... GitLab Shell version >= 13.22.1 ? ... OK (13.22.1)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Internal API available: OK
Redis available via internal API: OK
gitlab-shell self-check successfulChecking GitLab Shell ... FinishedChecking Gitaly ...Gitaly: ... default ... OKChecking Gitaly ... FinishedChecking Sidekiq ...Sidekiq: ... Running? ... yes
Number of Sidekiq processes (cluster/worker) ... 1/1Checking Sidekiq ... FinishedChecking Incoming Email ...Incoming Email: ... Reply by email is disabled in config/gitlab.ymlChecking Incoming Email ... FinishedChecking LDAP ...LDAP: ... LDAP is disabled in config/gitlab.ymlChecking LDAP ... FinishedChecking GitLab App ...Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... yes
Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units)
Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has neither init script nor systemd units)
Projects have namespace: ...
GitLab Instance / Monitoring ... yes
test / python ... yes
Redis version >= 5.0.0? ... yes
Ruby version >= 2.7.2 ? ... yes (2.7.5)
Git version >= 2.33.0 ? ... yes (2.33.1)
Git user has default SSH configuration? ... yes
Active users: ... 1
Is authorized keys file accessible? ... yes
GitLab configured to store new projects in hashed storage? ... yes
All projects are in hashed storage? ... yes
Elasticsearch version 7.x (6.4 - 6.x deprecated to be removed in 13.8)? ... skipped (elasticsearch is disabled)Checking GitLab App ... FinishedChecking GitLab subtasks ... Finished

4. 重建 authorized_keys 密钥索引文件

sudo gitlab-rake gitlab:shell:setup

输出:

This task will now rebuild the authorized_keys file.
You will lose any data stored in the authorized_keys file.
Do you want to continue (yes/no)? yes

5. 清除redis缓存

sudo gitlab-rake cache:clear

正常无输出。

6. 测试TCP连接

sudo gitlab-rake gitlab:tcp_check[gitlab.com,80]

输出:

TCP connection from 172.17.0.2:42370 to 172.65.251.78:80 succeeded

7. 显示 database migrations状态

sudo gitlab-rake db:migrate:status

输出:

database: gitlabhq_productionStatus   Migration ID    Migration Name
--------------------------------------------------up     20181228175414  Init schemaup     20201211090634  Schedule populate finding uuid for vulnerability feedbackup     20201211145950  Add bloat estimate to reindex actionup     20201214000000  Change mr allow maintainer to push defaultup     20201214032220  Add has external wiki triggerup     20201214084105  Add expiration policy completed at to container repositoriesup     20201214111858  Add container registry cleanup tags service max list size to application settingsup     20201214112752  Add app settings container reg cleanup tags service max list size constraintup     20201214113729  Add custom mapping columns to http integrationsup     20201214184020  Add epic board listup     20201215084652  Delete mock deployment service recordsup     20201215132151  Change unique index on security findingsup     20201215205404  Create namespace package settingsup     20201216151616  Add squash commit sha indexup     20201216154457  Add devops adoption snapshot range end...........

8. 运行未完成的database migrations

sudo gitlab-rake db:migrate

正常无输出。

9. 重建数据库索引

sudo gitlab-rake gitlab:db:reindex

输出:

This feature (database_reindexing) is currently disabled.

10. 导入 common metrics

sudo gitlab-rake metrics:setup_common_metrics

正常无输出。

http://www.zhtcad.com/news/491.html

相关文章:

  • 郑州房地产网站建设小广告多的网站
  • 企业做网站怎么做建设网站制作
  • 深圳做网站推广的公司哪家好网络推广的几种方式
  • 怎么申请网站域名赚钱网络营销的定义是什么
  • 网站建设模板是什么长沙seo推广公司
  • 移动网站建设生要女网址怎么创建
  • 卫计网站建设工作总结郑州seo线上推广系统
  • 网站的内链优化怎样做百度小说风云榜总榜
  • 电子商务网站建设内涵河南郑州网站推广优化外包
  • 网站建设龙采1688的网站特色
  • 食品网站开发热搜词工具
  • 做服装的网站怎么制作微信小程序
  • 济南网站建设运营百度seo营销推广
  • 广告招商关键词优化排名软件案例
  • 做网站可以用自己的主机媒体公关
  • 用织梦做的网站好不好免费b站推广网站详情
  • 微网站如何做微信支付宝支付宝支付宝黑帽seo寄生虫
  • 上海网站建设在哪网络营销软件网站
  • 可以找酒店案例的网站北京seo推广
  • 施工企业资质证书哪里下载个人seo外包
  • 做搜狗网站排名设计网络推广方案
  • 用什么做视频网站比较好seo推广需要多少钱
  • 徐州公司网站制作湖南长沙seo
  • 聊城做wap网站服务内部优化
  • 企业网站的新闻资讯版块有哪些上海关键词优化外包
  • 免费做app的网站有哪些刚刚刚刚刚刚好痛
  • 网站营销外包公司珠海网站建设优化
  • 接网站制作汕头网站设计
  • wap上网吉林seo刷关键词排名优化
  • 国内比较知名的大型门户网站接广告的网站