一,到http://download.csdn.net/detail/ts173383201/4505201去下载源代码,然后解压;
二,cd到你解压后的文件夹下,就是有configure的那个目录下,执行命令./configure;
三,执行cd lib跳到lib目录下,执行make命令,会在上层目录(就是刚才有configure那个目录)生成libunp.a文件
四,复制这个静态库lib...
分类:
其他好文 时间:
2015-07-12 11:20:29
阅读次数:
170
step01:write a ( views.py ) filevim views.pyInsert the below code :step02:configure your ( urls.py )vim urls.pystep03:check your website ..
分类:
数据库 时间:
2015-07-12 10:58:35
阅读次数:
155
step01:write second view-functionvim views.pystep02:configure your ( urls.py )vim urls.pystep03:check your website ...
分类:
数据库 时间:
2015-07-12 10:56:59
阅读次数:
111
本篇博客是之前博客hibernate关联对象的增删改查------查 的后继,本篇代码的设定都在前文已经写好,因此读这篇之前,请先移步上一篇博客
//代码片5
SessionFactory sessionFactory = new AnnotationConfiguration().configure().buildSessionFactory...
分类:
Web程序 时间:
2015-07-12 00:19:22
阅读次数:
156
sudo apt-get install -fsudo dpkg --configure -asudo apt-get cleansudo apt-get updatesudo apt-get upgradeEnvironment: Ubuntu 12.04 LTS 64bitProblem: Un...
分类:
其他好文 时间:
2015-07-11 10:26:19
阅读次数:
404
一,实例:新建了一个Maven项目,在eclipse中通过 build path –> configure path….将依赖包添加到工程中后,eclipse不报错了。但是用Maven命令 mvn clean compile 时出错如下: 原因是在eclipse中添加了 exteneral jar后...
分类:
编程语言 时间:
2015-07-10 18:58:01
阅读次数:
210
其实,百度了好多资料,但都是垃圾,呵呵,我就不说话了。
为什么要手动用源码安装,而不是用sudo apt-get呢?没办法咯,官方的版本最新只有3.4的,我要3.4.3的。
呐怎么办呢?
好吧,其实我自己也没办法,只能借助文档里面的README,其实只需要看它就好了,很轻楚的4行代码,搞定!!!!./configure
make
make test
sudo make install
然后就是...
分类:
编程语言 时间:
2015-07-10 13:36:23
阅读次数:
177
真正企业中的网站,为保证数据的安全,数据库是与网站主机分离的,今天用这个实验研究下这个效果是如何实现的。先上拓扑图:配置过程:一.WEB端:安装Apache:tar-vxfhttpd-2.2.27.tar.gz
cdhttpd-2.2.27
./configure--prefix=/usr/local/apache2
make&&makeinstall2...
分类:
数据库 时间:
2015-07-10 00:35:45
阅读次数:
313
安装Apacheyuminstallgccgcc-c++yuminstalllrzsztar-zxvfapr-1.5.0.tar.gztar-zxvflibtool-2.2.4.tar.gztar-zxvfapr-util-1.5.3.tar.gzcdapr-1.5.0./configure--prefix=/usr/local/aprmakemakeinstallcdlibtool-2.2.4./configure--prefix=/usr/local/libtoolmakemakeinstallcda..
分类:
数据库 时间:
2015-07-09 22:54:43
阅读次数:
235
(1)Apache编译安装#cd/usr/local/src ##进入目录#wgethttp://mirrors.cnnic.cn/apache/httpd/httpd-2.2.29.tar.bz2 ##下载源码包#tarjxvfhttpd-2.2.29.tar.bz2 ##解压#cdhttpd-2.2.29 ##进入源码包目录#./configure\ --prefix=/usr/local/apache2\ ##指..
分类:
Web程序 时间:
2015-07-09 14:55:11
阅读次数:
127