Loading [MathJax]/jax/element/mml/optable/BasicLatin.js

03 2014 档案

摘要:http://www.cnblogs.com/hongchenok/archive/2012/08/21/2648549.htmlMySQL 的“root”用户默认状态是没有密码的,所以在 PHP 中您可以使用 mysql_connect("localhost","root","") 来连接 MySQL 服务器;如果您想为 MySQL 中的“root”用户设置密码,请在控制台中使用“mysqladmin”命令。例如:在windows版本的xampp下:\...\xampp\mysql\bin\mysqladmin -u root -p 阅读全文
posted @ 2014-03-27 16:52 小菜鸟_yang 阅读(200) 评论(0) 推荐(0) 编辑
摘要:root@leeyoung-Satellite-M300:/etc/apache2/sites-available# nano 000-default.conf DirectoryIndex index.html index.php index.htm Alias /test "/home/leeyoung/workspace/test" Options Indexes FollowSymLinks AllowOverride None Require all granted 加入到文件末尾ro... 阅读全文
posted @ 2014-03-25 15:04 小菜鸟_yang 阅读(233) 评论(0) 推荐(0) 编辑
摘要:表单实验室自动签到测试输入学号和登录密码(建议自己改过密码后再来录入您的数据)学号: 登录密码: 数据库mydb.php执行签到签离 loginandout.php<?php //签到签离的主要函数qingdao=10functionlablogin(user, password,qingdao=1){ if ( empty( user)||empty(password ) ) { return 0; } // 登录 $ch = curl_init(); define( "COOKI... 阅读全文
posted @ 2014-03-21 17:01 小菜鸟_yang 阅读(303) 评论(0) 推荐(0) 编辑
摘要:原文:http://www.cnblogs.com/niocai/archive/2011/11/02/2233332.html我的CentOS版本是6.0,下述方法在i386和x86_64中均适用,因为我32位和64位的CentOS都装了~1.CentOS 安装tigervncserverSystem -> Administration -> Add/Remove Software搜索vnc,将tigervnc-server,libvncserver,tigervnc安装了2.配置vncservers,假设你有两个用户想要远程登录,用户名分别是user1,user2#gedit 阅读全文
posted @ 2014-03-21 09:24 小菜鸟_yang 阅读(180) 评论(0) 推荐(0) 编辑
摘要:配置环境变量 在终端下: sudo gedit /etc/profile 这里当然有些熟悉ubuntu的朋友也可以用 vim, 刚从windows转过来的朋友还是用gedit看着舒服写。 输入命令以后会打开一个文本,在里面写下如下变量。 我是在最后一行写的。 #set java environmentexport JAVA_HOME=/opt/jdk7export JDK_HOME=/opt/jdk7export JRE_HOME=JAVAHOME/jreexportCLASSPATH=.:CLASSPATH:JAVAHOME/lib:JAVA_HOME/jre/libex... 阅读全文
posted @ 2014-03-18 10:02 小菜鸟_yang 阅读(147) 评论(0) 推荐(0) 编辑
摘要:sudo app-get install ntfs-3g读写ntfs格式的磁盘mount -t ntfs /dev/sda4 /mnt/usb -o nls=utf8,umask=0fdisk -lmkfs -t ntfs /dev/sda4安装transmission-daemonsudo apt-get install transmission-daemon默认情况下,无法使用其他电脑访问transmission的web下载界面。为了便于远程下载文件,修改一下配置关闭服务sudo service transmission-daemon stop修改配置文件/etc/transmission 阅读全文
posted @ 2014-03-16 12:09 小菜鸟_yang 阅读(252) 评论(0) 推荐(0) 编辑
摘要:参考:http://blog.sina.com.cn/s/blog_74112f030101cmxt.htmlroot@debian-yuliyang:/opt/matlab/sys/os/glnx86# ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6 libstdc++.so.6yuliyang@debian-yuliyang:/opt/matlab/sys/os/glnx86$ strings libstdc++.so.6|grep "GLIBC"GLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIB 阅读全文
posted @ 2014-03-13 17:36 小菜鸟_yang 阅读(336) 评论(0) 推荐(0) 编辑
摘要:参考:http://www.eeboard.com/bbs/forum.php?mod=viewthread&tid=27383http://www.eeboard.com/bbs/thread-27382-1-1.html1,安装nginxweb服务器 (约6MB)sudo apt-get install nginx2,启动nginxsudo /etc/init.d/nginx startnginx的www根目录默认在 /usr/share/nginx/www中3,安装php和sqlite(约3MB)sudo apt-get install php5-fpm php5-sqlite4 阅读全文
posted @ 2014-03-11 21:28 小菜鸟_yang 阅读(482) 评论(0) 推荐(0) 编辑
摘要:树莓PI远程控制摄像头请参考前文:http://www.cnblogs.com/yuliyang/p/3561209.html参考:http://answers.opencv.org/question/133/how-do-i-access-an-ip-camera/http://blog.youtueye.com/work/opencv-hog-peopledetector-trainning.html项目环境:opencv2.8 ,debian, QT代码:运行:yuliyang@debian-yuliyang:~/build-peopledetect-桌面-Debug$ ./people 阅读全文
posted @ 2014-03-11 15:11 小菜鸟_yang 阅读(773) 评论(0) 推荐(0) 编辑
摘要:参考:http://blog.sciencenet.cn/blog-296919-464464.html去AMD官网下载对应的驱动:amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.runchmod +x *./run./*.run打开root终端:输入amdcccle 阅读全文
posted @ 2014-03-11 09:53 小菜鸟_yang 阅读(1675) 评论(0) 推荐(0) 编辑
摘要:In this post I will describe the process of installing OpenCV (both versions 2.4.2 and 2.4.3) on Debian Linux (especiallyDebian-6). After installing, we will do some tests to verify the installation and also see some examples. As I was trying to install OpenCV on Debian I found that although there i 阅读全文
posted @ 2014-03-09 18:50 小菜鸟_yang 阅读(819) 评论(0) 推荐(0) 编辑
摘要:This guide is based on a minimal CentOS installation and will install FFmpeg with several external encoding libraries. This guide is kept relatively up to date with FFmpeg development and library sources (see the pagehistoryfor changelog), and should also work for recent Red Hat Enterprise Linux (RH 阅读全文
posted @ 2014-03-09 18:44 小菜鸟_yang 阅读(378) 评论(0) 推荐(0) 编辑
摘要:转载自http://wenzhang.baidu.com/article/view?key=076f36658dd0828c-1393896446This article explains how to install CentOS 6.4 and CUDA5 on a PC, which is equipped with Tesla K20.↑The specification of hardware is shown belowCPU: Core i7 3770(3.4GHz,4core/8thread)Memory: 32GB(DDR3-12800 8GBx4)HDD: 1TB(SATA 阅读全文
posted @ 2014-03-05 21:34 小菜鸟_yang 阅读(520) 评论(0) 推荐(0) 编辑
摘要:关掉防火墙 service iptables stopchkconfig iptables off(永久关闭防火墙) 关闭SELinux vi /etc/sysconfig/selinux把 SELINUX=enforcing 修改为SELINUX= disabled 退出保存,并且重启 [root@bogon lee]# yum install samba smbfs smbclient 二 创建目录 [lee@bogon ~] mkdir share [lee@bogon ~] chmod 777 /home/lee/share/ 三 修改samba配置文件 [root@... 阅读全文
posted @ 2014-03-05 21:32 小菜鸟_yang 阅读(175) 评论(0) 推荐(0) 编辑
摘要:首先要下载安装光盘.Matlab801_MacUnix.iso[root@db-172-16-3-150 mnt]# md5sum /ssd1/Matlab801_MacUnix.iso0d31a7ff79eaf48c0905f9845fa3e825 /ssd1/Matlab801_MacUnix.isomount -o loop,ro Matlab801_MacUnix.iso /mnt光盘内容 :[root@db-172-16-3-150 ~]# cd /mnt[root@db-172-16-3-150 mnt]# lltotal 4486-r--r--r--. 1 root root . 阅读全文
posted @ 2014-03-05 21:30 小菜鸟_yang 阅读(1122) 评论(0) 推荐(0) 编辑
摘要:vi /etc/selinux/configSELINUX=disabledrebootStep 1:#rpm -Uvhhttp://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm#rpm -Uvhhttp://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm#yum -y update#yum repolistStep 2:#yum install -y xrdp tiger-vncserver autoco 阅读全文
posted @ 2014-03-05 21:27 小菜鸟_yang 阅读(261) 评论(0) 推荐(0) 编辑
摘要:下载 vlfeat-0.9.18 http://www.vlfeat.orgcd D:\program\vlfeat-0.9.18\toolbox编译 : 运行 vl_compile.m编译后在中可以找到编译后的未编译前按照官网是运行不了的。misc/vl_hog.m里的都是注释。是从c文件用vs2008编译器编译成mexw32文件的!Example computing and visualizing HOG featureshog = vl_hog(im2single(im)) ; % compute HOG featuresimg = imread('cameraman.tif&# 阅读全文
posted @ 2014-03-05 20:55 小菜鸟_yang 阅读(1360) 评论(0) 推荐(0) 编辑
摘要:http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil 阅读全文
posted @ 2014-03-01 13:03 小菜鸟_yang 阅读(233) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示