1、查看当前Python版本python -V2、查看当前CentOS版本cat
/etc/redhat-release3、安装所有的开发工具包yum groupinstall "Development tools"4、安装其他必须包yum
install zlib-devel bzip2-deve...
分类:
编程语言 时间:
2014-04-30 00:59:31
阅读次数:
443
1. 安装openglessudo apt-get install
libgles-mesa-dev2. 安装glew
1.9下载codehttp://sourceforge.net/projects/glew/files/glew/makesudo make install3.
安装freetyp...
分类:
其他好文 时间:
2014-04-30 00:58:28
阅读次数:
506
ubuntu server版可直接一键安装lamp环境apt-get install
lamp-server^根据提示输入所需设置密码即可,其配置文件跟编译安装的apached等区别很大apache配置文件所在目录:/etc/apache2主要配置文件:apache2.conf、sites-avai...
分类:
其他好文 时间:
2014-04-30 00:26:41
阅读次数:
477
package com.szy.service;import
android.app.Service;import android.content.Intent;import
android.os.IBinder;import android.util.Log;public class Exampl...
分类:
其他好文 时间:
2014-04-30 00:10:08
阅读次数:
510
package com.szy.activity;import
android.app.Activity;import android.content.Intent;import
android.os.Bundle;import android.util.Log;import android.vie...
分类:
其他好文 时间:
2014-04-29 23:35:22
阅读次数:
590
public abstract
classAsyncTaskextendsObjectjava.lang.Object?android.os.AsyncTaskClass
OverviewAsyncTask enables proper and easy use of the UI thread. ...
分类:
移动开发 时间:
2014-04-29 21:05:32
阅读次数:
748
1、安装httpd软件包:Yum install
httpd2、启动apache服务:[root@redhat Desktop]# /etc/init.d/httpd startStarting httpd:
[ OK ]3、安装mod-ssl软件包[root@redhat Desktop]# yu...
分类:
其他好文 时间:
2014-04-29 20:50:11
阅读次数:
431
Ubuntu默认是安装好了tcpdump工具的,如果没有安装的话使用sudo apt-get
install tcpdump即可安装。 (如果遇到tcpdump: no suitable device
found的问题,检查一下是不是在用root权限运行tcpdump,tcpdump只能在root权...
分类:
其他好文 时间:
2014-04-29 20:18:22
阅读次数:
620
After having installed Ubuntu OS, you should
update config file for root account. The commands are listed as follow:vi
/etc/lightdm/lightdm.conf #open...
分类:
其他好文 时间:
2014-04-29 19:21:56
阅读次数:
555
本文记录Hadoop 2.x在Linux x64下重新编译的过程。环境:Centos 6.5
x64 &Hadoop 2.2一、安装编译包yum install svnyum install autoconfautomake libtool
cmakeyum install ncurses-deve...
分类:
其他好文 时间:
2014-04-29 19:19:52
阅读次数:
451