A man can fail many times, but he isn't a failure until he begins to blame somebody else.—— J. Burroughs一个人可以失败许多次,但是只要他没有开始责怪别人,他还不是一个失败者。——巴勒斯
分类:
其他好文 时间:
2014-07-16 23:20:38
阅读次数:
203
Linux安装Apache+MySQL+PHP
安装部分依赖
安装apr(可选)
# tar -xf apr-1.5.0.tar.bz2
# cd apr-1.5.0
#./configure --prefix=/usr/local/apr //指定其安装位置
# make && make install
安装apr-util
# tar -xf apr-util-1.5.3.ta...
分类:
系统相关 时间:
2014-06-28 07:35:28
阅读次数:
386
环境:lamp下搭建一个博客然后实现同步这里:以wordpress为例,进行实施具体操作如下:一、环境配置1.自动获取ip地址,虚拟机设置为桥接2.[root@gjpslave~]#yuminstallwget#换成163的yum源:cd/etc/yum.repos.dmvCentOS-Base.repoCentOS-Base.repo.savewgetmirrors.163.com/.he..
分类:
数据库 时间:
2014-06-28 06:07:06
阅读次数:
698
一、编译安装apache1、安装环境:yuminstallgccgcc-c++openssl-devellibtool-y2、安装apr、apr-util及pcretarjxfapr-1.5.1.tar.bz2cdapr-1.5.1./configure--prefix=/usr/local/aprmake&&makeinstalltarjxfapr-util-1.5.3.tar.bz2cdapr-util-1.5.3./configure--prefix=/..
分类:
数据库 时间:
2014-06-28 00:58:44
阅读次数:
697
yum-yinstallgccgcc-c++ncurses-devel
tarxvfcmake-2.8.4.gz
cdmake-2.8.8
./bootstrap
gmake&&gmakeinstall
cd..
tarzxvfmysql-5.5.25.tar.gz
cdmysql-5.5.25
mkdir-p/usr/local/mysql/data
cmake-DCMAKE_INSTALL_PREFIX=/usr/local/mysql-DMYSQL_UNIX_ADDR=/tmp/my..
分类:
数据库 时间:
2014-06-28 00:06:19
阅读次数:
354
构造字符串字面量方法一:最简单的使用单引号或者双引号括起来的字符串,比如"hello"。方法二:使用%q配合分界符,%q代表单引号str=%q!he/lo!方法三:使用%Q配合分界符,%Q代表双引号str=%Q{he/lo}方法四:here document构建字符串,该方法比较适合用于多行字符串的...
分类:
其他好文 时间:
2014-06-27 15:17:01
阅读次数:
247
转载请注明出处:http://www.openext.org/2014/06/lxc-erro1#tar zxvf lxc-xxx.tar#./autogen#./configure –prefix=/usr/local/lxc#make#make install#lxc-lsthe error:#echo “/usr/local/lxc/lib” >> /etc/ld.so.conf#ldcon...
分类:
其他好文 时间:
2014-06-27 08:36:38
阅读次数:
156
题目链接:点击打开链接
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define N 5001000
#define mod 1000000007
#define he...
分类:
其他好文 时间:
2014-06-27 07:35:50
阅读次数:
178
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5771NameSizeDateMacintoshAdobe Acrobat 10.1.10 Pro and Standard update - Greek, Arabic, and He...
/*
ID:kevin_s1
PROG:prefix
LANG:C++
*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define sigma_size 26
#defi...
分类:
其他好文 时间:
2014-06-26 11:49:23
阅读次数:
297