【实战练习】通过docker部署jenkins

jenkins官网 :https://jenkins.io/

587110-20170801113427833-179787307.png
拉取jenkins   

Official Jenkins Docker image


  1. [root@ip-172-31-16-58 ec2-user]# docker pull jenkins/jenkins
  2. Using default tag: latest
  3. latest: Pulling from jenkins/jenkins
  4. 06b22ddb1913: Pull complete
  5. 336c28b408ed: Pull complete
  6. 1f3e6b8d80c3: Pull complete
  7. 5ccc640979f6: Pull complete
  8. 14eaa20184e6: Pull complete
  9. 19a8522e2399: Pull complete
  10. 39ba9d7befca: Pull complete
  11. 1f81f3143db2: Pull complete
  12. 2034c15120cd: Pull complete
  13. cb9c7784507a: Pull complete
  14. 160eb3637188: Pull complete
  15. 6f0079684645: Pull complete
  16. d03cc51cd013: Pull complete
  17. 5c83a5102435: Pull complete
  18. d1615ed88d09: Pull complete
  19. 184c2f70a0cf: Pull complete
  20. 468b123e967f: Pull complete
  21. f1ae15a4cfc0: Pull complete
  22. 02f7a795bd75: Pull complete
  23. bdac05821dbe: Pull complete
  24. Digest: sha256:30f648f79d447aab092a1a8a2025ee90e257fc03245796a89fb8ffac638259ee
  25. Status: Downloaded newer image for jenkins/jenkins:latest

操作手册:
https://github.com/jenkinsci/docker/blob/master/README.md


  1. docker run 命令详细文档
  2. [root@ip-172-31-16-58 ec2-user]# docker run --help
  3. Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
  4. Run a command in a new container
  5. Options:
  6. --add-host list Add a custom host-to-IP mapping (host:ip) (default [])
  7. -a, --attach list Attach to STDIN, STDOUT or STDERR (default [])
  8. --blkio-weight uint16 Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0)
  9. --blkio-weight-device weighted-device Block IO weight (relative device weight) (default [])
  10. --cap-add list Add Linux capabilities (default [])
  11. --cap-drop list Drop Linux capabilities (default [])
  12. --cgroup-parent string Optional parent cgroup for the container
  13. --cidfile string Write the container ID to the file
  14. --cpu-count int CPU count (Windows only)
  15. --cpu-percent int CPU percent (Windows only)
  16. --cpu-period int Limit CPU CFS (Completely Fair Scheduler) period
  17. --cpu-quota int Limit CPU CFS (Completely Fair Scheduler) quota
  18. --cpu-rt-period int Limit CPU real-time period in microseconds
  19. --cpu-rt-runtime int Limit CPU real-time runtime in microseconds
  20. -c, --cpu-shares int CPU shares (relative weight) //用于给运行在容器中的所有进程分配CPU的shares值。这是一个相对权重,实际的处理速度还与宿主机CPU相关
  21. --cpus decimal Number of CPUs (default 0.000)
  22. --cpuset-cpus string CPUs in which to allow execution (0-3, 0,1)
  23. --cpuset-mems string MEMs in which to allow execution (0-3, 0,1)
  24. --credentialspec string Credential spec for managed service account (Windows only)
  25. -d, --detach Run container in background and print container ID
  26. --detach-keys string Override the key sequence for detaching a container
  27. --device list Add a host device to the container (default [])
  28. --device-read-bps throttled-device Limit read rate (bytes per second) from a device (default [])
  29. --device-read-iops throttled-device Limit read rate (IO per second) from a device (default [])
  30. --device-write-bps throttled-device Limit write rate (bytes per second) to a device (default [])
  31. --device-write-iops throttled-device Limit write rate (IO per second) to a device (default [])
  32. --disable-content-trust Skip image verification (default true)
  33. --dns list Set custom DNS servers (default [])
  34. --dns-option list Set DNS options (default [])
  35. --dns-search list Set custom DNS search domains (default [])
  36. --entrypoint string Overwrite the default ENTRYPOINT of the image
  37. -e, --env list Set environment variables (default [])
  38. --env-file list Read in a file of environment variables (default [])
  39. --expose list Expose a port or a range of ports (default [])
  40. --group-add list Add additional groups to join (default [])
  41. --health-cmd string Command to run to check health
  42. --health-interval duration Time between running the check (ns|us|ms|s|m|h) (default 0s)
  43. --health-retries int Consecutive failures needed to report unhealthy
  44. --health-timeout duration Maximum time to allow one check to run (ns|us|ms|s|m|h) (default 0s)
  45. --help Print usage
  46. -h, --hostname string Container host name
  47. --init Run an init inside the container that forwards signals and reaps processes
  48. --init-path string Path to the docker-init binary
  49. -i, --interactive Keep STDIN open even if not attached //保持输入打开即使不连接 即选择交互模式,始终保持输入流开放
  50. --io-maxbandwidth string Maximum IO bandwidth limit for the system drive (Windows only)
  51. --io-maxiops uint Maximum IOps limit for the system drive (Windows only)
  52. --ip string Container IPv4 address (e.g. 172.30.100.104)
  53. --ip6 string Container IPv6 address (e.g. 2001:db8::33)
  54. --ipc string IPC namespace to use
  55. --isolation string Container isolation technology
  56. --kernel-memory string Kernel memory limit
  57. -l, --label list Set meta data on a container (default [])
  58. --label-file list Read in a line delimited file of labels (default [])
  59. --link list Add link to another container (default [])
  60. --link-local-ip list Container IPv4/IPv6 link-local addresses (default [])
  61. --log-driver string Logging driver for the container
  62. --log-opt list Log driver options (default [])
  63. --mac-address string Container MAC address (e.g. 92:d0:c6:0a:29:33)
  64. -m, --memory string Memory limit //限制容器为所有进程分配的内存总量
  65. --memory-reservation string Memory soft limit
  66. --memory-swap string Swap limit equal to memory plus swap: '-1' to enable unlimited swap
  67. --memory-swappiness int Tune container memory swappiness (0 to 100) (default -1)
  68. --name string Assign a name to the container
  69. --network string Connect a container to a network (default "default")
  70. --network-alias list Add network-scoped alias for the container (default [])
  71. --no-healthcheck Disable any container-specified HEALTHCHECK
  72. --oom-kill-disable Disable OOM Killer
  73. --oom-score-adj int Tune host's OOM preferences (-1000 to 1000)
  74. --pid string PID namespace to use
  75. --pids-limit int Tune container pids limit (set -1 for unlimited)
  76. --privileged Give extended privileges to this container
  77. -p, --publish list Publish a container's port(s) to the host (default []) //端口映射到本机 将容器的端口暴漏给宿主机的端口
  78. -P, --publish-all Publish all exposed ports to random ports
  79. --read-only Mount the container's root filesystem as read only
  80. --restart string Restart policy to apply when a container exits (default "no")
  81. --rm Automatically remove the container when it exits
  82. --runtime string Runtime to use for this container
  83. --security-opt list Security Options (default [])
  84. --shm-size string Size of /dev/shm, default value is 64MB
  85. --sig-proxy Proxy received signals to the process (default true)
  86. --stop-signal string Signal to stop a container, SIGTERM by default (default "SIGTERM")
  87. --stop-timeout int Timeout (in seconds) to stop a container
  88. --storage-opt list Storage driver options for the container (default [])
  89. --sysctl map Sysctl options (default map[])
  90. --tmpfs list Mount a tmpfs directory (default [])
  91. -t, --tty Allocate a pseudo-TTY //分配一个伪终端,一般两个参数结合是使用 -it,就可以在容器中利用打开的伪终端进行交互操作
  92. --ulimit ulimit Ulimit options (default [])
  93. -u, --user string Username or UID (format: <name|uid>[:<group|gid>])
  94. --userns string User namespace to use
  95. --uts string UTS namespace to use
  96. -v, --volume list Bind mount a volume (default []) //用户挂载一个volume 可以用多个-v挂载读个 。volume的格式为[host-dir]:[container-dir]:[rw|ro]
  97. --volume-driver string Optional volume driver for the container
  98. --volumes-from list Mount volumes from the specified container(s) (default [])
  99. -w, --workdir string Working directory inside the container
注释:volume:
LVM几个基本概念
*物理存储介质(PhysicalStorageMedia):指系统的物理存储设备:磁盘,如:/dev/hda、/dev/sda等,是存储系统最底层的存储单元。
*物理卷(Physical Volume,PV):指磁盘分区或从逻辑上与磁盘分区具有同样功能的设备(如RAID),是LVM的基本存储逻辑块,但和基本的物理存储介质(如分区、磁盘等)比较,却包含有与LVM相关的管理参数。
*物理块(Physical Extent,PE):每一个物理卷PV被划分为称为PE(Physical Extents)的基本单元,具有唯一编号的PE是可以被LVM寻址的最小单元。PE的大小是可配置的,默认为4MB。所以物理卷(PV)由大小等同的基本单元PE组成。
*卷组(Volume Group,VG):类似于非LVM系统中的物理磁盘,其由一个或多个物理卷PV组成。可以在卷组上创建一个或多个LV(逻辑卷)。
*逻辑卷(Logical Volume,LV):类似于非LVM系统中的磁盘分区,逻辑卷建立在卷组VG之上。在逻辑卷LV之上可以建立文件系统(比如/home或者/usr等)。
*逻辑块(Logical Extent,LE):逻辑卷LV也被划分为可被寻址的基本单位,称为LE。在同一个卷组中,LE的大小和PE是相同的,并且一一对应。
来源: http://doc.okbase.net/sammyliu/archive/118273.html

运行记录 
  1. [root@ip-172-31-16-58 ec2-user]# docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins
  2. docker: Error response from daemon: driver failed programming external connectivity on endpoint elegant_darwin (1597358b18b14e84246118d59c368cd17fb7eee2928c2e918305ca511bcae754): Error starting userland proxy: listen tcp 0.0.0.0:8080: bind: address already in use.
  3. [root@ip-172-31-16-58 ec2-user]# docker run -p 8080:8081 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins
  4. docker: Error response from daemon: driver failed programming external connectivity on endpoint frosty_yonath (67bfcad0fa9e58200dbccd10ad69a1939fb70c128ab586dd23fc1608e6f33de7): Error starting userland proxy: listen tcp 0.0.0.0:8080: bind: address already in use.
  5. [root@ip-172-31-16-58 ec2-user]# docker run -p 8081:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins
  6. Running from: /usr/share/jenkins/jenkins.war
  7. webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
  8. Jul 25, 2017 8:21:05 AM Main deleteWinstoneTempContents
  9. WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
  10. Jul 25, 2017 8:21:06 AM org.eclipse.jetty.util.log.Log initialized
  11. INFO: Logging initialized @1202ms to org.eclipse.jetty.util.log.JavaUtilLog
  12. Jul 25, 2017 8:21:06 AM winstone.Logger logInternal
  13. INFO: Beginning extraction from war file
  14. Jul 25, 2017 8:21:07 AM org.eclipse.jetty.server.handler.ContextHandler setContextPath
  15. WARNING: Empty contextPath
  16. Jul 25, 2017 8:21:08 AM org.eclipse.jetty.server.Server doStart
  17. INFO: jetty-9.4.z-SNAPSHOT
  18. Jul 25, 2017 8:21:08 AM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
  19. INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
  20. Jul 25, 2017 8:21:08 AM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
  21. INFO: DefaultSessionIdManager workerName=node0
  22. Jul 25, 2017 8:21:08 AM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
  23. INFO: No SessionScavenger set, using defaults
  24. Jul 25, 2017 8:21:08 AM org.eclipse.jetty.server.session.HouseKeeper startScavenging
  25. INFO: Scavenging every 660000ms
  26. Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
  27. Jul 25, 2017 8:21:09 AM org.eclipse.jetty.server.handler.ContextHandler doStart
  28. INFO: Started w.@62e70ea3{/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war}
  29. Jul 25, 2017 8:21:09 AM org.eclipse.jetty.server.AbstractConnector doStart
  30. INFO: Started ServerConnector@25ddbbbb{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
  31. Jul 25, 2017 8:21:09 AM org.eclipse.jetty.server.Server doStart
  32. INFO: Started @4942ms
  33. Jul 25, 2017 8:21:09 AM winstone.Logger logInternal
  34. INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
  35. Jul 25, 2017 8:21:10 AM jenkins.InitReactorRunner$1 onAttained
  36. INFO: Started initialization
  37. Jul 25, 2017 8:21:10 AM jenkins.InitReactorRunner$1 onAttained
  38. INFO: Listed all plugins
  39. Jul 25, 2017 8:21:13 AM jenkins.InitReactorRunner$1 onAttained
  40. INFO: Prepared all plugins
  41. Jul 25, 2017 8:21:13 AM jenkins.InitReactorRunner$1 onAttained
  42. INFO: Started all plugins
  43. Jul 25, 2017 8:21:13 AM jenkins.InitReactorRunner$1 onAttained
  44. INFO: Augmented all extensions
  45. Jul 25, 2017 8:21:15 AM jenkins.InitReactorRunner$1 onAttained
  46. INFO: Loaded all jobs
  47. Jul 25, 2017 8:21:15 AM hudson.model.AsyncPeriodicWork$1 run
  48. INFO: Started Download metadata
  49. Jul 25, 2017 8:21:16 AM jenkins.util.groovy.GroovyHookScript execute
  50. INFO: Executing /var/jenkins_home/init.groovy.d/tcp-slave-agent-port.groovy
  51. Jul 25, 2017 8:21:16 AM jenkins.InitReactorRunner$1 onAttained
  52. INFO: Completed initialization
  53. Jul 25, 2017 8:21:17 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
  54. INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@6f1a6ab9: display name [Root WebApplicationContext]; startup date [Tue Jul 25 08:21:17 UTC 2017]; root of context hierarchy
  55. Jul 25, 2017 8:21:17 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
  56. INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@6f1a6ab9]: org.springframework.beans.factory.support.DefaultListableBeanFactory@70246b4f
  57. Jul 25, 2017 8:21:17 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
  58. INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@70246b4f: defining beans [authenticationManager]; root of factory hierarchy
  59. Jul 25, 2017 8:21:18 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
  60. INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@3519c206: display name [Root WebApplicationContext]; startup date [Tue Jul 25 08:21:18 UTC 2017]; root of context hierarchy
  61. Jul 25, 2017 8:21:18 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
  62. INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@3519c206]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5ec0f5c8
  63. Jul 25, 2017 8:21:18 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
  64. INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5ec0f5c8: defining beans [filter,legacy]; root of factory hierarchy
  65. Jul 25, 2017 8:21:19 AM jenkins.install.SetupWizard init
  66. INFO:
  67. *************************************************************
  68. *************************************************************
  69. *************************************************************
  70. Jenkins initial setup is required. An admin user has been created and a password generated.
  71. Please use the following password to proceed to installation:
  72. 89389c1eefaf48e3a9a7caa94abbc59d
  73. This may also be found at: /var/jenkins_home/secrets/initialAdminPassword
  74. *************************************************************
  75. *************************************************************
  76. *************************************************************
  77. Jul 25, 2017 8:21:23 AM hudson.model.UpdateSite updateData
  78. INFO: Obtained the latest update center data file for UpdateSource default
  79. Jul 25, 2017 8:21:23 AM hudson.model.DownloadService$Downloadable load
  80. INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
  81. Jul 25, 2017 8:21:25 AM hudson.model.DownloadService$Downloadable load
  82. INFO: Obtained the updated data file for hudson.tools.JDKInstaller
  83. Jul 25, 2017 8:21:25 AM hudson.model.AsyncPeriodicWork$1 run
  84. INFO: Finished Download metadata. 9,840 ms
  85. Jul 25, 2017 8:21:25 AM hudson.model.UpdateSite updateData
  86. INFO: Obtained the latest update center data file for UpdateSource default
  87. Jul 25, 2017 8:21:25 AM hudson.WebAppMain$3 run
  88. INFO: Jenkins is fully up and running
  89. --> setting agent port for jnlp
  90. --> setting agent port for jnlp... done


安装完成



转载于:https://www.cnblogs.com/wolfgang-/p/7240165.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/487912.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

linux hive mysql_Linux下的Hive与Mysql安装

一&#xff0c;安装MySQLsudo apt-get install mysql-server mysql-client1). 建立数据库hive&#xff0c;create database hive;2). 创建用户hivecreate user ‘hive’’%’ identified by ‘hive’;3).创建hive用户,并授权grant all on hive.* to hive’%’ identified by ‘…

当AI实现多任务学习,它究竟能做什么?

来源&#xff1a;脑极体提到AI领域的多任务学习&#xff0c;很多人可能一下子就想到通用人工智能那里了。通俗意义上的理解&#xff0c;就像《超能陆战队》里的大白这样一种护理机器人&#xff0c;既能进行医疗诊断&#xff0c;又能读懂人的情绪&#xff0c;还能像陪伴机器人一…

mysql sql先后执行_MySQL中SQL语句执行顺序

(7) SELECT(8) DISTINCT (1) FROM (3) JOIN(2) ON (4) WHERE (5) GROUP BY (6) HAVING (9) ORDER BY (10) LIMIT 前期准备工作1、新建一个测试数据库create database testData;2、创建测试表,并插入数据如下&#xff1a;用户表订单表准备SQL逻辑查询测试语句SELECT a.user_id,C…

《自然》:欧洲根据已知基因序列合成新冠病毒,助力疫苗开发

来源&#xff1a;澎湃新闻当地时间5月4日&#xff0c;国际顶级学术期刊《自然》&#xff08;Nature&#xff09;以“加快评审文章”(Accelerated Article Preview)形式在线发表了来自瑞士、德国、俄罗斯多家科研机构的一项研究“Rapid reconstruction of SARS-CoV-2 using a sy…

谷歌论文:使用深度强化学习的芯片布局

来源&#xff1a;半导体行业观察摘 要在本项目中&#xff0c;我们提出了一种基于学习的芯片布局方法&#xff0c;这是芯片设计过程中最复杂&#xff0c;最耗时的阶段之一。与以前的方法不同&#xff0c;我们的方法具有从过去的经验中学习并随着时间的推移而不断改进的能力。特别…

吴建平院士:互联网视频技术在疫情防控中的重要作用

来源&#xff1a;互联网天地杂志疫情期间&#xff0c;要关注新一代信息技术助力疫情防控这个主题。最近新的技术非常多&#xff0c;但有一项技术可能被遗忘了&#xff0c;它属于新一代信息技术系列&#xff0c;在防控疾病或生活中发挥着很重要的作用&#xff0c;那就是互联网视…

java比较炫的小程序_推荐三款私藏多年的微信小程序

【小程序】(文后有福利)酷友们&#xff0c;大家好&#xff01;今天一次性给大家介绍三款实用的微信小程序吧。这三款微信小程序基本上可以卸掉对应的 APP 了。同等功能下的 APP 和 微信小程序&#xff0c;当然会选择后者嘛&#xff0c;不仅消耗内存小&#xff0c;而且方便。1. …

2019年全球数字化转型现状研究报告

来源&#xff1a;Prophet数字化是整个企业范围内的优先战略事项我们的年度《数字化转型现状》研究迎来第五个年头&#xff0c;继续记录企业的不断发展。随着颠覆性技术及其对各大企业和市场的影响力不断加大&#xff0c;我们的研究旨在捕捉促成现代数字化转型的变化和趋势。201…

magent + memcached部署过程

magent memcached架构图 安装步骤如下&#xff1a; ------------------10.1.64.196 10.1.64.197 10.1.65.104 10.1.65.107 memcached (存储节点)---------------------------------------- yum install gcc mkdir /usr/local/src/memcached cd /usr/local/src/memcached ta…

BBC神作:半导体如何改变世界

来源&#xff1a;电子工程师笔记在纪录片领域BBC一直是打遍天下无敌手的存在作为纪录片王牌制作方近期&#xff0c;BBC与FedEx联合推出了神作Made on Earth系列《The humble mineral that transformed the world》作为零差评的重要一集用叹为观止的精良画面为观众讲述了半导体常…

jmeter练习(5)关联升级版—ForEach控制器(提取多个响应结果并依次传参)

前言&#xff1a;大多数情况下&#xff0c;我们会从上一个请求的响应结果中提取某一个值&#xff0c;作为第二个请求的参数进行传参&#xff0c;但是有时候为了提高测试效率&#xff0c;尽可能制造少的测试数据&#xff0c;我们需要从上一个请求的响应结果中获取某一组相同类型…

“天才少年”曹原再次连发2篇Nature!在魔角石墨烯取得系列新进展

来源&#xff1a;青塔、中国科学技术大学新创校友基金会、纳米人5月7日&#xff0c;被誉为“天才少年”的95后博士曹原分别以第一作者兼共同通讯作者、以及共同第一作者的身份&#xff0c;在《Nature》上连发2篇论文。第一篇Nature论文中&#xff0c;研究人员致力于通过对扭转角…

linux交叉编译aix_mips-linux-gcc交叉编译工具链搭建小结【转】

这几天开始做毕业设计了&#xff0c;MPEG2解码的MIPS实现&#xff0c;代码啥的网上一大堆&#xff0c;最大的困难也许不是理解代码&#xff0c;而是搭建环境&#xff0c;也就是搭建mips-linux-gcc交叉编译的环境。网上铺天盖地的都是arm-linux-gcc工具链的教程&#xff0c;唯独…

单链表的头插法和尾插法c语言实现

/*单链表的头插法和尾插法c语言实现*/ #include <stdio.h>#include <stdlib.h>#include <string.h>#define SIZE 100/*简单的定义一个链表节点的数据单元*/typedef struct student_t{ int num; char name[SIZE]; struct student_t* pNext;}studentList, *pSt…

ICLR认知科学@AI workshop一览

来源&#xff1a; 混沌巡洋舰今年ICLR2020顶会有一个特别有意思的专题&#xff0c; 叫认知科学与AI顶会专题。在当下深度学习愈发进入瓶颈期的时代&#xff0c;认知科学和AI的交叉成为大势所趋。一方面我们希望把认知科学或心理学的知识用起来直接指导AI&#xff0c;另一方面我…

谷歌AI公布新项目:未来你的宠物可能真的会是“机器”狗!

From: Tech Crunch; 作者&#xff1a;Iris????或许你曾留心过狗是怎么行走的——它们走起路来肌腱运动流畅&#xff0c;步履灵活&#xff0c;并不必去思考下一步要怎么走&#xff0c;走路这个动作是自然而然发生的事情。而同样的动作&#xff0c;机器狗能够处理得这样自然吗…

java王大拿谢大脚_《乡村爱情1》:“王大拿”赵本山有3大亮点,追谢大脚根本不算啥...

《乡村爱情》第一部其实导演并不是赵本山&#xff0c;那时候的他和该剧的导演张惠中是好友关系&#xff0c;里面的各大主演除了“王小蒙”王亚彬外其余都是以赵本山的徒弟为主&#xff0c;很多人都是冲着赵本山的名气来观看这部剧的。其实赵本山在《乡村爱情》第一部中饰演的“…

记忆的天空:智能进化三部曲

作者&#xff1a;钟振余&#xff0c;宁波大学 相对于人工智能的快速发展&#xff0c;人类对于生命智能的理解显得很肤浅。由于缺失大脑活动原理的理论指导&#xff0c;人们只能用知识考试去评判一个人的智能&#xff0c;用相当于几岁孩子的智能去比对某些高级动物的智能。事实上…

收藏!机器学习算法分类图谱及其优缺点综合分析

来源&#xff1a;必达智库近日&#xff0c;Coggle对各类机器学习算法进行了归纳整理&#xff0c;形成了一个较为完整的机器学习算法分类图谱&#xff0c;并对每一类算法的优缺点进行了分析。具体分类如下&#xff1a;正则化算法&#xff08;Regularization Algorithms&#xff…

StringBuilder String string.Concat 字符串拼接速度再议

首先看测试代码&#xff1a; 1 public class StringSpeedTest2 {3 private readonly static string _testStr "0123456789";4 5 public string StringAdd(int count)6 {7 string str string.Empty;8 for (i…