上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 38 下一页
摘要: wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3a73c4188f8dbad6a1e6f6d44d117eeb tar -zxvf pip-8.0.2.ta 阅读全文
posted @ 2019-06-06 17:27 kissrule 阅读(249) 评论(0) 推荐(0) 编辑
摘要: man systemd.unit man systemd.service ###依赖关系和前后顺序* 依赖关系:Requires和Wants* 前后顺序:After,Before依赖关系,前后顺序是比较容易混淆的,当使用Requires和Wants的时候,* 如果不搭配After,Before使用, 阅读全文
posted @ 2019-06-06 15:44 kissrule 阅读(18312) 评论(0) 推荐(0) 编辑
摘要: linux设备驱动有两种加载方式insmod和modprobe,下面谈谈它们用法上的区别1、insmod一次只能加载特定的一个设备驱动,且需要驱动的具体地址。写法为: insmod drv.ko2. modprobe则可以一次将有依赖关系的驱动全部加载到内核。不加驱动的具体地址,但需要在安装文件系统 阅读全文
posted @ 2019-06-06 13:42 kissrule 阅读(1488) 评论(0) 推荐(0) 编辑
摘要: 要想在CentOS中自动加载内核模块,需要在/etc/sysconfig/modules/目录中增加一个脚本,在此脚本中加载所需的模块。 下面是我所用的一个名为8021q.modules的脚本,用来在我的CentOS 5.3中自动加载802.1Q模块: 上面的脚本首先检查8021q模块文件是否存在, 阅读全文
posted @ 2019-06-06 13:38 kissrule 阅读(1693) 评论(0) 推荐(0) 编辑
摘要: 在/etc/modules-load.d目录下面加入想要自动加载的模块,例如自动加载raw模块 创建raw.conf文件,在文件中写入raw。 重启系统就可以了。 手动加载模块方法: modprobe raw 使用raw -qa来确认是否加载成功。 阅读全文
posted @ 2019-06-06 13:33 kissrule 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1. 系统准备 # 关闭防火墙 systemctl stop firewalld systemctl disable firewalld # 关闭selinux setenforce 0 sed -i --follow-symlinks 's/SELINUX=enforcing/SELINUX=di 阅读全文
posted @ 2019-06-05 18:28 kissrule 阅读(1163) 评论(0) 推荐(0) 编辑
摘要: -bash-4.2$ .tox/tempest/bin/pip install pbr==5.2.1DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Pyt 阅读全文
posted @ 2019-06-05 17:13 kissrule 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 通过几次 pip 的使用,对于默认的 pip 源的速度实在无法忍受,于是便搜集了一些国内的pip源,如下:阿里云 http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(doub 阅读全文
posted @ 2019-06-05 17:11 kissrule 阅读(221) 评论(0) 推荐(0) 编辑
摘要: [root@openstack ~]# openstack keystone user-password-update --pass 312 admin/usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependen 阅读全文
posted @ 2019-06-03 17:00 kissrule 阅读(269) 评论(0) 推荐(0) 编辑
摘要: cp etc/{tempest.conf.sample,tempest.conf} 阅读全文
posted @ 2019-05-29 10:49 kissrule 阅读(108) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 38 下一页