今天用centos6.5安装PHP,遇到了一些问题;之前在另外一个版本安装都很顺利,我怀疑系统版本有问题;[root@wiki2014php-5.2.13]#./configure--prefix=/usr/local/php5--with-apxs2=/usr/local/apache2/bin/apxs--with-mysql=/usr/local/mysql/--with-mysqli=/usr/local/mysql/b..
分类:
Web程序 时间:
2014-12-14 07:20:03
阅读次数:
210
pythoncentos自带的版本是2.6.6,有些库不支持,决定编译安装python2.7编译后,发现退格键不能用,查了半天发现是readline库没有安装,需要手动编译yum-yinstallreadlinereadline-devel*重新编译python./configure--prefix=/opt/python/--with-readlinemake&&makeinsta..
分类:
编程语言 时间:
2014-12-14 07:19:38
阅读次数:
563
1.先把tgz的包在本地解压,把里面的tar包传到 centos的/root目录,使用tar -xvf 解压tar包,解压出了xdebug-2.2.4、package.xml,2。进入xdebug,执行phpize3.不报错的话 执行./configure --enable-xdebug4、make...
分类:
数据库 时间:
2014-12-14 00:42:58
阅读次数:
285
今天周五,想起系统安装到现在,已经快六个月了,趁还有点时间,再赶上周末,对系统环境做些改变和升级吧。这样既不影响下周的工作,万一在改变中折腾出些问题,也可以在周末去弹腾和解决吧。 下载python2.7.9 最新版本,解压,按照传统几条命令胡乱敲下去: sudo ./configure ...
分类:
编程语言 时间:
2014-12-13 23:14:56
阅读次数:
456
1. 新导入项目集中报错的原因总结: 1). 编码方式: 右键—properties—Resource进行修改。 2). jre和tomcat版本: 右键project->Build Path->Configure Build Path->选择Libraries tab页->删除带小红叉的Libra...
分类:
其他好文 时间:
2014-12-13 10:47:07
阅读次数:
142
看图片不太灵光,经常需要单独打开图片文件,还是决定改进一下。用imagemagick吧。首先下载最新源代码,解压后,编译安装。之后编译emacs 24源代码,./configure执行后注意观察是否使用了imagemagick,yes就没有问题。然后.emacs.d/init.el文件中添加:;; use imagemagick, if available
(when (fboundp 'imag...
分类:
其他好文 时间:
2014-12-12 19:04:40
阅读次数:
378
执行命令:sudoapt-getinstall**,安装软件时出现错误如下:dpkg被中断,您必须手工运行dpkg--configure-a解决此问题。解决方法:#sudorm/var/lib/dpkg/updates/*#sudoapt-getupdate#sudoapt-getupgrade
分类:
系统相关 时间:
2014-12-12 17:03:52
阅读次数:
166
基本需求:实现ftp账号到期自动关闭、延期、限额、限速操作,系统搭建系统:centos6.4软件:pureftpd+mysql软件版本:pure-ftpd-1.0.36安装:#yum-yinstallhttpdmysql-develmysql-servergcc#tarxvfpure-ftpd-1.0.36.tar.gz#cdpure-ftpd-1.0.36#./configure--prefix=/usr/local/p..
分类:
其他好文 时间:
2014-12-12 16:52:49
阅读次数:
427
1. Configure network with a static ip address$sudo nano /etc/network/interfacesauto eth0iface eth0 inet staticaddress 192.168.0.35gateway 192.168.0.1n...
分类:
系统相关 时间:
2014-12-12 14:35:54
阅读次数:
316