Difference between revisions of "SERWEB"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 31: | Line 31: | ||
Alias /serweb "/var/www/serweb/html" | Alias /serweb "/var/www/serweb/html" | ||
+ | |||
+ | |||
+ | |||
+ | Edit file /var/www/serweb/config/config_data_layer.php | ||
+ | |||
+ | # vi /var/www/serweb/config/config_data_layer.php | ||
+ | |||
+ | Cek isi dari | ||
+ | |||
+ | * database type | ||
+ | * database host | ||
+ | * database name | ||
+ | * database user | ||
+ | * database password (default heslo) | ||
+ | |||
+ | |||
+ | |||
+ | Edit file /var/www/serweb/config/config_paths.php | ||
+ | |||
+ | # vi /var/www/serweb/config/config_paths.php | ||
+ | |||
+ | Pastikan path yang digunakan benar. Beberapa path | ||
+ | yang mungkin perlu di perhatikan adalah | ||
+ | |||
+ | /tmp/serweb/ | ||
+ | /var/spool/voicemail/ | ||
+ | /var/greetings/ | ||
+ | /tmp/ser_fifo | ||
+ | |||
+ | |||
+ | Edit file # vi /var/www/serweb/config/config.php | ||
+ | |||
+ | # vi /var/www/serweb/config/config.php | ||
+ | |||
+ | Pastikan isinya sesuai dengan apa yang kita inginkan. | ||
+ | Biasanya cukup aman untuk tidak di edit. | ||
+ | |||
+ | |||
+ | Untuk mengaktifkan log | ||
+ | |||
+ | # touch /var/log/serweb | ||
+ | # chown www-data /var/log/serweb | ||
+ | |||
+ | |||
+ | |||
+ | Edit file /etc/php5/apache2/php.ini | ||
+ | |||
+ | # vi /etc/php5/apache2/php.ini | ||
+ | |||
+ | Pastikan | ||
+ | |||
+ | short_open_tag = On | ||
+ | |||
+ | |||
+ | |||
+ | Buka Web dengan alamat | ||
+ | |||
+ | http://<your-host>/<your-install-dir>/admin/index.php | ||
+ | atau | ||
+ | http://<your-host>/<your-install-dir>/user/index.php | ||
+ | |||
+ | Misalnya, | ||
+ | |||
+ | http://localhost/serweb/admin/index.php | ||
+ | atau | ||
+ | http://localhost/serweb/user/index.php | ||
+ | |||
+ | |||
Revision as of 10:21, 7 March 2008
Install software pendukung
# pear install MDB2 # pear install DB # pear install lOG
Ambil source code SERWEB dari
http://ftp.iptel.org/pub/serweb/
Copykan source code SERWEB ke Folder Web
# cp serweb-0.9.6.tar.gz /var/www/ # cd /var/www # tar zxvf serweb-0.9.6.tar.gz # mv serweb-0.9.6 serweb
Edit konfigurasi Apache agar ada alias utk SERWEB
# vi /etc/apache2/httpd.conf
Isi dengan entry
Alias /serweb "/var/www/serweb/html"
Edit file /var/www/serweb/config/config_data_layer.php
# vi /var/www/serweb/config/config_data_layer.php
Cek isi dari
- database type
- database host
- database name
- database user
- database password (default heslo)
Edit file /var/www/serweb/config/config_paths.php
# vi /var/www/serweb/config/config_paths.php
Pastikan path yang digunakan benar. Beberapa path yang mungkin perlu di perhatikan adalah
/tmp/serweb/ /var/spool/voicemail/ /var/greetings/ /tmp/ser_fifo
Edit file # vi /var/www/serweb/config/config.php
# vi /var/www/serweb/config/config.php
Pastikan isinya sesuai dengan apa yang kita inginkan. Biasanya cukup aman untuk tidak di edit.
Untuk mengaktifkan log
# touch /var/log/serweb # chown www-data /var/log/serweb
Edit file /etc/php5/apache2/php.ini
# vi /etc/php5/apache2/php.ini
Pastikan
short_open_tag = On
Buka Web dengan alamat
http://<your-host>/<your-install-dir>/admin/index.php atau http://<your-host>/<your-install-dir>/user/index.php
Misalnya,
http://localhost/serweb/admin/index.php atau http://localhost/serweb/user/index.php