Difference between revisions of "SchoolOnffLine: Instalasi Mahara"

From OnnoWiki
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Siapkan software pendukung
 
Siapkan software pendukung
  
  # apt-get install libsyncml0 libsyncml-dev libsyncml-utils \
+
  apt-get install php-pear php5-gd php5-imap php5-odbc \
opensync-plugin-syncml 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 11: Line 10:
 
  http://mahara.org/
 
  http://mahara.org/
 
  http://eduforge.org/frs/?group_id=176
 
  http://eduforge.org/frs/?group_id=176
 +
https://launchpad.net/mahara/
  
 
Install mahara
 
Install mahara
  
  cp mahara-1.1.7.tar.bz2 /var/www/
+
  cp /usr/local/src/mahara-1.3.3.tar.gz /var/www/
 
  cd /var/www
 
  cd /var/www
  tar jxvf mahara-1.1.7.tar.bz2
+
  tar zxvf mahara-1.3.3.tar.gz
  mv /var/www/mahara-1.1.7 /var/www/mahara
+
  mv /var/www/mahara-1.3.3 /var/www/mahara
 
  mkdir /var/www/maharadata
 
  mkdir /var/www/maharadata
 
  chmod -Rf 777 /var/www/maharadata
 
  chmod -Rf 777 /var/www/maharadata
Line 29: Line 29:
 
  vi /var/www/mahara/htdocs/config.php  
 
  vi /var/www/mahara/htdocs/config.php  
  
  $cfg->dbtype  = 'mysql5';
+
$cfg->dbtype  = 'mysql5';
  $cfg->dbhost  = 'localhost';
+
$cfg->dbhost  = 'localhost';
  $cfg->dbport  = null;
+
$cfg->dbport  = null;
  $cfg->dbname  = 'mahara';
+
$cfg->dbname  = 'mahara';
  $cfg->dbuser  = 'mahara';
+
$cfg->dbuser  = 'mahara';
  $cfg->dbpass  = 'mahara';
+
$cfg->dbpass  = 'mahara';
  $cfg->dataroot = '/var/www/maharadata';
+
$cfg->dataroot = '/var/www/maharadata';
  
  
 
Buat [[database]] mahara pada [[MySQL]], siapkan user [[database]] untuk mengakses [[database]] mahara melalui perintah
 
Buat [[database]] mahara pada [[MySQL]], siapkan user [[database]] untuk mengakses [[database]] mahara melalui perintah
  
  # mysql -u root -p
+
  mysql -u root -p123456
Enter password: (isi password root untuk MySQL)
+
 
 
  create database mahara character set UTF8;
 
  create database mahara character set UTF8;
 
  grant ALL on mahara.* to mahara@localhost identified by 'mahara';
 
  grant ALL on mahara.* to mahara@localhost identified by 'mahara';
Line 50: Line 50:
 
Edit konfigurasi Apache2
 
Edit konfigurasi Apache2
  
cd /etc/apache2
+
  vi /etc/apache2/sites-enabled/mahara-httpd.conf
  vi /etc/apache2/site-enabled/mahara-httpd.conf
+
 
 
 
  <VirtualHost *:80>
 
  <VirtualHost *:80>
        ServerName mahara.sekolah.sch.id
+
        ServerName mahara.school.sch.id
        DocumentRoot /var/www/mahara/htdocs
+
        DocumentRoot /var/www/mahara/htdocs
 
   
 
   
        ErrorLog /var/log/apache2/mahara.error.log
+
        ErrorLog /var/log/apache2/mahara.error.log
        CustomLog /var/log/apache2/mahara.access.log combined
+
        CustomLog /var/log/apache2/mahara.access.log combined
 
   
 
   
        <Directory /var/www/mahara/htdocs>
+
        <Directory /var/www/mahara/htdocs>
                AllowOverride All
+
                AllowOverride All
        </Directory>
+
        </Directory>
 
  </VirtualHost>
 
  </VirtualHost>
  
  
Akses ke [[web]]
+
 
 +
==Sedikit Bug di Mahara==
 +
 
 +
Edit file
 +
 
 +
vi  /var/www/mahara/htdocs/init.php
 +
 
 +
Edit line 82 & beri tanda // (remarks)
 +
 
 +
// ensure_sanity();
 +
 
 +
==Restart Apache Web Server==
 +
 
 +
/etc/init.d/apache2 restart
 +
 
  
 
  http://192.168.0.254/mahara/htdocs
 
  http://192.168.0.254/mahara/htdocs
Line 75: Line 88:
  
 
[[Image:Mahara2.jpeg|center|200px|thumb]]
 
[[Image:Mahara2.jpeg|center|200px|thumb]]
 +
 +
Tunggu sampai semua aplikasi selesai di install
  
 
[[Image:Mahara3.jpeg|center|200px|thumb]]
 
[[Image:Mahara3.jpeg|center|200px|thumb]]
  
 
[[Image:Mahara4.jpeg|center|200px|thumb]]
 
[[Image:Mahara4.jpeg|center|200px|thumb]]
 +
 +
Username : admin
 +
Password : mahara
  
 
[[Image:Mahara5.jpeg|center|200px|thumb]]
 
[[Image:Mahara5.jpeg|center|200px|thumb]]
 +
 +
New Password : Admin123456!
 +
e-mail      : admin1@sekolah.sch.id
  
 
[[Image:Mahara6.jpeg|center|200px|thumb]]
 
[[Image:Mahara6.jpeg|center|200px|thumb]]
Line 86: Line 107:
 
[[Image:Mahara7.jpeg|center|200px|thumb]]
 
[[Image:Mahara7.jpeg|center|200px|thumb]]
  
 +
Set supaya
  
==Sedikit Bug di Mahara==
+
username admin
 
+
  password Admin123456!
Edit file
 
 
 
vi /var/www/mahara/htdocs/init.php
 
  
Edit line 79 & beri tanda // (remarks)
 
  
// ensure_sanity();
+
Mahara dapat di akses melalui alamat
  
 +
http://192.168.0.254/mahara/htdocs/
  
 +
==Pranala Menarik==
  
  
==Pranala Menarik==
+
* [[SchoolOnffLine: Server Berbasis Sabily]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu]]
  
* [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]
+
[[Category: Linux]]
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
+
[[Category: Distro Linux]]
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
+
[[Category: SchoolOnffLine]]
* [[SchoolOnffLine: Server Berbasis Ubuntu]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[Remastering Ubuntu]]
 

Latest revision as of 18:00, 20 November 2010

Siapkan software pendukung

apt-get install 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

Ambil souce code mahara di

http://mahara.org/
http://eduforge.org/frs/?group_id=176
https://launchpad.net/mahara/

Install mahara

cp /usr/local/src/mahara-1.3.3.tar.gz /var/www/
cd /var/www
tar zxvf mahara-1.3.3.tar.gz
mv /var/www/mahara-1.3.3 /var/www/mahara
mkdir /var/www/maharadata
chmod -Rf 777 /var/www/maharadata
chown -Rf www-data.www-data /var/www/maharadata
chown -Rf www-data.www-data /var/www/mahara

Edit konfigurasi

cd /var/www/mahara/htdocs/
cp /var/www/mahara/htdocs/config-dist.php /var/www/mahara/htdocs/config.php 
vi /var/www/mahara/htdocs/config.php 
$cfg->dbtype   = 'mysql5';
$cfg->dbhost   = 'localhost';
$cfg->dbport   = null;
$cfg->dbname   = 'mahara';
$cfg->dbuser   = 'mahara';
$cfg->dbpass   = 'mahara';
$cfg->dataroot = '/var/www/maharadata';


Buat database mahara pada MySQL, siapkan user database untuk mengakses database mahara melalui perintah

mysql -u root -p123456
create database mahara character set UTF8;
grant ALL on mahara.* to mahara@localhost identified by 'mahara';
grant ALL on mahara.* to mahara identified by 'mahara';
exit


Edit konfigurasi Apache2

vi /etc/apache2/sites-enabled/mahara-httpd.conf

<VirtualHost *:80>
        ServerName mahara.school.sch.id
        DocumentRoot /var/www/mahara/htdocs

        ErrorLog /var/log/apache2/mahara.error.log
        CustomLog /var/log/apache2/mahara.access.log combined

        <Directory /var/www/mahara/htdocs>
                AllowOverride All
        </Directory>
</VirtualHost>


Sedikit Bug di Mahara

Edit file

vi  /var/www/mahara/htdocs/init.php

Edit line 82 & beri tanda // (remarks)

// ensure_sanity();

Restart Apache Web Server

/etc/init.d/apache2 restart


http://192.168.0.254/mahara/htdocs

Username "admin" password "mahara"

Mahara1.jpeg
Mahara2.jpeg

Tunggu sampai semua aplikasi selesai di install

Mahara3.jpeg
Mahara4.jpeg
Username : admin
Password : mahara
Mahara5.jpeg
New Password : Admin123456!
e-mail       : admin1@sekolah.sch.id
Mahara6.jpeg
Mahara7.jpeg

Set supaya

username admin
password Admin123456!


Mahara dapat di akses melalui alamat

http://192.168.0.254/mahara/htdocs/

Pranala Menarik