Difference between revisions of "Instalasi WebERP"

From OnnoWiki
Jump to navigation Jump to search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Siapkan aplikasi pendukung seperti
 
Siapkan aplikasi pendukung seperti
 
+
  # apt-get install libsyncml0 libsyncml-dev libsyncml-utils \
+
sudo su
 +
  apt-get install libsyncml-dev libsyncml-utils \
 
  opensync-plugin-syncml php-pear php5-gd php5-imap php5-odbc \
 
  opensync-plugin-syncml php-pear php5-gd php5-imap php5-odbc \
 
  php5-pgsql apache2 mysql-server libmysqlclient15-dev libphp-adodb \
 
  php5-pgsql apache2 mysql-server libmysqlclient15-dev libphp-adodb \
 
  libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear \
 
  libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear \
  php5-xmlrpc libnet-ssleay-perl
+
  php5-xmlrpc libnet-ssleay-perl unzip
  
 
Ambil [[source code]] WebERP dari
 
Ambil [[source code]] WebERP dari
Line 13: Line 14:
 
Copykan [[source code]]
 
Copykan [[source code]]
  
  cp webERP_3.11.zip /var/www
+
  cp webERP_4.09.1.zip /var/www
 
  cd /var/www
 
  cd /var/www
  unzip webERP_3.11.zip
+
  unzip webERP_4.09.1.zip
 
 
  
 
Konfigurasi [[database]]
 
Konfigurasi [[database]]
Line 22: Line 22:
 
  # mysql -u root -p
 
  # mysql -u root -p
 
  Enter password:
 
  Enter password:
  create database weberp;
+
  drop 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');
Line 30: Line 30:
 
atau bagi yang masih pemula
 
atau bagi yang masih pemula
  
  # mysql -u root -p
+
  mysql -u root -p123456
Enter password:
+
  create database weberpdemo;
  create database weberp;
+
  grant ALL on root.* to weberp@localhost;
  grant INSERT,SELECT on root.* to weberp@localhost;
+
  grant ALL on weberpdemo.* to weberp@localhost identified by 'weberp';
  SET PASSWORD FOR weberp@localhost=PASSWORD('weberp');
+
  grant ALL on weberpdemo.* to weberp identified by 'weberp';
  GRANT ALL PRIVILEGES ON *.* TO weberp@localhost IDENTIFIED BY 'weberp' WITH GRANT OPTION;
 
 
  exit
 
  exit
 
 
  
 
Edit file konfigurasi WebERP & pastikan dbuser & dbpassword sbb:
 
Edit file konfigurasi WebERP & pastikan dbuser & dbpassword sbb:
Line 49: Line 46:
 
     $DefaultCompany = 'weberpdemo';
 
     $DefaultCompany = 'weberpdemo';
  
 +
Masukan data mentah (ini akan membutuhkan waktu agak lama)
  
 +
mysql -u weberp -pweberp weberpdemo < /var/www/webERP/sql/mysql/weberp-demo.sql
  
Masukan data mentah
+
Akses ke Web
  
  # mysql --user=weberp --password='weberp' < /var/www/webERP/sql/mysql/weberp-demo.sql
+
  http://localhost/webERP
  
 +
username admin
 +
password weberp
  
Akses ke WebERP
+
[[Image:Weberp1.jpeg|center|200px|thumb]]
 
 
http://localhost/weberp
 
 
 
username demo
 
password weberp
 
  
  
Line 67: Line 63:
  
 
* [[Linux Howto]]
 
* [[Linux Howto]]
 +
* [[Instalasi WebERP]]
 +
* [[Instalasi eGroupWare]]
 +
* [[Instalasi eGroupWare secara manual]]
 +
* [[Instalasi GroupOffice]]
 +
 +
[[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