栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

计算机英语讲课笔记10

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

计算机英语讲课笔记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:WindowsSystem32driversetchosts
(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: https://www.wikipedia.org/

  • Click English hyperlink

  • Enter data visualiztion in the search box

  • URL: https://en.wikipedia.org/wiki/Data_and_information_visualization

  • 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.

`

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/890556.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号