(OK) 运行cBPM—Fedora23


++++++++++++++++++++++第1步:在Fedora23上安装Codelocks 16.01的过程。

参考:http://blog.chinaunix.net/uid-14735472-id-5671522.html

++++++++++++++++++++++第2步:install xerces-c

dnf install xerces*
cp /lib64/libxerces-c-3.1.so /opt/cBPM/criteria-lin/lib/libxerces-c-3.1.so

------------上面两条命令即可,下面是源代码安装,仅供参考:xerces-c-3.1.2.tar.gz
[root@localhost xerces-c-3.1.2]# pwd
/opt/cBPM/xerces-c-3.1.2
[root@localhost xerces-c-3.1.2]# ./configure --prefix=/opt/cBPM/xerces-c
[root@localhost xerces-c-3.1.2]# make -j
[root@localhost xerces-c-3.1.2]# ll src/.libs/libxerces-c-3.1.so
-rwxr-xr-x. 1 root root 25155928 9月  24 09:11 src/.libs/libxerces-c-3.1.so
[root@localhost xerces-c-3.1.2]# cp src/.libs/libxerces-c-3.1.so /opt/cBPM/criteria-lin/lib/
------------------------------------------------------------------------

++++++++++++++++++++++第3步: 设置codeblocks 参数

参考:http://blog.chinaunix.net/uid-14735472-id-5204752.html

++++++++++++++++++++++第4步:install fastcgi

wget http://www.fastcgi.com/dist/fcgi.tar.gz
tar -zxvf fcgi.tar.gz
cd fcgi-2.4.1-SNAP-0311112127
vi include/fcgio.h

include/fcgio.h文件中加上 #include <cstdio>,然后再编译安装就通过了。

make -j5
make install

++++++++++++++++++++++第5步:install mariadb

dnf install mysql mysql-devel

++++++++++++++++++++++第6步:install nginx
dnf install nginx
root document dir: /usr/share/nginx/html


++++++++++++++++++++++++


<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(49) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
posted @ 2016-02-01 00:00  张同光  阅读(66)  评论(0编辑  收藏  举报