1. 安装 1.1 准备安装环境 首先选择一台比较好的服务器做master,如果可以在选择一台做为master的备份服务器最好。然后其他的服务器当chunkserver。 为了方便说明问题,我这里选择为: Master 服务器 1台 192.168.2.98 Chunkserver 服务器 2台 1 Read More
posted @ 2016-07-25 05:57
findumars
Views(1635)
Comments(0)
Diggs(0)
安装 fastDFS 很简单。 先安装 libevent, 安装成功后,安装fastDFS。 ./make.sh ./make.sh install 我使用一台tracker服务器 192.168.2.85, 两台storage服务器 192.168.2.98 192.168.2.222 启动tra Read More
posted @ 2016-07-25 05:57
findumars
Views(279)
Comments(0)
Diggs(0)
最近碰到一个奇怪的问题, PHP使用 curl_exec 访问 HTTPS 网页时, 返回502错误, 访问HTTP网页时没有问题, 用 echo phpinfo() ; 查看, 支持openssl, 支持curl, 网上找了好多资料, 都没解决。 [plain] view plain copy [ Read More
posted @ 2016-07-25 05:44
findumars
Views(779)
Comments(0)
Diggs(0)
QStyle * QWidget::style() const See also QWidget::setStyle(), QApplication::setStyle(), and QApplication::style(). 它可以绘制很多东西,比如设置背景色: http://doc.qt.io Read More
posted @ 2016-07-25 02:33
findumars
Views(822)
Comments(0)
Diggs(0)
虽然只有一句话,但却是我自己的心得。 特别注意,bool QCoreApplication::notify(QObject *receiver, QEvent *event) 明确指明了要发送的对象,以及要发送的事件,信息都这么清楚了,那覆盖后还不是为所欲为~而且我估计notify在过滤器之前执行。 Read More
posted @ 2016-07-25 02:01
findumars
Views(355)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号