设为首页收藏本站

新微赢技术网

 找回密码
 注册
搜索
热搜: 回贴
查看: 135|回复: 14
打印 上一主题 下一主题

原创--我在LINUX as4下调试通达OA2007的第2版本,会的进来看看

[复制链接]
跳转到指定楼层
1#
发表于 2009-7-8 08:56:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
原创--我在LINUX as4下调试通达OA2007的第2版本,会的进来看看


原创--我在LINUX as4下调试通达OA2007的第2版本,会的进来看看


看到好多人都在寻找LINUX下调试通达的OA,我把我的安装步骤都发到一下的帖子中,大家可以参考一下!我费了3天的时间,因为虚拟机速度太慢,我的机器配置很低,P3800的
具体安装是这样的
所需环境
apache2.0.59  mysql 5.02  php5.1.6
虚拟机   linux as 4
这些软件和官方所需软件完全相同!

出现的问题在5楼,请管理员或者在LINUX调试成功的朋友看看,一起讨论讨论!!
本人的QQ:105348557
所需软件
-rw-r--r--   1 root  root  1751006 Jan 25 19:48 curl-7.15.0.tar.gz
-rw-r--r--   1 root  root  1382645 Jan 25 19:48 freetype-2.1.10.tar.gz
-rw-r--r--   1 root  root   587617 Jan 25 19:47 gd-2.0.33.tar.gz
-rw-r--r--   1 root  root  6122149 Jan 12 07:49 httpd-2.0.59.tar.gz
-rw-r--r--   1 root  root   613261 Jan 25 19:48 jpegsrc.v6b.tar.gz
-rw-r--r--   1 root  root   510681 Jan 25 19:47 libpng-1.2.8.tar.gz
drwxrwxrwx  15 50138 vcsa     9216 Jul  3 20:35 libxml2-2.6.26

-rw-r--r--   1 root  root  4563612 Aug  6  2006 libxml2-2.6.26.tar.gz
drwxrwxrwx  11 50138 vcsa     1024 Jul  3 20:52 libxslt-1.1.15
-rw-r--r--   1 root  root  2657197 Jan 25 19:49 libxslt-1.1.15.tar.gz
-rw-r--r--   1 root  root 19542405 Jul  1 05:19 mysql-5.0.22.tar.gz
drwxr-xr-x  18  1002 1002     4096 Jul  3 22:43 php-5.1.6
-rw-r--r--   1 root  root  8187896 Jan 23 22:33 php-5.1.6.tar.gz
drwxr-xr-x   4 root  root     1024 Nov 22  2006 ZendOptimizer-3.2.0-linux-glibc21-i386
-rw-r--r--   1 root  root  8736576 Jan 25 20:27 ZendOptimizer-3.2.0-linux-glibc21-i386.tar.gz
-rw-r--r--   1 root  root   496597 Jan 25 19:48 zlib-1.2.3.tar.gz

开始安装
1  安装APACHE#tar zxvf httpd-2.0.59.tar.gz
#cd httpd-2.0.59
#./configure --prefix=/usr/local/apache --enable-static-support --enable-mods-shareds=most --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-isa --enable-mime-magic --enable-charset-lite --enable-expires

安装MYSQL
groupadd mysql
useradd -g mysql mysql
gunzip < mysql-VERSION.tar.gz | tar -xvf -
cd mysql-VERSION
./configure --prefix=/usr/local/mysql
make
make install
cp support-files/my-medium.cnf /etc/my.cnf
cd /usr/local/mysql
bin/mysql_install_db --user=mysql
chown -R root  .
chown -R mysql var
chgrp -R mysql .
bin/mysqld_safe --user=mysql &


安装PHP,首先要安装PHP5所需的软件
安装GD库(让PHP支持GIF,PNG,JPEG)
a.安装 jpeg6
建立目录:
# mkdir -p /usr/local/jpeg6
# mkdir -p /usr/local/jpeg6/bin
# mkdir -p /usr/local/jpeg6/lib
# mkdir -p /usr/local/jpeg6/include
# mkdir -p /usr/local/jpeg6/man
# mkdir -p /usr/local/jpeg6/man1
# mkdir -p /usr/local/jpeg6/man/man1
# cd /home/xiutuo/software/
# tar -zvxf jpegsrc.v6b.tar.gz
# cd jpeg-6b
# ./configure --prefix=/usr/local/jpeg6/ --enable-shared --enable-static
# make; make install
b.安装libpng
# cd /home/xiutuo/software/
# tar -zvxf libpng-1.2.8.tar.gz
# cd libpng-1.2.8
# cp scripts/makefile.std makefile
# make; make install
c.安装 freetype
# cd /home/xiutuo/software/
# tar -zvxf freetype-2.1.10.tar.gz
# cd freetype-2.1.10
# mkdir -p /usr/local/freetype
# ./configure --prefix=/usr/local/freetype
# make;make install
d.:安装zlib
# cd /home/xiutuo/software/
#tar -zxvf zlib-1.2.3.tar.gz
#cd zlib.1.2.3
# ./configure
# make;make install
e.安装GD库
# cd /home/xiutuo/software/
# tar -zvxf gd-2.0.33.tar.gz
# mkdir -p /usr/local/gd2
# cd gd-2.0.33
# ./configure --prefix=/usr/local/gd2 --with-jpeg=/usr/local/jpeg6/
--with-png=/usr/local/lib/
--with-zlib=/usr/local/lib/
--with-freetype=/usr/local/freetype/
# make; make install
e.安装Curl库
# cd /home/xiutuo/software/
# tar -zxf curl-7.15.0.tar.gz
# mkdir -p /usr/local/curl
# ./configure --prefix=/usr/local/curl
# make; make install
安装php5,php5必须有libxml2支持!
a.安装libxml2
# cd /home/xiutuo/software/
# tar -zxf libxml2-2.6.19.tar.gz
# cd libxml2-2.6.19
# mkdir -p /usr/local/libxml2
# ./configure --prefix=/usr/local/libxml2
# make; make install
b.安装 libxslt(可选安装,你可以不安装)
# cd /home/xiutuo/software/
# tar -zxf libxslt-1.1.15.tar.gz
# mkdir -p /usr/local/libxslt
# cd libxslt-1.1.15
# ./configure --prefix=/usr/local/libxslt --with-libxml-prefix=/usr/local/libxml2
# make; make install
现在安装PHP5

./configure --prefix=/usr/local/php \
--with-mysql=/usr/local/mysql \
--with-apxs2=/usr/local/apache/bin/apxs \
--enable-debug=no --enable-safe-mode \
--enable-dba --enable-memory-limit \
--with-curl=/usr/local/curl --enable-ftp \
--with-libxml-dir=/usr/local/libxml2 \
--with-expat-dir=/usr/lib --enable-soap \
--with-xsl=/usr/local/libxslt --enable-xslt \
--with-gd=/usr/local/gd2/ \
--with-jpeg-dir=/usr/local/jpeg6/ \
--with-zlib-dir=/usr/local/lib/ \
--with-png=/usr/local/lib/ \
--with-freetype-dir=/usr/local/freetype/ \
--with-ttf  --with-gettext\
--enable-dom

上面的都是我自己亲自安装的,复制即可用。



调试OA
在OA上导出数据库后,在LINUX的在导入进去,因为OA在WINDOWS下大小写都无所谓,但是在LINUX下,大小写是有区别的,
所以要吧小写都改成大写


ALTER TABLE `address_group` RENAME `ADDRESS_GROUP`;
ALTER TABLE `address` RENAME `ADDRESS`;
ALTER TABLE `affair` RENAME `AFFAIR`;
ALTER TABLE `attend_config` RENAME `ATTEND_CONFIG`;
ALTER TABLE `attend_duty` RENAME `ATTEND_DUTY`;
ALTER TABLE `attend_evection` RENAME `ATTEND_EVECTION`;
ALTER TABLE `attend_holiday` RENAME `ATTEND_HOLIDAY`;
ALTER TABLE `attend_leave` RENAME `ATTEND_LEAVE`;
ALTER TABLE `attend_manager` RENAME `ATTEND_MANAGER`;
ALTER TABLE `attend_out` RENAME `ATTEND_OUT`;
ALTER TABLE `bbs_board` RENAME `BBS_BOARD`;
ALTER TABLE `bbs_comment` RENAME `BBS_COMMENT`;
ALTER TABLE `book_info` RENAME `BOOK_INFO`;
ALTER TABLE `book_type` RENAME `BOOK_TYPE`;
ALTER TABLE `calendar` RENAME `CALENDAR`;
ALTER TABLE `chatroom` RENAME `CHATROOM`;
ALTER TABLE `contact` RENAME `CONTACT`;
ALTER TABLE `cp_asset_type` RENAME `CP_ASSET_TYPE`;
ALTER TABLE `cp_assetcfg` RENAME `CP_ASSETCFG`;
ALTER TABLE `cp_cptl_info` RENAME `CP_CPTL_INFO`;
ALTER TABLE `cp_dpct_sub` RENAME `CP_DPCT_SUB`;
ALTER TABLE `cp_prcs_prop` RENAME `CP_PRCS_PROP`;
ALTER TABLE `customer` RENAME `CUSTOMER`;
ALTER TABLE `department` RENAME `DEPARTMENT`;
ALTER TABLE `diary` RENAME `DIARY`;
ALTER TABLE `diary_comment` RENAME `DIARY_COMMENT`;
ALTER TABLE `email` RENAME `EMAIL`;
ALTER TABLE `email_box` RENAME `EMAIL_BOX`;
ALTER TABLE `file_content` RENAME `FILE_CONTENT`;
ALTER TABLE `file_sort` RENAME `FILE_SORT`;
ALTER TABLE `flow_form_type` RENAME `FLOW_FORM_TYPE`;
ALTER TABLE `flow_process` RENAME `FLOW_PROCESS`;
ALTER TABLE `flow_run` RENAME `FLOW_RUN`;
ALTER TABLE `flow_run_data` RENAME `FLOW_RUN_DATA`;
ALTER TABLE `flow_run_feedback` RENAME `FLOW_RUN_FEEDBACK`;
ALTER TABLE `flow_run_prcs` RENAME `FLOW_RUN_PRCS`;
ALTER TABLE `flow_sort` RENAME `FLOW_SORT`;
ALTER TABLE `flow_type` RENAME `FLOW_TYPE`;
ALTER TABLE `hrms` RENAME `HRMS`;
ALTER TABLE `icqcontact_tb` RENAME `ICQCONTACT_TB`;
ALTER TABLE `icqmsgs_tb` RENAME `ICQMSGS_TB`;
ALTER TABLE `icqservermsg_tb` RENAME `ICQSERVERMSG_TB`;
ALTER TABLE `ik_app` RENAME `IK_APP`;
ALTER TABLE `ik_field` RENAME `IK_FIELD`;
ALTER TABLE `ik_form` RENAME `IK_FORM`;
ALTER TABLE `ik_table` RENAME `IK_TABLE`;
ALTER TABLE `interface` RENAME `INTERFACE`;
ALTER TABLE `ip_rule` RENAME `IP_RULE`;
ALTER TABLE `linkman` RENAME `LINKMAN`;
ALTER TABLE `meeting` RENAME `MEETING`;
ALTER TABLE `meeting_room` RENAME `MEETING_ROOM`;
ALTER TABLE `mytable` RENAME `MYTABLE`;
ALTER TABLE `netchat` RENAME `NETCHAT`;
ALTER TABLE `netdisk` RENAME `NETDISK`;
ALTER TABLE `netmeeting` RENAME `NETMEETING`;
ALTER TABLE `news` RENAME `NEWS`;
ALTER TABLE `news_comment` RENAME `NEWS_COMMENT`;
ALTER TABLE `notify` RENAME `NOTIFY`;
ALTER TABLE `office_products` RENAME `OFFICE_PRODUCTS`;
ALTER TABLE `office_transhistory` RENAME `OFFICE_TRANSHISTORY`;
ALTER TABLE `picture` RENAME `PICTURE`;
ALTER TABLE `plan_type` RENAME `PLAN_TYPE`;
ALTER TABLE `post_tel` RENAME `POST_TEL`;
ALTER TABLE `product` RENAME `PRODUCT`;
ALTER TABLE `provider` RENAME `PROVIDER`;
ALTER TABLE `sal_data` RENAME `SAL_DATA`;
ALTER TABLE `sal_flow` RENAME `SAL_FLOW`;
ALTER TABLE `sal_item` RENAME `SAL_ITEM`;
ALTER TABLE `sale_history` RENAME `SAL_HISTORY`;
ALTER TABLE `sale_manager` RENAME `SAL_MANAGERITEM`;
ALTER TABLE `score_date` RENAME `SCORE_DATE`;
ALTER TABLE `score_flow` RENAME `SCORE_FLOW`;
ALTER TABLE `score_group` RENAME `SCORE_GROUP`;
ALTER TABLE `score_item` RENAME `SCORE_ITEM`;
ALTER TABLE `sms` RENAME `SMS`;
ALTER TABLE `sms2` RENAME `SMS2`;
ALTER TABLE `sms2_priv` RENAME `SMS2_PRIV`;
ALTER TABLE `sms3` RENAME `SMS3`;
ALTER TABLE `sys_code` RENAME `SYS_CODE`;
ALTER TABLE `sys_function` RENAME `SYS_FUNCTION`;
ALTER TABLE `sys_log` RENAME `SYS_LOG`;
ALTER TABLE `sys_menu` RENAME `SYS_MENU`;
ALTER TABLE `sys_para` RENAME `SYS_PARA`;
ALTER TABLE `unit` RENAME `UNIT`;
ALTER TABLE `url` RENAME `URL`;
ALTER TABLE `user` RENAME `USER`;
ALTER TABLE `user_priv` RENAME `USER_PRIV`;
ALTER TABLE `vehicle` RENAME `VEHICLE`;
ALTER TABLE `vehicle_maintenance` RENAME `VEHICLE_MAINTENANCE`;
ALTER TABLE `vehicle_operator` RENAME `VEHICLE_OPERATOR`;
ALTER TABLE `vehicle_usage` RENAME `VEHICLE_USAGE`;
ALTER TABLE `version` RENAME `VERSION`;
ALTER TABLE `vote_item` RENAME `VOTE_ITEM`;
ALTER TABLE `vote_title` RENAME `VOTE_TITLE`;
ALTER TABLE `webmail` RENAME `WEBMAIL`;
ALTER TABLE `winexe` RENAME `WINEXE`;
ALTER TABLE `work_plan` RENAME `WORK_PLAN`;
ALTER TABLE `attachment_edit`  RENAME `ATTACHMENT_EDIT`;
ALTER TABLE `book_manage` RENAME `BOOK_MANAGE`;
ALTER TABLE `bs_line` RENAME `BS_LINE`;
ALTER TABLE `contract` RENAME `CONTRACT`;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

申请友链|小黑屋|最新主题|手机版|新微赢技术网 ( 苏ICP备08020429号 )  

GMT+8, 2024-11-19 01:25 , Processed in 0.071501 second(s), 9 queries , Gzip On, Memcache On.

Powered by xuexi

© 2001-2013 HaiAn.Com.Cn Inc. 寰耽

快速回复 返回顶部 返回列表