首先添加新版本的repo curl --silent --location https://rpm.nodesource.com/setup_14.x | sudo bash 执行安装 yum -y install nodejs 参考 新安装NODEJS之后配置 ...
分类:
Web程序 时间:
2020-08-11 15:47:57
阅读次数:
68
odoo12 通过python代码控制xml界面,更改字段属性(fields_view_get方法使用) from lxml import etree from odoo.osv.orm import setup_modifiers def fields_view_get(self, cr, uid ...
分类:
编程语言 时间:
2020-08-11 12:00:18
阅读次数:
122
安装 setuptools 工具 任务时间:1min ~ 5min 安装 [为什么需要安装 setuptools 工具] yum install python-setuptools -y 因为之后我们需要安装 Django ,而 Django 需要用这个工具,所以我们需要先安装 setuptools ...
分类:
编程语言 时间:
2020-08-11 10:41:37
阅读次数:
69
1、centos中firewalld与iptables centos7以前的版本默认使用iptables服务进行管理防火墙规则。centos7以及其以上版本默认使用firewalld服务管理防火墙。所以在centos8中,就使用其默认的firewalld配置防火墙。 firewalld和iptabl ...
分类:
其他好文 时间:
2020-08-11 00:28:58
阅读次数:
103
关键词:qt mingw cmake opencv 使用https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows 这个方法,终于成功。 略有不同的是,我编译的是opecv4.4.0,在github release页面下载sourcecode即可 ...
一、iptables防火墙1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # ...
分类:
系统相关 时间:
2020-08-05 00:08:24
阅读次数:
88
前言网上关于kubernetes网络部署的方案非常多,那为什么还要自己写这么一篇教程呢?因为这篇文章中将介绍一种较为少见的部署方式,使用kuberouter作为kubernetes系统网络组件,直接替换掉kubeproxy、flannel/calico等网络组件。使用这种部署方式的目的,是替换kube-proxy,减少iptables依赖,同时还能提供网络服务。<!--more-->替
分类:
Web程序 时间:
2020-08-03 20:00:53
阅读次数:
96
[TOC]## 1. 安装> [官网](https://code.visualstudio.com/docs/setup/linux)### 1.1. 基于Debian和Ubuntu的发行版网页下载: https://code.visualstudio.com/Download```shsudo a... ...
分类:
系统相关 时间:
2020-08-03 19:58:18
阅读次数:
96
#画国旗importturtleturtle.speed(5)turtle.setup(800,600)turtle.pensize(6)turtle.pencolor("brown")turtle.penup()turtle.goto(-350,-300)turtle.pendown()turtle.left(90)turtle.forward(50)turtle.right
分类:
其他好文 时间:
2020-08-02 22:25:45
阅读次数:
106