Instalasi TCExam di CentOS 5.5

TCExam adalah sebuah aplikasi berbasis web untuk pelaksanaan ujian/test secara online. Untuk menginstalasi aplikasi ini di CentOS 5.5 lakukanlah langkah-langkah sebagai berikut:

1. Unduh di http://sourceforge.net/projects/tcexam/files/tcexam_11_1_008.zip/download

2. Unzip file tcexam_11_1_008.zip dan tempatkan dalam direktori /var/www/html , dengan perintah:     # unzip tcexam_11_1_008.zip -d /var/www/html

3. Buat database untuk tcexam ini, misalnya nama database: tcexam, user: tcexam, password: tcexam , dengan perintah:
# mysql -u root -p
> create database tcexam;
> grant all privileges on tcexam.* to ‘tcexam’@’localhost’ identified by ‘tcexam’ with grant option;
> flush privileges;
> \q
#

4. Konfigurasi ulang/edit php.ini , dengan perintah: # vi /etc/php.ini , dan setting parameter dari PHP seperti di bawah ini:
date.timezone = Asia/Jakarta
arg_separator.output = “&”
magic_quotes_gpc = on
magic_qoutes_runtime = off
magic_qoutes_sybase = off
request_order = “GPC”

5. Berikutnya rebuild packet PCRE, pertama-tama unduh packet PCRE di http://centos.idrepo.or.id/centos/5.5/os/SRPMS/pcre-6.6-2.el5_1.7.src.rpm , dengan perintah:
# wget http://centos.idrepo.or.id/centos/5.5/os/SRPMS/pcre-6.6-2.el5_1.7.src.rpm
# rpm -ivh pcre-6.6-2.el5_1.7.src.rpm
lalu edit file pcre.spec dengan perintah:  # vi /usr/src/redhat/SPECS/pcre.spec
pada bagian %configure –enable-utf8 ubah menjadi %configure –enable-utf8 –enable-unicode-properties
Selanjutnya kita lakukan rpmbuild dengan perintah:  # rpmbuild -ba /usr/src/redhat/SPECS/pcre.spec
Berikutnya update packet pcre dengan perintah: # rpm -Uvh /usr/src/redhat/RPMS/i386/pcre-6.6-2.7.i386.rpm

6. Selanjutnya ubah mode akses untuk direktori dan file tcexam dengan perintah:
# chown apache:apache /var/www/html/tcexam
# chmod 755 /var/www/html/tcexam
# cd /var/www/html/tcexam
# find . -exec chown -R apache:apache {} \;
# find . -type f -exec chmod 544 {} \;
# find cache/ -type f -exec chmod 644 {} \;
# find cache/backup -type f -exec chmod 644 {} \;
# find cache/lang -type f -exec chmod 544 {} \;
# find admin/log/ -type f -exec chmod 644 {} \;
# find public/log/ -type f -exec chmod 644 {} \;
# find . -type d -exec chmod 755 {} \;

7. Berikutnya buka browser(dari komputer client) dan akseslah url : http://www.yoursite.com/tcexam/install/install.php atau http://ip-server/tcexam/install/install.php
Isilah field-field yang ada dalam proses instalasi tersebut.

8. Setelah selesai, jangan lupa untuk menghapus direktori install di server tcexam dengan perintah: # rm -fR /var/www/html/tcexam/install

9. Berikutnya login sebagai administrator dengan username: admin dan password: 1234 , untuk memulai penggunaan tcexam ini :)….selesai.

Iklan

Satu pemikiran pada “Instalasi TCExam di CentOS 5.5

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.