blog‎ > ‎

2011.04.17

posted 21 Apr 2011, 14:29 by Muhammad Jazman

Intro

Hari ini hari Minggu, seharusnya dosen yang masih bujangan ini berkeliaran ke luar mencari "mangsa" buat digigit, ini malah tetap di depan laptopnya, istri ke-empatnya :D. Parahnya lagi, ini proyek sepertinya cuma proyek 3M: Makasih,Makasih,Makasih. Saya sudah lama mengusulkan ini kerjaan ICT Centre, bukan kerjaan dosen, tapi ya ... karena alasan ngga ada duit buat menggaji Ka. UPT ICT Centre, makanya ICT Centre tidak ada di Politeknik Kampar tercinta ini ... *doh*

Update: saya sekarang ditugaskan kembali menjadi Ka UPT Perpustakaan, tapi sekarang jadinya beda: Ka UPT Perpustakaan & Multimedia. Urusan server, software, ebook dihandle oleh UPT Perpustakaan & Multimedia, begitupun dengan SEAMOLEC dan SEAMLESS ...

Sebenarnya, masih penasaran dengan alfresco. Tapi, logika saya masih bisa mengalahkan kegilaan saya yang ingin mengotak-atik memori management tomcat. Solusi untuk masalah kemaren dan tadi malam: UNINSTAL TOMCAT NYA
apt-get remove tomcat6


Agenda

Hari ini saya setup webmail, moodle

Setup Webmail (SquirrelMail)

Untuk setup webmail, tentu kita harus setup dulu email servernya, baru disetup webservernya

Setup Email Server

Setup Email Server setidaknya langkah-langkahnya adalah
  1. Setup MTA a.k.a Mail Transfer Agent, terdapat dua pilihan: postfix atau exim4, pilih salah satu
  2. Setup anti spam dan anti virus
    1. setup PostfixAmavis
    2. setup spam assasin
    3. setup ClamAV untuk antivirus
  3. Setup Mail Delivery Agent, pilihan saya dovecot. Alternatif lain: courier dan cyrus. Jujur, belum pernah setup courier dan cyrus untuk server beneran. 


Raw Log Postfix

6:22 AM 17/04/2011
Package configuration
Postfix Configuration

Please select the mail server configuration type that best meets your   
needs.                                                                  
                                                                        
 No configuration:                                                      
  Should be chosen to leave the current configuration unchanged.        
 Internet site:                                                         
  Mail is sent and received directly using SMTP.                        
 Internet with smarthost:                                               
  Mail is received directly using SMTP or by running a utility such     
  as fetchmail. Outgoing mail is sent using a smarthost.                
 Satellite system:                                                      
  All mail is sent to another machine, called a 'smarthost', for        
delivery.                                                               
 Local only:                                                            

                                <Ok>

Raw Log SquirrelMail


7:02 AM 17/04/2011

root@poltek-kampar:/etc/dovecot# apt-get install squirrelmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  iamerican ispell squirrelmail-locales squirrelmail-viewashtml wcatalan
Suggested packages:
  wamerican spell squirrelmail-decode php5-recode imapproxy php-pear php5-ldap
Recommended packages:
  wordlist
The following NEW packages will be installed:
  iamerican ispell squirrelmail squirrelmail-locales squirrelmail-viewashtml
  wcatalan
0 upgraded, 6 newly installed, 0 to remove and 3 not upgraded.
Need to get 6,018kB of archives.
After this operation, 24.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main ispell 3.1.20.0-7 [166kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/main iamerican 3.1.20.0-7 [427kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe squirrelmail 2:1.4.20-1ubuntu0.1 [632kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid/universe squirrelmail-locales 1.4.18-20090526-1 [3,243kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid/universe squirrelmail-viewashtml 3.8-3 [6,410B]
Get:6 http://us.archive.ubuntu.com/ubuntu/ lucid/main wcatalan 0.6-10 [1,544kB]
Fetched 6,018kB in 22s (266kB/s)
Preconfiguring packages ...
Selecting previously deselected package ispell.
(Reading database ... 72964 files and directories currently installed.)
Unpacking ispell (from .../ispell_3.1.20.0-7_i386.deb) ...
Selecting previously deselected package iamerican.
Unpacking iamerican (from .../iamerican_3.1.20.0-7_i386.deb) ...
Selecting previously deselected package squirrelmail.
Unpacking squirrelmail (from .../squirrelmail_2%3a1.4.20-1ubuntu0.1_all.deb) ...
Selecting previously deselected package squirrelmail-locales.
Unpacking squirrelmail-locales (from .../squirrelmail-locales_1.4.18-20090526-1_all.deb) ...
Selecting previously deselected package squirrelmail-viewashtml.
Unpacking squirrelmail-viewashtml (from .../squirrelmail-viewashtml_3.8-3_all.deb) ...
Selecting previously deselected package wcatalan.
Unpacking wcatalan (from .../wcatalan_0.6-10_all.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Setting up squirrelmail (2:1.4.20-1ubuntu0.1) ...
Installing default squirrelmail config.
Run /usr/sbin/squirrelmail-configure as root to configure/upgrade config.

Setting up squirrelmail-locales (1.4.18-20090526-1) ...
Setting up squirrelmail-viewashtml (3.8-3) ...
Removing plugin view_as_html
Data saved in config.php
Activating plugin view_as_html
Data saved in config.php

Setting up wcatalan (0.6-10) ...

Setting up ispell (3.1.20.0-7) ...

Setting up iamerican (3.1.20.0-7) ...


Raw Log Dovecot

7:36 AM 17/04/2011
dovecot tidak bisa dijalankan kalau cuma diinstal dovecot-common,
mesti di install juga imap, imaps, pop, dan pop3s nya ...

Raw Log Moodle

root@poltek-kampar:/home/user# apt-cache search moodle

cipux-rpc-tools - Commandline helper tools for XML-RPC server

cipux-rpcd - XML-RPC server for CipUX

jclicmoodle - JClic module for Moodle

libcipux-perl - user and resource management framework CipUX - base library

libcipux-rpc-perl - XML-RPC routines for perl-based CipUX XML-RPC applications

libmodule-build-cipux-perl - build helper for the user and resource management framework CipUX

moodle - Course Management System for Online Learning

moodle-book - module for Moodle to add multi-page resources

moodle-debian-edu-theme - Skolelinux theme and skin for moodle


root@poltek-kampar:/home/user# apt-get install moodle

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  aspell aspell-en libaspell15 mimetex php5-cli php5-curl php5-ldap

  php5-xmlrpc smarty

Suggested packages:

  aspell-doc spellutils php-pear

The following NEW packages will be installed:

  aspell aspell-en libaspell15 mimetex moodle php5-cli php5-curl php5-ldap

  php5-xmlrpc smarty

0 upgraded, 10 newly installed, 0 to remove and 3 not upgraded.

Need to get 13.9MB of archives.

After this operation, 76.7MB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main libaspell15 0.60.6-3ubuntu

1 [632kB]

Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/main aspell 0.60.6-3ubuntu1 [85

.0kB]

Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/main aspell-en 6.0-0-5.1ubuntu3

 [250kB]

Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid/universe mimetex 1.50-1.1 [142k

B]

Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main php5-cli 5.3.2-1ub

untu4.7 [2,815kB]

Get:6 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main php5-curl 5.3.2-1u

buntu4.7 [25.6kB]

Get:7 http://us.archive.ubuntu.com/ubuntu/ lucid/universe smarty 2.6.26-0.1ubunt

u1 [200kB]

Get:8 http://us.archive.ubuntu.com/ubuntu/ lucid/universe moodle 1.9.4.dfsg-0ubu

ntu4 [9,664kB]

71% [8 moodle 5,771kB/9,664kB 59%]                                              Get:9 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main php5-ldap 5.3.2-1ubuntu4.7 [17.6kB]

Get:10 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main php5-xmlrpc 5.3.2-1ubuntu4.7 [31.9kB]

Fetched 13.9MB in 60s (231kB/s)

Preconfiguring packages ...

Selecting previously deselected package libaspell15.

(Reading database ... 80212 files and directories currently installed.)

Unpacking libaspell15 (from .../libaspell15_0.60.6-3ubuntu1_i386.deb) ...

Selecting previously deselected package aspell.

Unpacking aspell (from .../aspell_0.60.6-3ubuntu1_i386.deb) ...

Selecting previously deselected package aspell-en.

Unpacking aspell-en (from .../aspell-en_6.0-0-5.1ubuntu3_all.deb) ...

Selecting previously deselected package mimetex.

Unpacking mimetex (from .../mimetex_1.50-1.1_i386.deb) ...

Selecting previously deselected package php5-cli.

Unpacking php5-cli (from .../php5-cli_5.3.2-1ubuntu4.7_i386.deb) ...

Selecting previously deselected package php5-curl.

Unpacking php5-curl (from .../php5-curl_5.3.2-1ubuntu4.7_i386.deb) ...

Selecting previously deselected package smarty.

Unpacking smarty (from .../smarty_2.6.26-0.1ubuntu1_all.deb) ...

Selecting previously deselected package moodle.

Unpacking moodle (from .../moodle_1.9.4.dfsg-0ubuntu4_all.deb) ...

Selecting previously deselected package php5-ldap.

Unpacking php5-ldap (from .../php5-ldap_5.3.2-1ubuntu4.7_i386.deb) ...

Selecting previously deselected package php5-xmlrpc.

Unpacking php5-xmlrpc (from .../php5-xmlrpc_5.3.2-1ubuntu4.7_i386.deb) ...

Processing triggers for man-db ...

Processing triggers for libapache2-mod-php5 ...

 * Reloading web server config apache2                                   [ OK ]

Setting up libaspell15 (0.60.6-3ubuntu1) ...

 

Setting up aspell (0.60.6-3ubuntu1) ...

aspell-autobuildhash: processing: en [en-common]

aspell-autobuildhash: processing: en [en-variant_0]

aspell-autobuildhash: processing: en [en-variant_1]

aspell-autobuildhash: processing: en [en-variant_2]

aspell-autobuildhash: processing: en [en_CA-w_accents-only]

aspell-autobuildhash: processing: en [en_CA-wo_accents-only]

aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only]

aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only]

aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only]

aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only]

aspell-autobuildhash: processing: en [en_US-w_accents-only]

aspell-autobuildhash: processing: en [en_US-wo_accents-only]

 

Setting up aspell-en (6.0-0-5.1ubuntu3) ...

 

Setting up mimetex (1.50-1.1) ...

Setting up php5-cli (5.3.2-1ubuntu4.7) ...

 

Creating config file /etc/php5/cli/php.ini with new version

update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.

 

Setting up php5-curl (5.3.2-1ubuntu4.7) ...

Setting up smarty (2.6.26-0.1ubuntu1) ...

Setting up moodle (1.9.4.dfsg-0ubuntu4) ...

 

Creating config file /etc/moodle/apache.conf with new version

 

Creating config file /etc/moodle/config.php with new version

Moodle URL: https://localhost/moodle

 

Setting up php5-ldap (5.3.2-1ubuntu4.7) ...

Setting up php5-xmlrpc (5.3.2-1ubuntu4.7) ...

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

root@poltek-kampar:/home/user#



Comments