++++++++++++++++++++++第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
++++++++++++++++++++++++
相关热门文章
给主人留下些什么吧!~~
评论热议