1、进入work目录下:cd /usr/local/work(如没有则自己新建,命令:mkdir /usr/local/work) 2、在woke目录下从网站下载apache并解压:wget http://dev.xiaonei.com/apache-mirror/httpd/httpd-2.0.6...
分类:
Web程序 时间:
2014-10-26 12:57:19
阅读次数:
162
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-10-26 11:37:08
阅读次数:
195
无聊安装了个mini版的32位的CentOS 6.5,进来想安装个东西,yum install emacs提示什么Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached ...
分类:
Web程序 时间:
2014-10-25 17:14:56
阅读次数:
178
如何使用Ubuntu NightUbuntu Night(http://ubuntu9.com) 的Top mirror功能根据当前的网络情况和源健康状况不断地进行更新当前可用的源的信息,包括了Top fast/near/stable mirror,可以找到当前网络上所有可用的Ubuntu 镜像(即...
分类:
系统相关 时间:
2014-10-25 11:43:49
阅读次数:
261
题目:求给定时钟的镜面时间。
分析:简单题。直接用12:00减去当前时间即可,如果小时小于等于0加上12。
说明:没有0:01,只有12:00。
#include
#include
#include
using namespace std;
int main()
{
int n,h,m,a,b;
while (~scanf("%d",&n))
for (int i = 0 ;...
分类:
其他好文 时间:
2014-10-21 12:25:27
阅读次数:
168
solr源码编译首先下载想编译的源码(http://archive.apache.org/dist/lucene/solr/)然后下载ant(http://mirror.bjtu.edu.cn/apache/ant/binaries/) ps:apache-ant-1.9.4-bin.zip再下载....
分类:
其他好文 时间:
2014-10-21 11:54:10
阅读次数:
284
zookeeper部署,这里单机zk为例。
wget http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.5/zookeeper-3.4.6.tar.gz
tar -zxvf zookeeper-3.4.6.tar.gz
cd zookeeper-3.4.6
mkdir data
cp conf/zoo_sample.cfg con...
分类:
Web程序 时间:
2014-10-17 15:28:37
阅读次数:
322
1002mkdirActiveMQ1003chmod777ActiveMQ1004cdActiveMQ/1009wgethttp://mirror.bit.edu.cn/apache/activemq/5.10.0/apache-activemq-5.10.0-bin.tar.gz1011tarxzvfapache-activemq-5.10.0-bin.tar.gz1013cdapache-activemq-5.10.01014cdbin1015chmod755activemq1016nohup./acti..
分类:
系统相关 时间:
2014-10-16 23:18:04
阅读次数:
223
1、 下载并 安装 tomcat
wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.0.14/bin/apache-tomcat-8.0.14.tar.gz
解压缩tomcat
#tar –zxvf apache-tomcat-8.0.14.tar.gz
2、 设置路经
使用命令编辑vi /etc/profile...
分类:
系统相关 时间:
2014-10-15 19:58:51
阅读次数:
190
测试脚本录制:方案一:我们先看看以下monkeyrecoder.py脚本:#Usage:monkeyrunnerrecorder.py#recorder.pyhttp://mirror.yongbok.net/linux/ ... ey_recorder.py;com.android.monkeyr...
分类:
移动开发 时间:
2014-10-14 22:01:39
阅读次数:
216