`

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 如下:
写道
kenxu@startos:~$ npm -g install grunt
grunt@0.4.5 /home/kenxu/softken/nodejs01032/lib/node_modules/grunt
├── dateformat@1.0.2-1.2.3
├── which@1.0.5
├── eventemitter2@0.4.14
├── getobject@0.1.0
├── rimraf@2.2.8
├── colors@0.6.2
├── async@0.1.22
├── grunt-legacy-util@0.2.0
├── hooker@0.2.3
├── exit@0.1.2
├── lodash@0.9.2
├── nopt@1.0.10 (abbrev@1.0.5)
├── coffee-script@1.3.3
├── underscore.string@2.2.1
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)
├── iconv-lite@0.2.11
├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3)
├── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)
├── grunt-legacy-log@0.1.1 (underscore.string@2.3.3, lodash@2.4.1)
└── js-yaml@2.0.5 (esprima@1.0.4, argparse@0.1.15)
 

$ git clone https://github.com/yoichiro/chrome_mysql_admin.git
$ cd chrome_mysql_admin
$ npm install
$ grunt
 
分享到:
评论
1 楼 vb2005xu 2014-11-17  
http://www.ruanyifeng.com/blog/2013/08/linux_boot_process.html 不错的linux系统引导介绍

相关推荐

Global site tag (gtag.js) - Google Analytics