注意EOF不能有空格tab键 get os version release=$(rpm q qf "%{VERSION}" $(rpm q whatprovides redhat release)) configure yum base source and epel source cd /etc/ ...
分类:
其他好文 时间:
2018-05-29 20:34:28
阅读次数:
174
CentOS 版本 7.4,Docker 版本 docker 1.13 及以下 CentOS 版本 7.4,Docker 版本 docker ce 17 及以上 ...
分类:
其他好文 时间:
2018-05-28 11:50:22
阅读次数:
210
概述 neutron-server 接收和路由API请求到合适的OpenStack网络插件,以达到预想的目的。 5.1、控制节点安装 在你配置OpenStack网络(neutron)服务之前,你必须为其创建一个数据库,服务凭证和API端点。 $ mysql -u rgalera -p galera ...
分类:
其他好文 时间:
2018-05-24 12:43:20
阅读次数:
197
CentOS 6.5 1.添加bond内核模块 modprobe bonding 2.添加四块网卡 3.编辑网卡进行配置 eth0: vim /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0ONBOOT=yesTYPE=EthernetBOOT ...
分类:
其他好文 时间:
2018-05-22 14:42:10
阅读次数:
234
腾讯云linux centos 7.4 服务器 搭建vsftpd 文件服务器 ...
分类:
系统相关 时间:
2018-05-19 00:46:25
阅读次数:
192
首先创建启动脚本 内容如下 设置开机启动 重启服务 查看状态 成功 ...
分类:
其他好文 时间:
2018-05-18 19:28:17
阅读次数:
162
systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动 systemctl start firewalld.service firewall-cmd --state ...
分类:
系统相关 时间:
2018-05-18 10:07:45
阅读次数:
305
基础问题回答 (1)什么是表单 我认为,form概念主要区分于table,table是用网页布局设计,是静态的,form是用于显示和收集信息传递到服务器和后台数据库中,是动态的; 以下是表单的百度百科: 表单在网页中主要负责数据采集功能。一个表单有三个基本组成部分: 表单标签:这里面包含了处理表单数 ...
分类:
Web程序 时间:
2018-05-15 00:24:20
阅读次数:
241
systemctl start 服务名称 :启动 systemctl restart服务名称 :重启 systemctl stop服务名称 :停止 systemctl status服务名称 :查看 systemctl enable服务名称 :开机启动 systemctl disable服务名称 :不 ...
分类:
系统相关 时间:
2018-05-12 02:51:19
阅读次数:
347
笔记:python的SQLAlchemy 一、python的SQLAIchemy 数据库表是一个二维表,包含多行多列。把一个表的内容用Python的数据结构表示出来的话,可以用一个list表示多行,list的每一个元素是tuple,表示一行记录,比如,包含id和name的user表: Python的 ...
分类:
其他好文 时间:
2018-05-11 17:19:37
阅读次数:
195