摘要: 默认情况下,Docker守护进程会生成一个socket(/var/run/docker.sock)文件来进行本地进程通信,而不会监听任何端口,因此只能在本地使用docker客户端或者使用Docker API进行操作。 如果想在其他主机上操作Docker主机,就需要让Docker守护进程监听一个端口, 阅读全文
posted @ 2018-03-29 18:12 对白的算法屋 阅读(1029) 评论(0) 推荐(0)
摘要: 今天启动hbase shell,输入hbase命令时报错: ERROR [regionserver/regionserver1/172.18.0.61:16020] reggionserver.HRegionServer: Shutdown / close of WAL failed: org.ap 阅读全文
posted @ 2018-03-29 10:03 对白的算法屋 阅读(449) 评论(0) 推荐(0)
摘要: 今天关闭HBase时,输入stop-hbase.sh一直处于等待状态 解决方法: 先输入:hbase-daemon.sh stop master 再输入:stop-hbase.sh就可以关闭HBase集群了。 阅读全文
posted @ 2018-03-29 05:12 对白的算法屋 阅读(3859) 评论(0) 推荐(0)
摘要: 今天进入hbase shell中输入命令报错:ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet 原因是由于hadoop的安全模式打开了,解决方法: hdfs dfsad 阅读全文
posted @ 2018-03-29 05:08 对白的算法屋 阅读(3434) 评论(0) 推荐(0)
摘要: 解决方法:import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'输入1:显示所有信息 2:只显示warning和error 3:只显示error 阅读全文
posted @ 2018-03-29 04:30 对白的算法屋 阅读(3994) 评论(0) 推荐(0)
摘要: 1、设置jupyter notebook的密码: Jupyter-notebook password 2、查看jupyter notebook的token: Jupyter notebook list 阅读全文
posted @ 2018-03-29 04:28 对白的算法屋 阅读(1326) 评论(0) 推荐(0)
摘要: 执行命令:pip install --upgrade tensorflow 即可。 阅读全文
posted @ 2018-03-29 04:23 对白的算法屋 阅读(1300) 评论(0) 推荐(0)
摘要: 执行命令:pip install opencv-python即可 阅读全文
posted @ 2018-03-29 04:22 对白的算法屋 阅读(262) 评论(0) 推荐(0)
摘要: update-alternatives --install /usr/bin/python python /usr/bin/python2 100 update-alternatives --install /usr/bin/python python /usr/bin/python3 150 如果 阅读全文
posted @ 2018-03-29 04:20 对白的算法屋 阅读(1173) 评论(0) 推荐(0)
摘要: 1、使用pip安装Jupyter notebook: pip install jupyter notebook 2、创建Jupyter默认配置文件: jupyter notebook --generate-config 3、输入ipython,进入对话框: ipython 4、导入密码模块,设置密码 阅读全文
posted @ 2018-03-29 04:07 对白的算法屋 阅读(919) 评论(0) 推荐(0)
摘要: 自己计算机里面共存了Python2和Python3,ipython作为试探性的REPL解释器使用的频率还是挺高的,分别在2和3下安装完ipython notebook后怎么分别使用这两种内核呢 按照默认的 jupyter notebook命令,只能运行一种内核,如Python2,想运行Python3 阅读全文
posted @ 2018-03-29 00:01 对白的算法屋 阅读(1158) 评论(0) 推荐(0)