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

连锁餐饮网站开发背景内容网站制作需要多少钱?

连锁餐饮网站开发背景内容,网站制作需要多少钱?,网站电线电话图怎么做,重庆工商局官网文章目录一、下载、安装、配置依赖1. 安装配置需要的依赖2. Gitlab下载3. 安装Gitlab4. 配置external_url5. 重新加载配置文件6. 查看服务状态7. 配置防火墙8. 浏览器验证9. 寻找密码信息10. 查看密码11. 重新登陆12. 修改密码13. 重新登陆14. Gitlab常用命令声明#xff1a;C… 文章目录一、下载、安装、配置依赖1. 安装配置需要的依赖2. Gitlab下载3. 安装Gitlab4. 配置external_url5. 重新加载配置文件6. 查看服务状态7. 配置防火墙8. 浏览器验证9. 寻找密码信息10. 查看密码11. 重新登陆12. 修改密码13. 重新登陆14. Gitlab常用命令声明Centos/Red Hat7/8.x 下载、安装、配置不通的地方我会进行特殊说明未说明的属于共有部分。 一、下载、安装、配置依赖 1. 安装配置需要的依赖 https://about.gitlab.com/install/#centos-7 # On CentOS 7 (and RedHat/Oracle/Scientific Linux 7), the commands below will also open HTTP, HTTPS and SSH access in the system firewall. This is an optional step, and you can skip it if you intend to access GitLab only from your local network. sudo yum install -y policycoreutils-python openssh-server perl# Enable OpenSSH server daemon if not enabled: sudo systemctl status sshd sudo systemctl enable sshd sudo systemctl start sshd# Check if opening the firewall is needed with: sudo systemctl status firewalld sudo firewall-cmd --permanent --add-servicehttp sudo firewall-cmd --permanent --add-servicehttps sudo systemctl reload firewalld# Next, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and configure an external SMTP server after GitLab has been installed. sudo yum install postfix sudo systemctl enable postfix sudo systemctl start postfix2. Gitlab下载 Centos/Red Hat7.x 下载链接 https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/ Centos/Red Hat8.x 下载链接 https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el8/ 3. 安装Gitlab # Centos/Red Hat7.x 安装方式 [rootlocalhost ~]# rpm -ivh gitlab-ce-14.2.3-ce.0.el7.x86_64.rpm # Centos/Red Hat8.x 安装方式 [rootlocalhost ~]# rpm -ivh gitlab-ce-14.2.3-ce.0.el8.x86_64.rpm操作记录 [rootlocalhost ~]# rpm -ivh gitlab-ce-14.2.3-ce.0.el7.x86_64.rpm 警告gitlab-ce-14.2.3-ce.0.el7.x86_64.rpm: 头V4 RSA/SHA1 Signature, 密钥 ID f27eab47: NOKEY 准备中... ################################# [100%] 正在升级/安装...1:gitlab-ce-14.2.3-ce.0.el7 ################################# [100%] It looks like GitLab has not been configured yet; skipping the upgrade script.*. *.*** ******** *****.****** *************** ********,,,,,,,,,***********,,,,,,,,,,,,,,,,,,,,*********,,,,,,,,,,,.,,,,,,,,,,,*******,,,,,,,,,,,,,,,,,,,,,*****,,,,,,,,,.,,,,,,,****,,,,,,.,,,***,,,,,*,._______ __ __ __/ ____(_) /_/ / ____ _/ /_/ / __/ / __/ / / __ / __ \/ /_/ / / /_/ /___/ /_/ / /_/ /\____/_/\__/_____/\__,_/_.___/Thank you for installing GitLab! GitLab was unable to detect a valid hostname for your instance. Please configure a URL for your GitLab instance by setting external_url configuration in /etc/gitlab/gitlab.rb file. Then, you can start your GitLab instance by running the following command:sudo gitlab-ctl reconfigureFor a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.mdHelp us improve the installation experience, let us know how we did with a 1 minute survey: https://gitlab.fra1.qualtrics.com/jfe/form/SV_6kVqZANThUQ1bZb?installationomnibusrelease14-2[rootlocalhost ~]# 4. 配置external_url [rootlocalhost ~]# vim /etc/gitlab/gitlab.rb 将 #external_url http://gitlab.example.com调整为http://ip:端口的格式 external_url http://192.168.159.102:80005. 重新加载配置文件 [rootlocalhost ~]# sudo gitlab-ctl reconfigure等着安装完毕就好了 6. 查看服务状态 sudo gitlab-ctl status7. 配置防火墙 #开放端口开放后需要要重启防火墙才生效 firewall-cmd --zonepublic --add-port8000/tcp --permanent# 重新启动防火墙 firewall-cmd --reload8. 浏览器验证 # 格式IP端口号(默认8080) http://192.168.159.102:8000/这个Gitlab14.x版本和以前有些不同以前的第一次访问会让你设置root用户的密码但是这个版本默认为你配置了密码 9. 寻找密码信息 安装完成后最后会有以下信息 Notes: Default admin account has been configured with following details: Username: root Password: You didnt opt-in to print initial root password to STDOUT. Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.gitlab Reconfigured!关键信息说明 默认管理员用户名是rootroot用户的密码存放到/etc/gitlab/initial_root_password文件中了请在24小时内修改密码。 Username: root Password: You didnt opt-in to print initial root password to STDOUT. Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.10. 查看密码 [rootlocalhost ~]# cat /etc/gitlab/initial_root_password# WARNING: This value is valid only in the following conditions # 1. If provided manually (either via GITLAB_ROOT_PASSWORD environment variable or via gitlab_rails[initial_root_password] setting in gitlab.rb, it was provided before database was seeded for the first time (usually, the first reconfigure run). # 2. Password hasnt been changed manually, either via UI or via command line. # # If the password shown here doesnt work, you must reset the admin password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.Password: oQIWkCNmUtrOeYebj8vVJ53CocIIZlpWhzssaLUH5c# NOTE: This file will be automatically deleted in the first reconfigure run after 24 hours. [rootlocalhost ~]# 11. 重新登陆 12. 修改密码 13. 重新登陆 14. Gitlab常用命令 命令功能执行命令重启配置并启动gitlab服务sudo gitlab-ctl reconfigure启动所有 gitlabsudo gitlab-ctl start重新启动GitLabsudo gitlab-ctl restart停止所有 gitlabsudo gitlab-ctl stop查看服务状态sudo gitlab-ctl status查看Gitlab日志sudo gitlab-ctl tail修改默认的配置文件sudo vim /etc/gitlab/gitlab.rb检查gitlabgitlab-rake gitlab:check SANITIZEtrue --trace接下一篇Centos/Red Hat7/8.x 安装、配置、启动Gitlab14.x 语言和主题配置 想学习更多前后端分离、微服务、分布式、MQ/缓存/引擎中间件、数据库、项目重构技巧等系列技术 请移步技术专栏 https://gblfy.com 让我们一起进步
http://www.zqtcl.cn/news/301651/

相关文章:

  • 阿里云网站空间网站建设犭金手指六六壹柒
  • 网站排名软件包年农业网站开发
  • 建设信用卡网银网站crm客户关系管理论文
  • 阿里巴巴网站的搜索引擎优化案例软件开发收费价目表
  • 企业网站建设之域名篇wordpress 文章居中
  • 萍乡网站建设行吗南康建设局官方网站
  • 一键部署wordpress爱站seo工具
  • 大连网站建设服务做进料加工在哪个网站上做
  • 南昌行业网站建设网站版权信息修改
  • 百度网站关键词排名助手低成本做网站 白之家
  • 怎么查询网站是谁做的部队网站建设报告
  • 租房网站开发专业网站建设品牌策划方案
  • 电子商务网站建设方案书软件开发工具图片
  • 案例建网站宿松网站建设公司
  • 秦皇岛网站开发wordpress免费国内主题
  • seo网站推广推荐阳江房管局查询房产信息网
  • php服装商城网站建设个人网站免费空间
  • 做内贸注册什么网站广州市建设交易中心网站
  • 点样用外网访问自己做的网站北京市网站设计公司网址
  • 用备案的网站做违法网站wordpress个性404
  • 中国制造网官方网站下载安装我国做民宿的网站
  • 英文网站seo广州市软件开发有限公司
  • 锦州网站建设渠道山西做网站的公司有哪些
  • 4线城市搞网站开发丹灶网站建设公司
  • 青岛网站建设seo优化wordpress分类标题自定义
  • 网站开发本地环境在海南注册公司需要多少钱
  • 济南网站开发去哪儿旅行app下载安装
  • 大城 网站北京做网站男生工资
  • 赣州网站建设百家号免费软件网
  • 在合肥做网站多少钱网站开发外包平台