vim /usr/lib/systemd/system/nginx.service # 创建服务文件 nginx.service脚本内容如下: [Unit] # 服务的说明 Description=nginx # 描述服务 After=network.target # 描述服务类别 [Service ...
分类:
其他好文 时间:
2021-03-15 11:26:49
阅读次数:
0
一、启动pod 1. 手动启动 apiVersion: v1 kind: Pod metadata: name: nginx-test labels: app: nginx-test spec: containers: - name: nginx image: nginx imagePullPoli ...
分类:
其他好文 时间:
2021-03-15 11:26:20
阅读次数:
0
https://www.cnblogs.com/yunlongaimeng/p/12558638.html 安装报错: 1.mysqld : 无法将“mysqld”项识别为 cmdlet、函数、脚本文件或可运行程序的名称 将mysqld 改为:.\mysqld 就可以了 ...
分类:
数据库 时间:
2021-03-15 11:23:58
阅读次数:
0
新增了五个教程: Python 和 Jupyter 机器学习入门 零、前言 一、Jupyter 基础知识 二、数据清理和高级机器学习 三、Web 爬取和交互式可视化 Python 数据科学和机器学习实践指南 零、前言 一、入门 二、统计和概率回顾和 Python 实践 三、Matplotlib 和高 ...
分类:
Web程序 时间:
2021-03-15 11:11:19
阅读次数:
0
python\小脚本\地址经纬度解析.py # -*- coding: utf-8 -*- """ Created on Thu Nov 24 10:10:13 2016 @author: Acer """ # -*- coding: utf-8 -*- #import sys, urllib, u ...
分类:
其他好文 时间:
2021-03-15 11:02:26
阅读次数:
0
python\小脚本\selenium_base_file.py # -*- coding: utf-8 -*- """ Created on Wed Feb 28 19:40:07 2018 @author: zhoujunqing """ # -*- coding: utf-8 -*- """ ...
分类:
其他好文 时间:
2021-03-15 11:02:11
阅读次数:
0
AssetBundle简称AB包,总的来说就是一总压缩文件,就是把Unity里面的资源进行打包压缩(唯独不能打包C#脚本) Unity其实也自带了打包功能,不过Unity是要把资源放到Resources文件夹下,然后对该文件下所有的文件进行打包,不管你用没用到,然后还只能使用Resources.Lo ...
分类:
其他好文 时间:
2021-03-15 10:52:55
阅读次数:
0
rootfs:根文件系统 /boot:系统启动相关的文件,如内核、initrd,以及grub(bootloader) /dev:设备文件 设备文件: 块文件:随机访问,数据块 字符设备:线性访问,按字符为单位 设备号:主设备号(major)和次设备号(minor) /etc:配置文件 /home:管 ...
分类:
系统相关 时间:
2021-03-15 10:49:44
阅读次数:
0
什么是Elastic Shell Elastic Shell是一套完全用Bash Shell编写的,用于管理Elasticsearch搜索引擎的工具脚本。目前,它提供了针对index和snapshot的基本管理,并提供了针对reindex和Elasticsearch集群升级的辅助自动化。 本质上,E ...
分类:
系统相关 时间:
2021-03-15 10:42:46
阅读次数:
0
1、将函数存储在模块里 def fun1(x): ## 在模块module1.py中定义三个函数 print(x.upper()) def fun2(x): print(x.title()) def fun3(x): print(" ",x) 2、测试能否直接调用函数 >>> fun1("aaa") ...
分类:
编程语言 时间:
2021-03-15 10:39:46
阅读次数:
0