/etc/sysconfig/network-scripts/ifcfg-eth0IPADDR=x.x.x.xGATEWAY=y.y.y.yNETMASK=x.x.x.xyum 
-y install openssh-server openssh-clientschkconfig sshd onser...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 04:25:47   
                                阅读次数:
287
                             
                    
                        
                            
                            
                                原文QT 4.5.2 嵌入式开发平台的搭建系统环境:ubuntu 
9.04编译环境:crosstool 0.43 安装后生成4.1版本的arm-linux-GCC在配置之前,sudo apt-get install 
build-essential 来安装基本的开发环境Qtx11(源码安装) 安装准备...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 04:00:08   
                                阅读次数:
464
                             
                    
                        
                            
                            
                                1、Ubuntu12.04 安装nginx+php+mysql 
(lnmp)的web服务器环境http://blog.db89.org/ubuntu12-04-install-nginx-php-mysql-lnmp-of-the-web-server-environment/2、Ubuntu 
12...
                            
                            
                                分类:
数据库   时间:
2014-05-09 03:57:10   
                                阅读次数:
308
                             
                    
                        
                            
                            
                                Ubuntu14.04下:1. 安装cups 
和cups-pdf,其中cups-pdf是虚拟打印的主要模块: sudo apt-get install cups-pdf2. cups-pdf 的 
backend 要求 root 权限,所以设置一下权限: sudo chmod 4755 /usr/.....
                            
                            
                                分类:
其他好文   时间:
2014-05-09 03:50:52   
                                阅读次数:
271
                             
                    
                        
                            
                            
                                http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/#mongodb-as-a-windows-serviceC:\mongodb\bin\mongod.exe 
--dbpath d:\test\mongodb\dat...
                            
                            
                                分类:
数据库   时间:
2014-05-09 03:31:30   
                                阅读次数:
340
                             
                    
                        
                            
                            
                                强烈建议使用ubuntu系统,apt-get指令太好用了,安装各种依赖相当简单。
1.首先到bochs网站上下载一个linux版本bochs。在安装之前需要安装一些依赖:
sudo apt-get install build-essential
sudo apt-get install xorg-dev
sudo apt-get install libgtk2.0-dev
sudo ap...
                            
                            
                                分类:
系统相关   时间:
2014-05-09 02:09:44   
                                阅读次数:
387
                             
                    
                        
                            
                            
                                1.  首先安装nodejs  (http://nodejs.org/)
2.  然后在命令行输入 npm 回车
如果出现下图:
则表示安装成功
 
3. 安装
 
npm install -g cordova
4.  安装JDK 
 
这里最麻烦的就是环境变量的配置了
 
配置环境变量:右击“我的电脑”-->"高级"-->"环境变量"
1)在系统变量...
                            
                            
                                分类:
移动开发   时间:
2014-05-09 00:37:25   
                                阅读次数:
448
                             
                    
                        
                            
                            
                                apt-get install sambalibpam-smbpass然后编辑vi 
/etc/samba/smb.conf增加[djyk]guest 
ok=nobrowseable=nopath=/home/djykwritable=yesvalid users=djyk挂载samba是mount ...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 17:36:33   
                                阅读次数:
280
                             
                    
                        
                            
                            
                                划分树模板题,敲上模板就ok了。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define MP make_pair
#define LL long long
#define CLR(a, b) memset(a, b, sizeof(a))
using n...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 17:29:39   
                                阅读次数:
398
                             
                    
                        
                            
                            
                                Task的执行过程分析
Task的执行通过Worker启动时生成的Executor实例进行,
caseRegisteredExecutor(sparkProperties)=>
logInfo("Successfullyregistered with driver")
//Make this host instead of hostPort ?
executor=
newExecuto...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 16:01:31   
                                阅读次数:
667