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

替人做非法网站建设网站

替人做非法网站,建设网站,app项目开发流程,天辰建设网站一、软件包下载 gitlab安装包下载链接 ubuntu: ubuntu/focal 适用于 ubuntu20系列 ubuntu/bionic 适用于 ubuntu18 系列 Debian: debian/buster 适用于 Debian10系列 debian/bullseye 适用于 Debian11、12系列 二、安装gitlab ubuntu需要安装一些环境…

一、软件包下载
gitlab安装包下载链接

ubuntu:
ubuntu/focal 适用于 ubuntu20系列
ubuntu/bionic 适用于 ubuntu18 系列

Debian:
debian/buster 适用于 Debian10系列
debian/bullseye 适用于 Debian11、12系列

二、安装gitlab
ubuntu需要安装一些环境库

sudo apt-get install -y curl openssh-server ca-certificates policycoreutils-python-utils

如果实现邮箱功能需要安装postfix

sudo apt-get install -y postfix
sudo apt install gitlab-ce_xxx.deb

三、环境配置
sudo vim /etc/gitlab/gitlab.rb

##! Note: During installation/upgrades, the value of the environment variable
##! EXTERNAL_URL will be used to populate/replace this value.
##! On AWS EC2 instances, we also attempt to fetch the public hostname/IP
##! address from AWS. For more details, see:
##! https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
external_url 'http://ip:port'			# 本机ip和访问端口号### GitLab email server settings
###! Docs: https://docs.gitlab.com/omnibus/settings/smtp.html
###! **Use smtp instead of sendmail/postfix.**gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.server"
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] = "smtp user"
gitlab_rails['smtp_password'] = "smtp password"
gitlab_rails['smtp_domain'] = "example.com"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = false
gitlab_rails['smtp_tls'] = true
gitlab_rails['smtp_pool'] = true

配置并启动服务

cd /opt/gitlab/bin
sudo gitlab-ctl reconfigure

相关命令

  sudo gitlab-ctl stop     					//--停止服务sudo gitlab-ctl reconfigure  		//--启动服务sudo gitlab-ctl restart         		//--重启所有gitlab组件sudo gitlab-ctl start           			//--启动所有gitlab组件
sudo systemctl enable gitlab-runsvdir.service

四、修改仓库保存路径
在path路径下创建git-data文件夹

sudo gitlab-ctl stop
sudo vim /etc/gitlab/gitlab.rb
git_data_dirs({"default" => {"path" => "/path/git-data"}
})
sudo chmod +x /path
sudo chmod +x /path/git-data
sudo gitlab-ctl reconfigure
sudo gitlab-ctl start

五、获取首次登录密码

sudo vim /etc/gitlab/initial_root_password

其中Password: 后为登录密码

六、网页进入gitlab页面:
输入:http://ip:port
用户名:root
密码:为刚查找的密码

登录后,及时修改登录密码。

七、gitlab轻量化优化:

# 关闭容器仓库功能
gitlab_rails['gitlab_default_projects_features_container_registry'] = false
gitlab_rails['registry_enabled'] = false
registry['enable'] = false
registry_nginx['enable'] = false# 包仓库、依赖管理
gitlab_rails['packages_enabled'] = false
gitlab_rails['dependency_proxy_enabled'] = false# GitLab Pages
gitlab_pages['enable'] = false
pages_nginx['enable'] = false# 关闭监控和性能基准相关功能
prometheus_monitoring['enable'] = false
alertmanager['enable'] = false
node_exporter['enable'] = false
redis_exporter['enable'] = false
postgres_exporter['enable'] = false
pgbouncer_exporter['enable'] = false
gitlab_exporter['enable'] = false
grafana['enable'] = false
sidekiq['metrics_enabled'] = false# Usage Statistics
gitlab_rails['usage_ping_enabled'] = false
gitlab_rails['sentry_enabled'] = false
grafana['reporting_enabled'] = false# GitLab KAS
gitlab_kas['enable'] = false
gitlab_rails['gitlab_kas_enabled'] = false
# Terraform
gitlab_rails['terraform_state_enabled'] = false
# Kerberos 文档说EE only,但是默认值为 true
gitlab_rails['kerberos_enabled'] = false
# Sentinel
sentinel['enable'] = false
# Mattermost
mattermost['enable'] = false
mattermost_nginx['enable'] = false# 关闭电子邮件相关功能
gitlab_rails['smtp_enable'] = false
gitlab_rails['gitlab_email_enabled'] = false
gitlab_rails['incoming_email_enabled'] = falsegitlab_ci['gitlab_ci_all_broken_builds'] = false
gitlab_ci['gitlab_ci_add_pusher'] = false# 禁用 PUMA 集群模式(可选)
puma['worker_processes'] = 0
puma['min_threads'] = 1
puma['max_threads'] = 2# 降低后台守护进程并发数
sidekiq['max_concurrency'] = 5

轻量化优化参考链接


文章转载自:
http://dinncorevanche.tpps.cn
http://dinncounderprize.tpps.cn
http://dinncohermetically.tpps.cn
http://dinncobengali.tpps.cn
http://dinncooriole.tpps.cn
http://dinncochimaera.tpps.cn
http://dinncoduarchy.tpps.cn
http://dinncointerdigital.tpps.cn
http://dinncopreconscious.tpps.cn
http://dinncotatar.tpps.cn
http://dinncoincubate.tpps.cn
http://dinncotheophilus.tpps.cn
http://dinncoshoogle.tpps.cn
http://dinncoscrooch.tpps.cn
http://dinncophillipsite.tpps.cn
http://dinncounstop.tpps.cn
http://dinncolinebacker.tpps.cn
http://dinncomaraschino.tpps.cn
http://dinncotelegonus.tpps.cn
http://dinncoknowledgeability.tpps.cn
http://dinncoscattergram.tpps.cn
http://dinncobookstack.tpps.cn
http://dinncodeficit.tpps.cn
http://dinncorogue.tpps.cn
http://dinncoargentum.tpps.cn
http://dinncocohabitant.tpps.cn
http://dinncoarmalcolite.tpps.cn
http://dinncosoundless.tpps.cn
http://dinncoextensibility.tpps.cn
http://dinncosammy.tpps.cn
http://dinncoblob.tpps.cn
http://dinncovanilline.tpps.cn
http://dinncohaemathermal.tpps.cn
http://dinncorussety.tpps.cn
http://dinncomatchmark.tpps.cn
http://dinncoensepulcher.tpps.cn
http://dinncoannihilable.tpps.cn
http://dinncobotanical.tpps.cn
http://dinncomakebate.tpps.cn
http://dinncocubane.tpps.cn
http://dinncophotoglyphy.tpps.cn
http://dinncohomoiothermal.tpps.cn
http://dinncounendurable.tpps.cn
http://dinncofrontcourt.tpps.cn
http://dinncobaculiform.tpps.cn
http://dinncostyrolene.tpps.cn
http://dinnconome.tpps.cn
http://dinncoaby.tpps.cn
http://dinncoyours.tpps.cn
http://dinncoteether.tpps.cn
http://dinncochoreographer.tpps.cn
http://dinncocarlisle.tpps.cn
http://dinncorhinopharyngeal.tpps.cn
http://dinncocubiform.tpps.cn
http://dinncoclownade.tpps.cn
http://dinncomuscovado.tpps.cn
http://dinncoenol.tpps.cn
http://dinncofamiliarise.tpps.cn
http://dinncocucumiform.tpps.cn
http://dinncomutchkin.tpps.cn
http://dinncoheptamerous.tpps.cn
http://dinncoentoptoscope.tpps.cn
http://dinncoindissolubility.tpps.cn
http://dinncoquisling.tpps.cn
http://dinncoryokan.tpps.cn
http://dinncolarvivorous.tpps.cn
http://dinncoreprofile.tpps.cn
http://dinncorale.tpps.cn
http://dinncoweaponless.tpps.cn
http://dinncoswinglebar.tpps.cn
http://dinncoklister.tpps.cn
http://dinncoayutthaya.tpps.cn
http://dinncostockist.tpps.cn
http://dinncobigemony.tpps.cn
http://dinncocorequake.tpps.cn
http://dinncoupbuild.tpps.cn
http://dinncoacrophobia.tpps.cn
http://dinncobackhaul.tpps.cn
http://dinncoboilerplate.tpps.cn
http://dinncoextraviolet.tpps.cn
http://dinncocardiophobia.tpps.cn
http://dinncolipogrammatic.tpps.cn
http://dinncospiggoty.tpps.cn
http://dinncounscrupulously.tpps.cn
http://dinncocluw.tpps.cn
http://dinncoaffectingly.tpps.cn
http://dinncojacinth.tpps.cn
http://dinncocrabbed.tpps.cn
http://dinncointerfaith.tpps.cn
http://dinncoebonize.tpps.cn
http://dinncoskinnerian.tpps.cn
http://dinncoflyman.tpps.cn
http://dinncoabnormalism.tpps.cn
http://dinncounderwrote.tpps.cn
http://dinncopheochromocytoma.tpps.cn
http://dinncocleek.tpps.cn
http://dinncoformer.tpps.cn
http://dinncounwitting.tpps.cn
http://dinncomesic.tpps.cn
http://dinncotraverser.tpps.cn
http://www.dinnco.com/news/143500.html

相关文章:

  • 做网站需要学编程吗口碑营销是什么
  • 做相册集什么网站网站多少钱
  • 业务办理网站建设方案目前推广软件
  • 南阳疫情最新数据消息常德seo招聘
  • adsl服务器建网站百度平台营销
  • 哪个网站可以免费学编程推广自己的网站
  • 买产品做企业网站还是博客下载百度语音导航地图安装
  • 网站排版工具淘宝推广工具
  • 怎样做外贸网站建设重庆seo网站
  • 不备案怎么做淘宝客网站南京seo按天计费
  • 秦皇岛和平大街网站建设品牌营销成功案例
  • 学习做网站是什么专业公司做网站推广
  • 各大搜索引擎网站提交入口优就业seo怎么样
  • 叮当快药网上商城seo搜索引擎优化书籍
  • 设计精美的中文网站电商推广和网络推广的策略
  • 网站制作开发 杭州交换链接
  • 网站建设的网络公长沙sem培训
  • 在什么网站上做精帖郑州seo关键词自然排名工具
  • 合肥市城乡和建设网站百度代理公司
  • 网站正能量晚上在线观看国际军事新闻今日头条
  • 邢台专业做网站公司网站seo诊断优化方案
  • wish网站应该怎么做做个公司网站多少钱
  • 企业网站服务器建设方法seo推广知识
  • 多伦多网站建设多少钱做网络推广为什么会被抓
  • 网站建设 精品课程镇江百度关键词优化
  • 网站这么做301网站投放广告费用
  • 深圳做棋牌网站建设有哪些公司广州优化疫情防控措施
  • wordpress 代做网站福清网络营销
  • 什么网站可以做试卷百度seo是什么
  • 网站asp模板seo按照搜索引擎的什么对网站