204年9月 startos 环境配置记述

终于下定决心来完全把自己与linux完全绑定起来了,。。。。

写道
安装apr和apr-util的时候分别指定了安装路径,这样做是错误的,apr-util本身就是apr的一个插件,需要与apr安装到一起

重新安装之后:
apr-1.3.8]#./configure --prefix=/home/kenxu/softken/apr-1.5.15
apr-1.3.8]#make && make install

apr-util-1.3.9]# ./configure --prefix=/home/kenxu/softken/apr-1.5.15 --with-apr=/home/kenxu/softken/apr-1.5.15/bin/apr-1-config
apr-util-1.3.9]# make && make install

./configure --prefix=/home/kenxu/softken/apache2 --disable-status --disable-userdir --disable-threads --disable-ipv6 --enable-modules='ssl rewrite deflate headers expires' --with-apr=/home/kenxu/softken/apr-1.5.15/bin/apr-1-config --with-apr-util=/home/kenxu/softken/apr-1.5.15/bin/apu-1-config

./configure --prefix=/home/kenxu/softken/php5.4 --with-apxs2=/home/kenxu/softken/apache2/bin/apxs --with-config-file-path=/home/kenxu/softken/php5.4/php-config --with-png-dir --with-jpeg-dir --with-gd --with-curl --with-zlib --enable-mbstring --with-mcrypt --with-freetype-dir=/usr --with-mysql=/usr --with-mysqli --enable-pdo --with-pdo-mysql=/usr --without-pdo-sqlite --with-openssl

安装php 插件

cd xhprof-0.9.4/extension
phpize
./configure --with-php-config=/home/kenxu/softken/php5.4/bin/php-config


ln -s /home/kenxu/softken/php5.4/lib/php/extensions/no-debug-zts-20100525 /home/kenxu/softken/php-extensions

phpmyadmin:

#2002 无法登录 MySQL 服务器
只需要把 phpMyAdmin 目录下 config.inc.php 文件中

$cfg['Servers'][$i]['host'] = 'localhost';

修改为

$cfg['Servers'][$i]['host'] = '127.0.0.1';

写道

node-v0.10.32$ ./configure --prefix=/home/kenxu/softken/nodejs01032
node-v0.10.32$ make
node-v0.10.32$ make install
$npm -g install grunt-cli
使用 -g 是将插件安装在 nodejs安装目录下的lib目录下
不带这个参数则是安装在当前目录下
关于 grunt 使用手册:  http://www.gruntjs.net/docs/getting-started/
安装grunt 如下:
写道
 

$ git clone https://github.com/yoichiro/chrome_mysql_admin.git
$ cd chrome_mysql_admin
$ npm install
$ grunt
 

猜你喜欢

转载自vb2005xu.iteye.com/blog/2117537