Difference between revisions of "Instalasi WebERP"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 13: | Line 13: | ||
Copykan [[source code]] | Copykan [[source code]] | ||
− | cp | + | cp webERP_4.0.2.zip /var/www |
cd /var/www | cd /var/www | ||
− | unzip | + | unzip webERP_4.0.2.zip |
Line 30: | Line 30: | ||
atau bagi yang masih pemula | atau bagi yang masih pemula | ||
− | + | mysql -u root -p123456 | |
− | |||
drop database weberpdemo; | drop database weberpdemo; | ||
+ | create database weberpdemo; | ||
grant INSERT,SELECT on root.* to weberp@localhost; | grant INSERT,SELECT on root.* to weberp@localhost; | ||
SET PASSWORD FOR weberp@localhost=PASSWORD('weberp'); | SET PASSWORD FOR weberp@localhost=PASSWORD('weberp'); |
Revision as of 10:06, 16 September 2011
Siapkan aplikasi pendukung seperti
# apt-get install libsyncml0 libsyncml-dev libsyncml-utils \ opensync-plugin-syncml php-pear php5-gd php5-imap php5-odbc \ php5-pgsql apache2 mysql-server libmysqlclient15-dev libphp-adodb \ libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear \ php5-xmlrpc libnet-ssleay-perl
Ambil source code WebERP dari
http://sourceforge.net/projects/web-erp/
Copykan source code
cp webERP_4.0.2.zip /var/www cd /var/www unzip webERP_4.0.2.zip
Konfigurasi database
# mysql -u root -p Enter password: drop database weberpdemo; grant INSERT,SELECT on root.* to weberp@localhost; SET PASSWORD FOR weberp@localhost=PASSWORD('weberp'); GRANT ALL PRIVILEGES ON *.* TO weberp@localhost IDENTIFIED BY 'some-password' WITH GRANT OPTION; exit
atau bagi yang masih pemula
mysql -u root -p123456 drop database weberpdemo; create database weberpdemo; grant INSERT,SELECT on root.* to weberp@localhost; SET PASSWORD FOR weberp@localhost=PASSWORD('weberp'); GRANT ALL PRIVILEGES ON *.* TO weberp@localhost IDENTIFIED BY 'weberp' WITH GRANT OPTION; exit
Edit file konfigurasi WebERP & pastikan dbuser & dbpassword sbb:
cd /var/www/webERP cp /var/www/webERP/config.distrib.php /var/www/webERP/config.php vi /var/www/webERP/config.php $dbuser = 'weberp'; $dbpassword = 'weberp'; $DefaultCompany = 'weberpdemo';
Masukan data mentah
# mysql --user=weberp --password='weberp' < /var/www/webERP/sql/mysql/weberp-demo.sql
Beberapa Bug
Edit file
vi /var/www/webERP/sql/mysql/weberp-demo.sql
Remark
line 6326 /* INSERT INTO `factorcompanies` VALUES (5,'None',,,,,,,,,,); */
line 6327 /* INSERT INTO `factorcompanies` VALUES (6,'None',,,,,,,,,,); */
Akses ke WebERP
http://localhost/webERP
username admin password weberp