Difference between revisions of "SMEOnffLine: Instalasi Mahara"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
php5-xmlrpc libnet-ssleay-perl | php5-xmlrpc libnet-ssleay-perl | ||
− | Ambil [[ | + | Ambil [[source code]] mahara di |
http://mahara.org/ | http://mahara.org/ | ||
Line 14: | Line 14: | ||
Install mahara | Install mahara | ||
− | cp mahara-1. | + | cp mahara-1.2.3.tar.gz /var/www/ |
cd /var/www | cd /var/www | ||
− | tar zxvf mahara-1. | + | tar zxvf mahara-1.2.3.tar.gz |
− | mv /var/www/mahara-1. | + | mv /var/www/mahara-1.2.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 40: | Line 40: | ||
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 - | + | # mysql -u root -p123456 |
− | |||
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 49: | ||
Edit konfigurasi Apache2 | Edit konfigurasi Apache2 | ||
− | + | vi /etc/apache2/sites-enabled/mahara-httpd.conf | |
− | |||
− | + | <VirtualHost *:80> | |
− | + | ServerName mahara.ukm.co.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 80 & beri tanda // (remarks) | |
− | |||
− | Akses ke [[web]] | + | // ensure_sanity(); |
+ | |||
+ | |||
+ | |||
+ | ==Akses ke [[web]]== | ||
http://192.168.0.254/mahara/htdocs | http://192.168.0.254/mahara/htdocs | ||
Line 77: | Line 85: | ||
[[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@ukm.co.id | ||
[[Image:Mahara6.jpeg|center|200px|thumb]] | [[Image:Mahara6.jpeg|center|200px|thumb]] | ||
[[Image:Mahara7.jpeg|center|200px|thumb]] | [[Image:Mahara7.jpeg|center|200px|thumb]] | ||
+ | |||
+ | Set supaya | ||
+ | |||
+ | username admin | ||
+ | password Admin123456! | ||
Line 92: | Line 113: | ||
http://192.168.0.254/mahara/htdocs/ | http://192.168.0.254/mahara/htdocs/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Pranala Menarik== | ==Pranala Menarik== |
Latest revision as of 15:22, 6 May 2010
Siapkan software pendukung
# apt-get install libsyncml0 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
Ambil source code mahara di
http://mahara.org/ http://eduforge.org/frs/?group_id=176
Install mahara
cp mahara-1.2.3.tar.gz /var/www/ cd /var/www tar zxvf mahara-1.2.3.tar.gz mv /var/www/mahara-1.2.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.ukm.co.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 80 & beri tanda // (remarks)
// ensure_sanity();
Akses ke web
http://192.168.0.254/mahara/htdocs
Username "admin" password "mahara"
Tunggu sampai semua aplikasi selesai di install
Username : admin Password : mahara
New Password : Admin123456 e-mail : admin1@ukm.co.id
Set supaya
username admin password Admin123456!
Mahara dapat di akses melalui alamat
http://192.168.0.254/mahara/htdocs/