Difference between revisions of "SMEOnffLine: Instalasi WebERP"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Siapkan aplikasi pendukung seperti
 
Siapkan aplikasi pendukung seperti
  
  # apt-get install libsyncml0 libsyncml-dev libsyncml-utils \
+
  apt-get install libsyncml-dev libsyncml-utils \
  opensync-plugin-syncml php-pear php5-gd php5-imap php5-odbc \
+
  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 \
Line 10: Line 10:
  
 
  cd /usr/local/src
 
  cd /usr/local/src
  mv webERP_3.11.1.zip /var/www
+
  mv webERP_3.11.3.zip /var/www
 
  cd /var/www
 
  cd /var/www
  unzip webERP_3.11.1.zip
+
  unzip webERP_3.11.3.zip
  
 
Konfigurasi [[database]]
 
Konfigurasi [[database]]
  
  # mysql -u root -p
+
  # mysql -u root -p123456
Enter password:
 
 
  drop database weberpdemo;
 
  drop database weberpdemo;
 
  create database weberpdemo;
 
  create database weberpdemo;
Line 33: Line 32:
 
  $dbuser = 'weberp';
 
  $dbuser = 'weberp';
 
  $dbpassword = 'weberp';
 
  $dbpassword = 'weberp';
  $DefaultCompany = 'weberpdemo';
+
  $DefaultCompany = 'weberp-stable';
  
 
Masukan data mentah
 
Masukan data mentah

Revision as of 14:41, 6 May 2010

Siapkan aplikasi pendukung seperti

apt-get install libsyncml-dev libsyncml-utils \
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

Copykan source code

cd /usr/local/src
mv webERP_3.11.3.zip /var/www
cd /var/www
unzip webERP_3.11.3.zip

Konfigurasi database

# 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 = 'weberp-stable';

Masukan data mentah

mysql --user=weberp --password='weberp' < /var/www/webERP/sql/mysql/weberp-demo.sql


Akses ke WebERP

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

Pranala Menarik