有时候发现mysql数据库所在的磁盘空间不足了怎么办呢?我们可以改变数据库所在的磁盘位置来满足使用的要求。
1.首先第一步当然是down掉MySQL了:
# /etc/init.d/mysql stop
2.接着创建新的数据库路径(这里/diskc是我电脑上的一个路径,请根据...
xiaohe
8年前 (2018-08-02) 7614℃ 0评论
3喜欢
服务端环境为:ubuntu16.04 和 python3
客户端环境为:ubuntu16.04 ubuntu14.04 windows7 和 python3.6 python3.4
服务端安装:
#安装配置redis scrapy-redis
pip3 install redi...
xiaohe
8年前 (2018-07-26) 7706℃ 0评论
1喜欢
显示 sudo:无法解析主机,运行如下命令:
hostname -f
hostname: Name or service not known
可能是因为:
替换了本机的hosts文件(之前用了google hosts)
vim /etc/hosts
加入
127.0.1.1 xx...
xiaohe
8年前 (2018-07-13) 5393℃ 0评论
0喜欢
之前用svn安装kaldi总是不成功,后来看到github上的版本安装就成功了。下面记录一下过程:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install...
xiaohe
8年前 (2018-07-12) 8567℃ 0评论
6喜欢
plt.plot(x, y, linewidth = '1', label = "test", color=' coral ', linestyle=':', marker='|')
linestyle可选参数:
'-' solid line style
'--' dashed...
xiaohe
8年前 (2018-05-16) 7161℃ 0评论
2喜欢
sudo apt-get install libhdf5-serial-dev netcdf-bin libnetcdf-dev
...
xiaohe
8年前 (2018-04-04) 7141℃ 0评论
0喜欢
sudo apt-get install libblitz0-dev
sudo pip install bob
...
xiaohe
8年前 (2018-04-04) 12110℃ 1评论
0喜欢
在python中实现matlab的mapminmax方法:
import numpy as np
class MapMinMaxApplier(object):
def __init__(self, slope, intercept):
self.s...
xiaohe
8年前 (2018-01-15) 18663℃ 0评论
10喜欢
Nginx Google 扩展
依赖库
pcre 正则
ngx_http_proxy_module 反向代理
ngx_http_substitutions_filter_module 多重替换
安装
以 ubuntu 14.04 为例 i386, x86_64 均适用
最简安...
xiaohe
8年前 (2017-12-14) 8656℃ 0评论
0喜欢
支付宝扫一扫领红包
...
xiaohe
8年前 (2017-12-07) 4758℃ 0评论
0喜欢