More Related Content
More from Anthony Yuan , PMP
More from Anthony Yuan , PMP (10)
webErp安装说明
- 4. 安装软件
1.从 http://www.weberp.org/下载最新版本的软件;
2.将其上传到 Apache 服务器的目录中(默认是: /apache/htdocs );
3.建立数据库,并选择 GBK 字符集;
4.编辑 /webERP/sql/mysql/weberp-new.sql ,将该文件中的“ DEFAULT CHARSET=latin1” 全部删除;
5.执行 /webERP/sql/mysql/weberp-new.sql ,新建一个空数据库;
6.为数据库创建用户,并为其授权;
create user weberp_dba;
GRANT all ON weberperp.* TO weberp_dba@quot;%quot; IDENTIFIED BY 'weberp';
GRANT all ON weberperp.* TO weberp_dba@quot;locahostquot; IDENTIFIED BY 'weberp';
flush privileges;
7.修改 /weberp/config.php 文件,配置数据库链接;
$dbuser = 'weberp_dba';
$dbpassword = 'weberp';
8.修改 webERPincludesConnectDB_mysql.inc 文件,将数据提交方式相应改为 GBK ;
Line20 增加: mysql_query(quot;set names 'gbk'quot;)
9.从 http://sourceforge.net/project/showfiles.php?group_id=70949 下载最新的中文语言包,并把解压后目录中的
zh_CN 目录复制到 WebErp 主目录的 locale 子目录下;
10.从 http://bbs.erp100.com/thread-12984-1-1.html 下载 cn_pdf_rp.zip 文件;
11.解压缩后,替换 webERPreportwriter 下的 WriteForm.inc 和 WriteReport.inc 文件;
更多信息,请参阅 http://bbs.erp100.com/thread-13683-1-1.html
在安装前请务必阅读 /weberp/doc/INSTALL.txt 文档
yyq123
4