当前位置:   article > 正文

gitlab+Jenkins自动化搭建部署_jenkins gitlab自动部署

jenkins gitlab自动部署

目录

 

部署环境

关闭selinux和防火墙

或者防火墙设置,开启gitlab和Jenkins要用的端口和http服务

 安装依赖包 (Jenkins和gitlab都装)

一,开始Jenkins安装配置

1、Java包安装

2、安装Jenkins

3、启动Jenkins服务

4、修改jenkins配置文件

5、重启Jenkins服务 查看端口是否起来

6、打开网页界面 http://192.168.100.11:8080/  Jenkins正在配置启动中,比较慢

7、 选择插件来安装

8、选择“无”​编辑

9、创建管理员用户

 10、选择安装插件路径Manage Jenkins—Manage Plugins—Plugin Manager—Advanced然后下拉到底

11、安装插件

         12,生成公钥私钥对出来,命令:ssh-keygen 私钥id_rsa 公钥 id_rsa.pub

          二,开始gitlab的部署

1、配置yum源地址

2、配置 hosts及改主机域名

3、启动postfix邮件服务

4、安装gitlab

5、加载初始化命令执行 

6、启动gitlab服务

7、登录gitlab 网页   http://192.168.100.12/  账号密码为

8、更改为中文页面

​9、修改初始化密码

10、创建新的项目

11、选择上传一个文件

12、项目建成功上传

13、 然后就是配合Jenkins部署这个项目

 在Jenkins生成的ssh-keygen  

 14,在Jenkins配置凭据

 也可以配置一个ssh秘钥的模式。如下   key 是私钥id_rsa  开始生成的

15,添加JDK,Git,Maven,路径

 查询JDK,Git,Maven,路径

 三,新建项目

 1、添加个项目描述,选择git构建

2、源码管理URL地址添加

3、打开Jenkins服务器,添加gitlab的ip域名解析配置

4、项目构建完成

四,项目构建成功

1、变绿色对号代表构建成功

 2、查看详细构建 控制台输出

3,然后我们的项目构建成功在Jenkins的/var/lib/jenkins/workspace/demo路径,查看下 已经有demo项目了


         

部署环境

Centos7版本CentOS Linux release 7.9.2009 (Core)
Jenkins版本jenkins-2.346.3-1.1.noarch.rpm
Jenkins服务器_IP192.168.100.11
gitlab版本gitlab-ce-15.2.0-ce.0.el7.x86_64.rpm
gitlab服务器_IP192.168.100.12

关闭selinux和防火墙

  1. setenforce 0
  2. sed -ri '/^[^#]*SELINUX=/s#=.+$#=disabled#' /etc/selinux/config
  3. systemctl stop firewalld
  4. systemctl disable firewalld
  5. reboot 重启系统

或者防火墙设置,开启gitlab和Jenkins要用的端口和http服务

  1. 命令:
  2. sudo firewall-cmd --permanent --add-service=http
  3. sudo firewall-cmd --permanent --add-service=https
  4. sudo firewall-cmd --permanent --zone=public --add-port=80/tcp
  5. sudo firewall-cmd --permanent --zone=public --add-port=8080/tcp
  6. sudo firewall-cmd --reload

 安装依赖包 (Jenkins和gitlab都装)

yum -y install curl  git vim policycoreutils openssh-server openssh-clients postfix

一,开始Jenkins安装配置

1、Java包安装

  1. 卸载以前旧的Java 安装Java-11版本的
  2. yum remove java* -y
  3. yum install fontconfig java-11-openjdk -y

2、安装Jenkins

华为云下载稳定版或者阿里云下载都可以

  1. 阿里云Jenkins下载
  2. wget https://mirrors.aliyun.com/jenkins/redhat-stable/jenkins-2.346.3-1.1.noarch.rpm
  3. 华为云Jenkins下载
  4. wget https://repo.huaweicloud.com/jenkins/redhat-stable/jenkins-2.346.3-1.1.noarch.rpm

安装Jenkins

  1. rpm -ivh jenkins-2.346.3-1.1.noarch.rpm
  2. [root@localhost ~]# rpm -ivh jenkins-2.346.3-1.1.noarch.rpm
  3. 警告:jenkins-2.346.3-1.1.noarch.rpm: 头V4 RSA/SHA512 Signature, 密钥 ID 45f2c3d5: NOKEY
  4. 准备中... ################################# [100%]
  5. 正在升级/安装...
  6. 1:jenkins-2.346.3-1.1 ################################# [100%]
  7. [root@localhost ~]#

3、启动Jenkins服务

  1. systemctl start jenkins.service
  2. systemctl restart jenkins.service
  3. systemctl status jenkins.service

 查看Jenkins启动状态是这种时候,表示Jenkins正在启动中,比较慢

  1. [root@localhost ~]# systemctl status jenkins.service
  2. ● jenkins.service - Jenkins Continuous Integration Server
  3. Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)
  4. Active: activating (start) since 日 2022-08-14 14:16:27 CST; 58s ago
  5. Main PID: 1630 (java)
  6. CGroup: /system.slice/jenkins.service
  7. └─1630 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=%C/jenkins/war --httpPort=8080
  8. 814 14:16:30 localhost.localdomain jenkins[1630]: *************************************************************
  9. 814 14:16:30 localhost.localdomain jenkins[1630]: *************************************************************
  10. 814 14:16:30 localhost.localdomain jenkins[1630]: *************************************************************
  11. 814 14:16:30 localhost.localdomain jenkins[1630]: Jenkins initial setup is required. An admin user has been created and a password generated.
  12. 814 14:16:30 localhost.localdomain jenkins[1630]: Please use the following password to proceed to installation:
  13. 814 14:16:30 localhost.localdomain jenkins[1630]: e4a67c389b6f4deeb2fc2bdf58e1dd52
  14. 814 14:16:30 localhost.localdomain jenkins[1630]: This may also be found at: /var/lib/jenkins/secrets/initialAdminPassword
  15. 814 14:16:30 localhost.localdomain jenkins[1630]: *************************************************************
  16. 814 14:16:30 localhost.localdomain jenkins[1630]: *************************************************************
  17. 814 14:16:30 localhost.localdomain jenkins[1630]: *************************************************************
  18. [root@localhost ~]#

4、修改jenkins配置文件

  1. 将默认Jenkins用户名修改用户名为root 因为不改的话后期Jenkins目录没有权限
  2. vim /etc/sysconfig/jenkins
  3. JENKINS_USER="root"
  1. vim /usr/lib/systemd/system/jenkins.service
  2. User=jenkins 改为root
  3. Group=jenkins 改为root
  4. 如果想改Jenkins的端口号在这改
  5. Environment="JENKINS_PORT=8080"8080端口更改其他的
  6. #更改完成后加载下配置文件重启Jenkins服务

5、重启Jenkins服务 查看端口是否起来

  1. [root@localhost ~]# systemctl daemon-reload ##加载服务配置
  2. [root@localhost ~]# systemctl restart jenkins.service ##重启Jenkins服务
  3. [root@localhost ~]# netstat -lnput #8080的Java端口服务已启动
  4. Active Internet connections (only servers)
  5. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
  6. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 825/sshd
  7. tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 984/master
  8. tcp6 0 0 :::8080 :::* LISTEN 3128/java
  9. tcp6 0 0 :::22 :::* LISTEN 825/sshd
  10. tcp6 0 0 ::1:25 :::* LISTEN 984/master
  11. udp 0 0 127.0.0.1:323 0.0.0.0:* 563/chronyd
  12. udp6 0 0 ::1:323 :::* 563/chronyd
  13. [root@localhost ~]# ps -aux | grep jenkins ##查看Jenkins路径服务已经为root下
  14. root 2047 0.0 0.1 149592 5240 pts/0 T 14:21 0:00 vim /etc/sysconfig/jenkins
  15. root 2150 0.0 0.1 149592 5152 pts/0 T 14:24 0:00 vim /usr/lib/systemd/system/jenkins.service
  16. root 2446 0.0 0.1 149608 5300 pts/0 T 14:26 0:00 vim /etc/sysconfig/jenkins
  17. root 3232 145 6.4 3780292 248704 ? Ssl 14:36 0:05 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=%C/jenkins/war --httpPort=8080
  18. root 3324 0.0 0.0 112824 980 pts/0 S+ 14:36 0:00 grep --color=auto jenkins

6、打开网页界面 http://192.168.100.11:8080/  Jenkins正在配置启动中,比较慢

  1. [root@localhost ~]# cat /var/lib/jenkins/secrets/initialAdminPassword ##输入初始密码
  2. e4a67c389b6f4deeb2fc2bdf58e1dd52

7、 选择插件来安装

8、选择“无”

9、创建管理员用户

 10、选择安装插件路径Manage Jenkins—Manage Plugins—Plugin Manager—Advanced然后下拉到底

选择下面地址复制到URL下  添加国内插件地址

https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

 添加如下的,然后重启Jenkins

  1. [root@localhost ~]# cd /var/lib/jenkins/updates
  2. [root@localhost updates]# ls
  3. default.json hudson.tasks.Maven.MavenInstaller
  4. [root@localhost updates]# sed -i 's/http:\/\/updates.jenkinsci.org\/download/https:\/\/mirrors.tuna.tsinghua.edu.cn\/jenkins/g' default.json && sed -i 's/http:\/\/www.google.com/https:\/\/www.baidu.com/g' default.json

11、安装插件

  1. 安装jenkins所需插件
  2. Credentials # 签名证书管理插件
  3. Gitlab # 安装后从 GitLab 获取代码
  4. Git 和 Git Client # 用于 Jenkins 在 GitLab 中拉取源码
  5. Gitlab Authentication # GitLab 和 Jenkins 认证插件
  6. SSH Plugin # 进程执行 Shell 脚本
  7. Publish Over SSH # 用于通过 SSH 部署应用
  8. maven
  9. chinese #中文插件

 安装完插件重启Jenkins

 12,生成公钥私钥对出来,命令:ssh-keygen 私钥id_rsa 公钥 id_rsa.pub

  1. [root@localhost ~]# ssh-keygen
  2. Generating public/private rsa key pair.
  3. Enter file in which to save the key (/root/.ssh/id_rsa):
  4. Created directory '/root/.ssh'.
  5. Enter passphrase (empty for no passphrase):
  6. Enter same passphrase again:
  7. Your identification has been saved in /root/.ssh/id_rsa.
  8. Your public key has been saved in /root/.ssh/id_rsa.pub.
  9. The key fingerprint is:
  10. SHA256:W/rjnD6edi3oRra8qwqD3b8K5UJ01R5MS3/7XZAKIhA root@localhost.localdomain
  11. The key's randomart image is:
  12. +---[RSA 2048]----+
  13. | E. .+o |
  14. | . . .+o . |
  15. | . o ..o.. + |
  16. | . . . ... o o |
  17. | . . S . . . .|
  18. | + + +o .o|
  19. | . * o o+ o . o|
  20. | = . oOoo . |
  21. | oo+X%* . |
  22. +----[SHA256]-----+
  23. [root@localhost ~]# cd /root/.ssh/
  24. [root@localhost .ssh]# ls
  25. id_rsa id_rsa.pub
  1. [root@localhost .ssh]# cat id_rsa
  2. -----BEGIN RSA PRIVATE KEY-----
  3. MIIEowIBAAKCAQEAzPgvjaV586kIg+A3gBggcxhs6OvCJwGGLLZrwvTunqmESEdi
  4. pMg9sxbePTmflh9jVQfrglfcusYGLybZVVrIH/1Q77v1GXSOCSISe8XArV1gKGx2
  5. 651X8L+MDw7TYtvUD6cYSjtezA4JEyjwpWEhi95K9sQLRqQRmW/RmwoO9bSqF3p0
  6. SMJMjjUPNWtDeg2p3jN86QNrZjmxxP6sf+PrETAOxv3RsmYcKfyr/WsvNfnTujJh
  7. eiYq2M3hJvL4Jl94GZ//zU05bYhVLI3a9jcIz7FYreO/oIy+dbsr91scReqh6WCL
  8. KBdiCvwGrJatnZmVNFpZH6H+2upyq6hqGN7eowIDAQABAoIBAA4uJWwRRKycxyAI
  9. hQ5xnN0ZlX9PwDDepB+3xyDHvTJw29v8RFDOIaagMGPf9rB2H3MkhyCPX4/0Xz0n
  10. 3OVQ0IOWDOFpCX3nWGQ9XTX+6mOUEDD7wAZw7kKTneb0yZ8PQk6K6t1H2jkXx3zx
  11. 2iQ24hFBIcKMsZMDiswotkGZootRApMx8ehsQlSO+0hA1V4WuXf0V0wyM8D81hLr
  12. iPXKKrpMUL7St8Bpf0Z6JY4ReB4AvgaXeviQby4cbfOcK3wUXe4cdINTYhW+rN8b
  13. mtYG/myT7KyXDWJvJuhUXnemZEzGNFPx+Ggj76b1UWQIGq/n/WKEyEt9ZJy+ekkS
  14. g1hS6JECgYEA/GsxgCfIQ89J3uXy8d1ViBtLi4xUN4ZHiHOwZrQ3e+HLOzx9CGEo
  15. QCHp4kekQaOWZYy1wD2VsyTEcc2ARTYlqFTXnqeb7EpdQJvzmOoyS2geIgvsCDAX
  16. HyPWMTDKEKSRpGsB2SizwJrgZSM2iKb0gKmlJUsR59GuRJvCHV5m5icCgYEAz+Cn
  17. Egh2bzww30YXOZ6/KH+dHbYJNNLtIf3Dfr9qAWVtAsrJlx1zoRYb0fEBL8aC0mEf
  18. CkEAgNHCECbZ2ahNHwPF3CJsc1ro/BKNRlvdpHjyHL5wqQOR5AHfLOnAI0dReZbb
  19. keu4j8VslAW76Va0l0efBfezNCmyIMMtweWXbSUCgYB7CKSwGrP6mWcgRmUMjx3J
  20. ocRI2LWT+teTIxCwftcsgvpUfT9UfkboO5+Ms+7UL7B2/wb4FQyKrTkzXz9OfP4N
  21. 9ozCwF+35OdfPqSVvFGXf8BwR+9cblRW0Vjt0SIsyopS4fWcq8Ix90u5AFjscrRq
  22. okXkz5qCrCmNN35+Yi01sQKBgCuCVNWkac2MZppE3FWWEWKTmzn9wN2KjFGCAKoF
  23. vFVAelmMQjdb1bjQnNALRnlOblFEPK/zvPw5awngZ9ZzsHieXIpfth1K2NrxsxoX
  24. 3kMvgVVc0s29TorPjXukDTAVHEt7tMdM9Bs7cidlL9h96lyDhBhGqP5w/7R1xZ0A
  25. xfn1AoGBAMrdTW5qwhQ2ABLMxGryakUFB2COv1wKstfXA41lzrZvdtArwzxfk43S
  26. YZzE2aKGnaPAIPzdjBiJ2FBpmA0M/GjEDaaqIBhETNNTfm8Lase4j2LXls2rJmgH
  27. wG6QqSFkTBVXrm9QB6xduwxcezbN3HCkVNrlKwWiNdnlG8F9zOwK
  28. -----END RSA PRIVATE KEY-----
  29. [root@localhost .ssh]# cat id_rsa.pub
  30. ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDM+C+NpXnzqQiD4DeAGCBzGGzo68InAYYstmvC9O6eqYRIR2KkyD2zFt49OZ+WH2NVB+uCV9y6xgYvJtlVWsgf/VDvu/UZdI4JIhJ7xcCtXWAobHbrnVfwv4wPDtNi29QPpxhKO17MDgkTKPClYSGL3kr2xAtGpBGZb9GbCg71tKoXenRIwkyONQ81a0N6DaneM3zpA2tmObHE/qx/4+sRMA7G/dGyZhwp/Kv9ay81+dO6MmF6JirYzeEm8vgmX3gZn//NTTltiFUsjdr2NwjPsVit47+gjL51uyv3WxxF6qHpYIsoF2IK/Aaslq2dmZU0Wlkfof7a6nKrqGoY3t6j root@localhost.localdomain
  31. [root@localhost .ssh]#

二,开始gitlab的部署

1、配置yum源地址

  1. vim /etc/yum.repos.d/gitlab-ce.repo
  2. [gitlab-ce]
  3. name=Gitlab CE Repository
  4. baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/
  5. gpgcheck=0
  6. enabled=1

或者用wget安装

  wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-15.2.0-ce.0.el7.x86_64.rpm

2、配置 hosts及改主机域名

  1. [root@localhost ~]# hostnamectl set-hostname gitlab.example.com
  2. [root@localhost ~]# bash
  3. [root@gitlab ~]# vim /etc/hosts
  4. [root@gitlab ~]# cat /etc/hosts
  5. 192.168.100.12 gitlab.example.com

3、启动postfix邮件服务

  1. systemctl start postfix
  2. systemctl enable postfix

4、安装gitlab

yum -y install gitlab-ce

5、加载初始化命令执行 

  1. [root@gitlab ~]# gitlab-ctl
  2. [root@gitlab ~]# gitlab-ctl reconfigure ##出现以下代表安装成功
  3. ....
  4. ....
  5. Running handlers:
  6. [2022-08-14T16:33:17+08:00] INFO: Running report handlers
  7. Running handlers complete
  8. [2022-08-14T16:33:17+08:00] INFO: Report handlers complete
  9. Infra Phase complete, 604/1618 resources updated in 03 minutes 19 seconds
  10. Notes:
  11. Default admin account has been configured with following details:
  12. Username: root
  13. Password: You didn't opt-in to print initial root password to STDOUT.
  14. Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
  15. 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.
  16. gitlab Reconfigured!
  17. [root@gitlab ~]# gitlab-ctl status
  18. run: alertmanager: (pid 12914) 298s; run: log: (pid 12682) 352s
  19. run: gitaly: (pid 12904) 299s; run: log: (pid 12022) 464s
  20. run: gitlab-exporter: (pid 12875) 300s; run: log: (pid 12529) 371s
  21. run: gitlab-kas: (pid 12851) 302s; run: log: (pid 12281) 449s
  22. run: gitlab-workhorse: (pid 12862) 302s; run: log: (pid 12411) 394s
  23. run: grafana: (pid 13005) 297s; run: log: (pid 12800) 317s
  24. run: logrotate: (pid 11941) 479s; run: log: (pid 11949) 478s
  25. run: nginx: (pid 12423) 391s; run: log: (pid 12434) 388s
  26. run: node-exporter: (pid 12870) 301s; run: log: (pid 12470) 379s
  27. run: postgres-exporter: (pid 12961) 298s; run: log: (pid 12720) 347s
  28. run: postgresql: (pid 12146) 456s; run: log: (pid 12157) 455s
  29. run: prometheus: (pid 12887) 300s; run: log: (pid 12650) 359s
  30. run: puma: (pid 12340) 409s; run: log: (pid 12354) 406s
  31. run: redis: (pid 11971) 473s; run: log: (pid 11979) 472s
  32. run: redis-exporter: (pid 12878) 300s; run: log: (pid 12617) 365s
  33. run: sidekiq: (pid 12358) 403s; run: log: (pid 12378) 400s

6、启动gitlab服务

  1. [root@gitlab ~]# gitlab-ctl start
  2. ok: run: alertmanager: (pid 12914) 382s
  3. ok: run: gitaly: (pid 12904) 383s
  4. ok: run: gitlab-exporter: (pid 12875) 384s
  5. ok: run: gitlab-kas: (pid 12851) 386s
  6. ok: run: gitlab-workhorse: (pid 12862) 386s
  7. ok: run: grafana: (pid 13005) 381s
  8. ok: run: logrotate: (pid 11941) 563s
  9. ok: run: nginx: (pid 12423) 475s
  10. ok: run: node-exporter: (pid 12870) 385s
  11. ok: run: postgres-exporter: (pid 12961) 382s
  12. ok: run: postgresql: (pid 12146) 540s
  13. ok: run: prometheus: (pid 12887) 384s
  14. ok: run: puma: (pid 12340) 493s
  15. ok: run: redis: (pid 11971) 557s
  16. ok: run: redis-exporter: (pid 12878) 384s
  17. ok: run: sidekiq: (pid 12358) 487s

7、登录gitlab 网页   http://192.168.100.12/  账号密码为

  1. 账号root Password: M8F5dQ8eZd+dJS+8PEJcNdWUFKItE3ZLW6JqPJ+0e5c= ##密码
  2. [root@gitlab ~]# cat /etc/gitlab/initial_root_password
  3. # WARNING: This value is valid only in the following conditions
  4. # 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).
  5. # 2. Password hasn't been changed manually, either via UI or via command line.
  6. #
  7. # If the password shown here doesn't work, you must reset the admin password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
  8. Password: M8F5dQ8eZd+dJS+8PEJcNdWUFKItE3ZLW6JqPJ+0e5c= ##密码
  9. # NOTE: This file will be automatically deleted in the first reconfigure run after 24 hours.

 8、更改为中文页面

9、修改初始化密码

 10、创建新的项目

 11、选择上传一个文件

12、项目建成功上传

13、 然后就是配合Jenkins部署这个项目

 在Jenkins生成的ssh-keygen  

私钥id_rsa  公钥 id_rsa.pub 配置在gitlab里

 14,在Jenkins配置凭据

 

 也可以配置一个ssh秘钥的模式。如下   key 是私钥id_rsa  开始生成的

 

15,添加JDK,Git,Maven,路径

 查询JDK,Git,Maven,路径

  1. root@localhost ~]# which git
  2. /usr/bin/git
  3. [root@localhost ~]# which java
  4. /usr/bin/java
  5. [root@localhost ~]# mvn -v
  6. Apache Maven 3.0.5 (Red Hat 3.0.5-17)
  7. Maven home: /usr/share/maven
  8. Java version: 1.8.0_332, vendor: Red Hat, Inc.
  9. Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-1.el7_9.x86_64/jre
  10. Default locale: zh_CN, platform encoding: UTF-8
  11. OS name: "linux", version: "3.10.0-1160.71.1.el7.x86_64", arch: "amd64", family: "unix"

 三,新建项目

 1、添加个项目描述,选择git构建

2、源码管理URL地址添加

如果出现以下错误的话   

  1. Failed to connect to repository : Command "/usr/bin/git ls-remote -h http://gitlab.example.com/root/demo.git HEAD" returned status code 128:
  2. stdout:
  3. stderr: fatal: unable to access 'http://gitlab.example.com/root/demo.git/': Could not resolve host: gitlab.example.com; Unknown error
  4. 翻译:
  5. 无法连接到存储库:命令“/usr/bin/git ls remote-h”http://gitlab.example.com/root/demo.git“头”返回状态代码128:
  6. 标准输出:
  7. stderr:致命:无法访问'http://gitlab.example.com/root/demo.git/“:无法解析主机:gitlab.example。通用域名格式;未知错误

3、打开Jenkins服务器,添加gitlab的ip域名解析配置

  1. [root@localhost ~]# cat /etc/hosts
  2. 192.168.100.12 gitlab.example.com

 更改指定分支

4、项目构建完成

四,项目构建成功

1、变绿色对号代表构建成功

 2、查看详细构建 控制台输出

3,然后我们的项目构建成功在Jenkins的/var/lib/jenkins/workspace/demo路径,查看下 已经有demo项目了

  1. [root@localhost ~]# cd /var/lib/jenkins/workspace/
  2. [root@localhost workspace]# ls
  3. demo demo@tmp
  4. [root@localhost workspace]# cd demo
  5. [root@localhost demo]# ls
  6. 1.html

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/130543
推荐阅读
相关标签
  

闽ICP备14008679号