Difference between revisions of "SMEOnffLine: Instalasi Mahana"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: 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 li...) |
Onnowpurbo (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
Install mahara | Install mahara | ||
− | cp mahara-1.1.7.tar. | + | cp mahara-1.1.7.tar.gz /var/www/ |
cd /var/www | cd /var/www | ||
− | tar | + | tar zxvf mahara-1.1.7.tar.gz |
mv /var/www/mahara-1.1.7 /var/www/mahara | mv /var/www/mahara-1.1.7 /var/www/mahara | ||
mkdir /var/www/maharadata | mkdir /var/www/maharadata | ||
Line 39: | Line 39: | ||
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 -p | ||
Line 63: | Line 54: | ||
<VirtualHost *:80> | <VirtualHost *:80> | ||
− | ServerName | + | ServerName mahara.ukm.co.id |
DocumentRoot /var/www/mahara/htdocs | DocumentRoot /var/www/mahara/htdocs | ||
Line 79: | Line 70: | ||
Akses ke [[web]] | Akses ke [[web]] | ||
− | http:// | + | http://192.168.0.254/mahara/htdocs |
Username "admin" password "mahara" | Username "admin" password "mahara" | ||
Line 96: | Line 87: | ||
[[Image:Mahara7.jpeg|center|200px|thumb]] | [[Image:Mahara7.jpeg|center|200px|thumb]] | ||
+ | |||
+ | |||
+ | Mahara dapat di akses melalui alamat | ||
+ | |||
+ | http://192.168.0.254/mahara/htdocs/ | ||
+ | |||
Latest revision as of 09:26, 13 November 2009
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 souce code mahara di
http://mahara.org/ http://eduforge.org/frs/?group_id=176
Install mahara
cp mahara-1.1.7.tar.gz /var/www/ cd /var/www tar zxvf mahara-1.1.7.tar.gz mv /var/www/mahara-1.1.7 /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 -p Enter password: (isi password root untuk MySQL) 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
cd /etc/apache2 vi /etc/apache2/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>
vi /etc/apache2/apache2.conf Include /etc/apache2/mahara-httpd.conf
Akses ke web
http://192.168.0.254/mahara/htdocs
Username "admin" password "mahara"
Mahara dapat di akses melalui alamat
http://192.168.0.254/mahara/htdocs/
Sedikit Bug di Mahara
Edit file
vi /var/www/mahara/htdocs/init.php
Edit line 79 & beri tanda // (remarks)
// ensure_sanity();