Difference between revisions of "Instalasi WebERP"

From OnnoWiki
Jump to navigation Jump to search
(New page: # cp webERP_3.071.zip /var/www mysql mysql> SET PASSWORD FOR root@localhost=PASSWORD('password'); Alternatively # mysql -u root -p Enter password: mysql> grant INSERT,SELECT on ro...)
 
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
  # cp webERP_3.071.zip /var/www
+
Siapkan aplikasi pendukung seperti
 +
   
 +
sudo su
 +
apt-get install 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 unzip
  
mysql
+
Ambil [[source code]] WebERP dari
mysql> SET PASSWORD FOR root@localhost=PASSWORD('password');
 
  
Alternatively
+
http://sourceforge.net/projects/web-erp/
 +
 
 +
Copykan [[source code]]
 +
 
 +
cp webERP_4.09.1.zip /var/www
 +
cd /var/www
 +
unzip webERP_4.09.1.zip
 +
 
 +
Konfigurasi [[database]]
  
 
  # mysql -u root -p
 
  # mysql -u root -p
 
  Enter password:
 
  Enter password:
  mysql> grant INSERT,SELECT on root.* to weberp@localhost;
+
  drop database weberpdemo;
  mysql> SET PASSWORD FOR weberp@localhost=PASSWORD('weberp');
+
grant INSERT,SELECT on root.* to weberp@localhost;
  mysql> GRANT ALL PRIVILEGES ON *.* TO weberp@localhost IDENTIFIED BY 'some-password' WITH GRANT OPTION;
+
  SET PASSWORD FOR weberp@localhost=PASSWORD('weberp');
  mysql> exit
+
  GRANT ALL PRIVILEGES ON *.* TO weberp@localhost IDENTIFIED BY 'some-password' WITH GRANT OPTION;
 +
  exit
  
 +
atau bagi yang masih pemula
  
  # vi /var/www/webERP/config.php
+
  mysql -u root -p123456
 +
create database weberpdemo;
 +
grant ALL on root.* to weberp@localhost;
 +
grant ALL on weberpdemo.* to weberp@localhost identified by 'weberp';
 +
grant ALL on weberpdemo.* to weberp identified by 'weberp';
 +
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';
 
     $dbuser = 'weberp';
 
     $dbpassword = 'weberp';
 
     $dbpassword = 'weberp';
 +
    $DefaultCompany = 'weberpdemo';
 +
 +
Masukan data mentah (ini akan membutuhkan waktu agak lama)
 +
 +
mysql -u weberp -pweberp weberpdemo < /var/www/webERP/sql/mysql/weberp-demo.sql
 +
 +
Akses ke Web
 +
 +
http://localhost/webERP
 +
 +
username admin
 +
password weberp
 +
 +
[[Image:Weberp1.jpeg|center|200px|thumb]]
 +
 +
 +
==Pranala Menarik==
  
 +
* [[Linux Howto]]
 +
* [[Instalasi WebERP]]
 +
* [[Instalasi eGroupWare]]
 +
* [[Instalasi eGroupWare secara manual]]
 +
* [[Instalasi GroupOffice]]
  
# mysql --user=weberp --password='weberp' > /var/www/webERP/sql/mysql/weberp-demo.sql
+
[[Category: Linux]]

Latest revision as of 08:48, 29 March 2013

Siapkan aplikasi pendukung seperti

sudo su
apt-get install 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 unzip

Ambil source code WebERP dari

http://sourceforge.net/projects/web-erp/

Copykan source code

cp webERP_4.09.1.zip /var/www
cd /var/www
unzip webERP_4.09.1.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
create database weberpdemo;
grant ALL on root.* to weberp@localhost;
grant ALL on weberpdemo.* to weberp@localhost identified by 'weberp';
grant ALL on weberpdemo.* to weberp identified by 'weberp';
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 (ini akan membutuhkan waktu agak lama)

mysql -u weberp -pweberp weberpdemo < /var/www/webERP/sql/mysql/weberp-demo.sql

Akses ke Web

http://localhost/webERP
username admin
password weberp
Weberp1.jpeg


Pranala Menarik