会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
茗迹周
博客园
首页
新随笔
联系
订阅
管理
2015年11月11日
TensorFlow的安装与CNN测试
摘要: 0.说明在Google开源该框架之后便使用真实K40m卡测试,由于生产环境是CentOS6.6的操作系统,但是该框架需要在Python2.7环境下执行,CentOS6.6下折腾了一天没搞定,后来换成CentOS7,顺利跑通1.系统环境python >=2.7numpy >=1.9gcc >=4.8....
阅读全文
posted @ 2015-11-11 22:19 茗迹周
阅读(9441)
评论(0)
推荐(0)
2015年8月11日
salt-stack "No Top file or external nodes data matches found"解决
摘要: salt-stack在配置分组时提示如下信息:No Top file or external nodes data matches found后来在官网上找到如下提示,意思是需要重启master服务NoteWhen adding or modifying nodegroups to a master...
阅读全文
posted @ 2015-08-11 18:33 茗迹周
阅读(1523)
评论(0)
推荐(0)
2014年8月7日
服务器信息获取命令
摘要: Windows1.获取序列号wmic bios get SerialNumber /valueLinux1.2.获取内存数dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|awk '{print $2$3}'|sort | uniq -c| awk ...
阅读全文
posted @ 2014-08-07 13:23 茗迹周
阅读(317)
评论(0)
推荐(0)
2014年7月9日
jquery跨域请求json数据
摘要: //服务端生成json数据json.php//客户端Ajax请求数据
阅读全文
posted @ 2014-07-09 11:44 茗迹周
阅读(388)
评论(0)
推荐(0)
2014年6月11日
CentOS 6.4安装Ganglia
摘要: samba 1.这里安装的是3.1.7版本,web前端是最新版本,安装前期环境(yum源用的是本地的)yum -y insatll php php-gd rrdtools apr-devel apr-util 2.下载科大的rpm包,安装ganglia,这里用的是rpm包安装,及时不联网的机器也...
阅读全文
posted @ 2014-06-11 20:56 茗迹周
阅读(717)
评论(0)
推荐(0)
2014年4月4日
ubuntu双网卡绑定配置
摘要: 1,安装bonding需要的软件sudo apt-get install ifenslave2,在/etc/modules中加入:bonding mode=1 miimon=1003,在/etc/network/interfaces中加入:auto bond0iface bond0 inet staticaddress 10.128.1.12netmask 255.255.255.0gateway 10.128.1.200post-up ifenslave bond0 eth0 eth1pre-down ifenslave -d bond0 eth0 eth1#静态路由设定up route a
阅读全文
posted @ 2014-04-04 16:10 茗迹周
阅读(2690)
评论(0)
推荐(0)
2014年3月13日
ubuntu12.04通过Ganglia利用NVML模块进行GPU监控
摘要: 1.安装Ganglia,这里安装的是3.1*版本,因为监控GPU的模块只支持3.1*版本系列的apt-get install ganglia*2.下载并安装PyNVML和NVML模块,下载地址https://github.com/ganglia/gmond_python_modules/tree/master/gpu安装PyNVML,安装文档上要求python为2.5或更早版本,其实系统自带python版本2.7.3是可以通过编译的,这里就不需要更换python环境了cd ~/nvidia/nvidia-ml-py-*python setup.py install 安装NVML2.1复制pyt
阅读全文
posted @ 2014-03-13 08:51 茗迹周
阅读(2303)
评论(0)
推荐(0)
2014年3月6日
Thinkphp中使用PHPmailer发送邮件
摘要: 在ThinkPHP\Extend\Vendor\目录下放入PHPMailer文件夹,里面包含以下文件重置密码发送邮件public function recover(){ if($this->isPost()){ $mail=trim($_POST['mail']); $pattern='1234567890abcdefghijklmnopqrstuvwxyz'; for($i=0;$i where(array(mail=>$mail))->setField('code',md5...
阅读全文
posted @ 2014-03-06 09:03 茗迹周
阅读(551)
评论(0)
推荐(0)
2014年2月13日
ubuntu12.04安装NVIDIA显卡驱动和CUDA
摘要: 1.安装显卡驱动vim /etc/modprobe.d/blacklist.conf #编辑该文件blacklist nouveau #行末添加,禁用原来的显卡驱动apt-get install gccapt-get binutilsreboot #重启后执行下列脚本sh NVIDIA-Linux-x86_64-***.run2.安装CUDAexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-5.0/lib64 #配置环境变量source /etc/profileapt-get install freeglut3 freegl...
阅读全文
posted @ 2014-02-13 13:27 茗迹周
阅读(468)
评论(0)
推荐(0)
2014年2月9日
xenserver PXE安装系统错误的解决
摘要: 刚开始在xenserver里找pxe启动安装系统找了半天,最后在NEW VM里的template里选择other install media 里找到pxe启动,启动之后加载映像,安装到一半又停止了,每次都停在mounting /tmp as tmpfs... done这个位置就不动了。google了半天,最终在http://serverfault.com/questions/535492/rhel-clones-centos-scientific-cern-network-installation-on-xenserver-6-2里找到答案。里面讲的解决方案如下:首先通过xe vm-list获
阅读全文
posted @ 2014-02-09 20:07 茗迹周
阅读(591)
评论(0)
推荐(0)
下一页
公告