计算机英语讲课笔记10

编程入门 行业动态 更新时间:2024-10-07 14:23:46

计算机<a href=https://www.elefans.com/category/jswz/34/1769953.html style=英语讲课笔记10"/>

计算机英语讲课笔记10

文章目录

  • I. IP - Hostname Mapping
    • 1. Using IP Address
    • 2. Using Hostname
    • 3. Mapping Between IP and Hostname
      • (1) Windows
      • (2) Linux (CentOS)
    • 4. Hostname
      • (1) Display Hostname
      • (2) Modify Hostname
  • II. Data Visutalization

I. IP - Hostname Mapping

  • We can access a network resource in two manners - using IP or using hostname
  • URL (Uniform Resource Locator) is used to access a certain resource on the Internet.
  • URL has four parts: protocol + host + port + path

1. Using IP Address

  • Visit Hadoop WebUI:http://192.168.1.101:50070/dfshealth.html#tab-overview

2. Using Hostname

  • Visit Hadoop WebUI:http://master:50070/dfshealth.html#tab-overview

3. Mapping Between IP and Hostname

(1) Windows

  • hosts文件位置:C:\Windows\System32\drivers\etc\hosts

(2) Linux (CentOS)

  • three nodes: master, slave1, slave2


  • on the master, we want to ping slave1 in two manners

  • We can do this in two manners because we have set the mapping between ip and hostname
  • Execute the command: vim /etc/hosts

4. Hostname

(1) Display Hostname

  • Execute the command: hostname

(2) Modify Hostname

  • Execute the command: hostnamectl set-hostname howard-master
  • Let’s view the new hostname
  • Now let’s reboot the master virtual machine

  • on the slave1, we ping master virtual machine by ip address
  • on the slave1, we ping master virtual machine by the new hostname
  • on the slave1, we can ping master virtual machine by the old hostname
  • Now I want to restore the hosname of the master virtual machine
  • reboot the master virtual machine
  • reconnect the master virtual machine

II. Data Visutalization

  • Let’s visit wikipedia: /

  • Click English hyperlink

  • Enter data visualiztion in the search box

  • URL:

  • Task 1. Use Excel to make the table for the number of articles in different languages and then generate a pie chart for the data.

  • Task 2. Use Echarts to make a pie chart for the data.

  • Task 3. Use matplotlib to make a pie chart for the data.

`

更多推荐

计算机英语讲课笔记10

本文发布于:2024-02-07 07:24:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1755191.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:英语   计算机   笔记

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!