Instalasi eGroupWare secara manual

From OnnoWiki
Revision as of 08:37, 29 March 2013 by Onnowpurbo (talk | contribs) (→‎Instalasi egroupware)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Pertama-tama siapkan beberapa fasiltas pendukung seperti MySQL Server, PHP dll, antara lain dapat di install melalui perintah

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


Install Jpgraph

Download

http://jpgraph.net/download/

Lakukan

cd ~/Downloads
cp jpgraph-3.5.0b1.tar.gz /var/www/
cd /var/www/
tar zxvf jpgraph-3.5.0b1.tar.gz
mv /var/www/jpgraph-3.5.0b1 /var/www/jpgraph
chown -Rf www-data.www-data /var/www/jpgraph

Install PEAR

Beberapa fasilitas pendukung tampaknya harus di install dengan akses Internet menggunakan PEAR

pear install Auth_SASL
pear install --alldeps Net_IMAP
pear install Net_Sieve
pear install HTTP_WebDAV_Server
pear install HTTP_WebDAV_Server-1.0.0RC4
pear install --alldeps Log

Setup PHP & Apache

Edit konfigurasi PHP

vi /etc/php5/cli/php.ini

Pastikan

mbstring.func_overload = 7
memory_limit = 24M
upload_max_filesize = 8M
date.timezone = Asia/Jakarta

dan / atau

vi /etc/php5/apache2/php.ini

Pastikan

mbstring.func_overload = 7
memory_limit = 128M
upload_max_filesize = 8M
date.timezone = Asia/Jakarta

Restart Apache WebServer

/etc/init.d/apache2 restart

Instalasi egroupware

Ambil source code aplikasi eGroupWare yang terbaru dari situs eGroupWare http://www.egroupware.org atau http://www.egroupware.org/download. Lakukan perintah berikut untuk mengcopy dan mengextract source code pada folder Web,

cp eGroupware-1.8.004.20130322.tar.bz2 /var/www/
cd /var/www
tar jxvf eGroupware-1.8.004.20130322.tar.bz2

Siapkan database untuk eGroupWare, disini akan digunakan database dengan nama egroupware, user database dengan nama egroupware dan password untuk akses database adalah egroupware. Sedang password root MySQL di set sebagai password. Perintah yang digunakan untuk mengkonfigurasi adalah

mysql
mysql> SET PASSWORD FOR root@localhost=PASSWORD('password');

Jika password Root MySQL database sudah di set maka kita dapat langsung mengkonfigurasi MySQL menggunakan perintah

# mysql -u root -p
Enter password:
mysql> create database egroupware;
mysql> grant INSERT,SELECT on root.* to egroupware@localhost;
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on egroupware.* to egroupware@localhost identified by "egroupwarepass";
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on egroupware.* to egroupware identified by "egroupwarepass";
mysql> exit

Jika kita sedang belajar ada baiknya menggunakan perintah berikuta dalam membuat database

# mysql -u root -p123456
create database egroupware;
grant ALL on root.* to egroupware@localhost;
grant ALL on egroupware.* to egroupware@localhost identified by "egroupware";
grant ALL on egroupware.* to egroupware identified by "egroupware";
exit


Ubah owner Web eGroupWare ke owner Apache WebServer

chown -Rf www-data.www-data /var/www/egroupware/
cp /var/www/egroupware/header.inc.php.template /var/www/egroupware/header.inc.php
chmod 770 /var/www/egroupware/header.inc.php

Buat directory & owner /var/lib/egroupware

mkdir /var/lib/egroupware
mkdir /var/lib/egroupware/default
mkdir /var/lib/egroupware/default/files
mkdir /var/lib/egroupware/default/backup
chown -Rf www-data.www-data /var/lib/egroupware/


Restart Apache

/etc/init.d/apache2 restart

Selesai sudah semua persiapan untuk instalasi eGroupWare. Kita dapat mengakses situs eGroupWare pada alamat berikut

http://localhost/egroupware/

Selesaikan konfigurasi melalui Web

Pastikan:

POP/IMAP mail server hostname or IP address: 	127.0.0.1
SMTP server hostname or IP address: 	        127.0.0.1
SMTP server port: 	                        25

Lanjutnya langkah berikut

Egroupwaresetup1.jpeg
Egroupwaresetup2.jpeg
Egroupwaresetup3.jpeg
Egroupwaresetup4.jpeg
Egroupwaresetup5.jpeg
Egroupwaresetup6.jpeg
Egroupwaresetup7.jpeg
Egroupwaresetup8.jpeg
Egroupwaresetup9.jpeg
Egroupwaresetup10.jpeg
Egroupwaresetup11.jpeg
Egroupwaresetup12.jpeg


Pastikan header.inc.php diubah permission

chown -Rf www-data.www-data /var/www/egroupware/
chmod 770 /var/www/egroupware/header.inc.php

Pranala Menarik