Easter79 Easter79
3年前
tensorflow与numpy的版本兼容性问题
在Python交互式窗口导入tensorflow出现了下面的错误:root@ubuntu:~python3Python3.6.8(default,Oct72019,12:59:55)GCC8.3.0onlinuxType"help","copyright","credits"o
Wesley13 Wesley13
3年前
mysql的一些操作命令
1、查看mysql数据库SHOWDATABASES;(;号一定要加)2、创建root用户密码mysqladminurootpassword"new\_password"3、检查mysql服务器是否启动psef|grepmysqld4、添加用户方法:GR
Wesley13 Wesley13
3年前
10月10日任务
7.6yum更换国内源  安装扩展源epelyuminstallyepelrelease yumlist|grepepel基础源(BASE)第一步下载源\root@test(https://my.oschina.net/azibug)yum.repos.d\yuminstal
Stella981 Stella981
3年前
Linux fdisk命令创建逻辑分区
\root@localhost~\fdisk/dev/sdb…省略部分输出…Command(mforhelp):n建立新分区Commandactionllogical(5orover)由于在前面章节中,扩展分区已经建立,所以这里变成了l(logic)pprimary
Wesley13 Wesley13
3年前
Ubuntu12.04编译wxwidgets
下载wxWidgets2.8.12.tar.gz1、终端需要root权限2、设置参数./configurewithx11(或者gtk)enableunicode(缺省不支持unicode)disableshared需要unicode编码要先安装pango库aptgetinstalllibpango1.
Stella981 Stella981
3年前
Nginx内置常用变量
Nginx内置常用变量(http://my.oschina.net/mickelfeng/admin)$args,请求中的参数;$content\_length,HTTP请求信息里的”ContentLength”;$content\_type,请求信息里的”ContentType”;$document\_root,针对当前请求
Wesley13 Wesley13
3年前
Centos安装中文输入法
首先,请确保你是在root权限下执行下面所有操作(su)然后:yuminstall"@Chinese(http://my.oschina.net/u/271773)Support"之后,回到桌面,点滴pannel中的systempreferencesinputmethod选择ibus,选项prefe
Wesley13 Wesley13
3年前
2、二进制部署kubernetes集群(下篇)
1.k8S核心资源管理方法1.1.陈述式资源管理方法1.1.1.管理名称空间资源1.1.1.1.查看名称空间root@hdss721~kubectlgetnamespaceNAMESTATUSAGE
Wesley13 Wesley13
3年前
mysql 数据备份和还原
1.使用mysqldump命令备份使用root用户备份test数据库下的person表mysqldumpurootptestpersonD:\backup.sql1.备份多个数据库语法:mysqldumpuusernamepdatabasesdbname2dbname2
Stella981 Stella981
3年前
Kafka多线程消费消息创建线程池并封装成Jar包
XML及属性配置1.业务处理(kiafka.worker.xml)<?xmlversion"1.0"encoding"UTF8"?<root<topics<!name:要消费的topic;<!worker:执行消费逻辑的worker,配置值为执行的类