上一页 1 ··· 338 339 340 341 342 343 344 345 346 ··· 367 下一页
摘要: 以下实验使用三台虚拟机完成。 服务器端:PC1,192.168.10.10 客户机端:PC2,192.168.10.20 客户机端:PC3,192.168.10.30 1、PC1服务器端安装apache服务 [root@PC1 ~]# yum install httpd -y Loaded plug 阅读全文
posted @ 2020-12-18 00:49 小鲨鱼2018 阅读(854) 评论(0) 推荐(0) 编辑
摘要: 服务器端: PC1,192.168.10.10 客户机端: PC2, 192.168.10.20 1、在PC1服务器端安装Apache服务 [root@PC1 ~]# yum install httpd -y Loaded plugins: langpacks, product-id, subscr 阅读全文
posted @ 2020-12-17 23:18 小鲨鱼2018 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 以下实验在两台虚拟机中完成,PC1服务器端,IP地址为192.168.10.10; PC2为客户机端,IP地址为192.168.10.20. 1、在PC1服务器端安装apache服务 [root@PC1 ~]# yum install httpd -y Loaded plugins: langpac 阅读全文
posted @ 2020-12-17 22:21 小鲨鱼2018 阅读(810) 评论(0) 推荐(0) 编辑
摘要: 虚拟主机功能:一台物理服务器分割为多个“虚拟的服务器”,实现一台物理服务器部署多个网站的功能。 方式: 基于IP地址 基于主机域名 基于端口号 以下实验完成基于IP地址的虚拟主机功能,使用两台虚拟机完成,PC1为服务器端,IP设定为3个(192.168.10.100,192.168.10.101,1 阅读全文
posted @ 2020-12-17 21:14 小鲨鱼2018 阅读(675) 评论(0) 推荐(0) 编辑
摘要: >>> 5 > 3 and 5 > 4 True >>> 5 > 3 and 5 > 6 False >>> 5 > 3 or 5 < 4 True >>> 5 > 7 or 5 > 6 False >>> not 0 True >>> not 1 False >>> not 2 False >>> 阅读全文
posted @ 2020-12-17 19:24 小鲨鱼2018 阅读(68) 评论(0) 推荐(0) 编辑
摘要: >>> 3 > 5 False >>> 3 >= 5 False >>> 3 < 5 True >>> 3 == 5 False >>> 3 != 5 True >>> 3 <= 5 True 阅读全文
posted @ 2020-12-17 19:18 小鲨鱼2018 阅读(90) 评论(0) 推荐(0) 编辑
摘要: >>> a = 5 >>> a 5 >>> type(a) <class 'int'> >>> b = float(a) >>> b 5.0 >>> type(b) <class 'float'> >>> c = 5.3 >>> c 5.3 >>> type(c) <class 'float'> > 阅读全文
posted @ 2020-12-17 18:31 小鲨鱼2018 阅读(144) 评论(0) 推荐(0) 编辑
摘要: >>> a = "line1\nline2\nline3\nline4\n……" >>> print(a) line1 line2 line3 line4 …… >>> a = """line1 ## 使用"""xxxx""" 可以省略\n. line2 line3 line4 …… """ >>> 阅读全文
posted @ 2020-12-17 18:20 小鲨鱼2018 阅读(225) 评论(0) 推荐(0) 编辑
摘要: >>> a = "ab\ncde" >>> print(a) ab cde >>> b = "ab\\ncde" >>> print(b) ab\ncde >>> c = r"ab\ncd3" >>> print(c) ab\ncd3 阅读全文
posted @ 2020-12-17 18:14 小鲨鱼2018 阅读(97) 评论(0) 推荐(0) 编辑
摘要: >>> int(3) 3 >>> int(3.1) 3 >>> int(3.5) 3 >>> int(3.7) 3 >>> int(3.9) 3 阅读全文
posted @ 2020-12-17 18:07 小鲨鱼2018 阅读(592) 评论(0) 推荐(0) 编辑
上一页 1 ··· 338 339 340 341 342 343 344 345 346 ··· 367 下一页