把启动命令放到/etc/rc.d/rc.local文件里这样就可以每次启动的时候自动启动服务了,例如对于apache,编译好apache后会在安装目录的bin下生成apachectl文件,这是个启动脚本,我们只需要把这个命令加到rc.local里就可以了(suse没有rc.local。SUSE是可以...
分类:
系统相关 时间:
2014-05-19 07:31:30
阅读次数:
379
//#define LOCAL#include#includeusing namespace
std;int const MAX_N=10005;int const MAX_M=100;int const INF=100000000;int
N,M,x[MAX_N],lb,ub;//判断是否满足条件...
分类:
其他好文 时间:
2014-05-18 19:38:50
阅读次数:
378
安装STS报错
1、具体报错如下
Failure to transfer org.codehaus.plexus:plexus-archiver:jar:1.2 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted...
分类:
其他好文 时间:
2014-05-18 07:41:32
阅读次数:
230
this bundle is invalid . new apps and app updates submitted to the app store must be built with public...
分类:
移动开发 时间:
2014-05-18 04:57:16
阅读次数:
341
本机 PHP 安装./configure --prefix=/usr/local/php5
--with-gd --enable-gd-native-ttf --enable-gd-jis-conv --with-mysql
--with-pdo-mysql --with-oci8=instant....
分类:
系统相关 时间:
2014-05-18 00:56:23
阅读次数:
487
WinPhone8.1视频教程地址,Building Apps for Windows Phone
8.1,来自channel9,需要的朋友拿去。
分类:
移动开发 时间:
2014-05-17 21:43:11
阅读次数:
476
既有环境:1)下载安装p4merge2)安装git下面是配置p4merge为git
mergetool的步骤1. /usr/local/bin下创建extMerge文件:$ cat >>
/usr/local/extMerge#!/bin/sh/Applications/IDE/p4merge.ap...
分类:
其他好文 时间:
2014-05-17 21:41:46
阅读次数:
354
file_open_mode上传档案的权限,与chmod
所使用的数值相同。如果希望上传的文件可以执行,设此值为0777。local_umask=022
这是指定本地用户上传后的文件权限设置umask是unix操作系统的概念,umask决定目录和文件被创建时得到的初始权限umask = 022 时,...
分类:
其他好文 时间:
2014-05-17 21:23:11
阅读次数:
407
NameNode有这么几个配置:PropertyDescriptionSuggested
valuedfs.name.dirDirectory in NameNode’s local filesystem to store HDFS’s
metadata/home/hadoop/dfs/namedf...
分类:
其他好文 时间:
2014-05-17 18:56:09
阅读次数:
367
1、安装gconf-editor yum list | grep conf-editoryum
install gconf-editor2、运行gconf-editor设置: apps ---> gedit-2 ---> preferences
----> encodingauto-detected...
分类:
其他好文 时间:
2014-05-17 18:18:56
阅读次数:
215