Difference between revisions of "DokeOS: instalasi"
Jump to navigation
Jump to search
Silfianaelfa (talk | contribs) (New page: 1. Pre-requisites Dokeos can be installed on Windows, Linux, Mac OS X and UNIX servers indifferently. However, we recommend the use of Linux server for optimal flexibility, remote control ...) |
Onnowpurbo (talk | contribs) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Instalasi Aplikasi Pendukung | |
− | |||
− | + | apt-get update | |
+ | apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb \ | ||
+ | libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl \ | ||
+ | php-pear unzip | ||
− | + | Agar dokeos dapat bekerja dengan baik, edit php.ini | |
− | + | vi /etc/php5/apache2/php.ini | |
− | + | Menjadi | |
− | |||
− | |||
+ | max_execution_time = 300 ; Maximum execution time of each script, in seconds | ||
+ | max_input_time = 600 ; Maximum amount of time each script may spend parsing request data | ||
+ | memory_limit = 256M ; Maximum amount of memory a script may consume (128MB) | ||
+ | post_max_size = 64M | ||
+ | upload_max_filesize = 100M | ||
− | + | Pastikan, | |
− | |||
− | |||
− | + | short_open_tag = On | |
− | + | safe_mode = Off | |
− | + | magic_quotes_gpc = On | |
− | + | magic_quotes_runtime = Off | |
− | |||
+ | Restart Apache | ||
− | + | /etc/init.d/apache2 restart | |
− | + | Buat database untuk dokeos | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | mysql -u root -ppassword | |
+ | |||
+ | create database dokeos; | ||
+ | grant ALL on root.* to dokeos@localhost; | ||
+ | grant ALL on dokeos.* to dokeos@localhost identified by 'dokeos'; | ||
+ | grant ALL on dokeos.* to dokeos identified by 'dokeos'; | ||
+ | exit | ||
− | + | Pengalaman selama ini, dokeos akan lebih aman diakses menggunakan root. | |
− | + | Copy dan Instalasi dokeos ke folder [[web]] | |
− | + | cd ~/Downloads | |
+ | wget http://www.dokeosnet.com/download/dokeos-2.1.1.zip | ||
+ | cp dokeos-2.1.1.zip /var/www/ | ||
+ | cd /var/www/ | ||
+ | unzip dokeos-2.1.1.zip | ||
+ | mv dokeos-2.1.1 dokeos | ||
− | + | Buat folder berikut agar menjadi read, write and executable untuk semua: | |
− | + | chmod -Rf 777 /var/www/dokeos/main/install/ | |
− | + | chmod -Rf 777 /var/www/dokeos/main/upload/template_thumbnails/ | |
+ | chmod -Rf 777 /var/www/dokeos/main/inc/conf/ | ||
+ | chmod -Rf 777 /var/www/dokeos/main/upload/users/ | ||
+ | chmod -Rf 777 /var/www/dokeos/main/default_course_document/ | ||
+ | chmod -Rf 777 /var/www/dokeos/archive/ | ||
+ | chmod -Rf 777 /var/www/dokeos/courses/ | ||
+ | chmod -Rf 777 /var/www/dokeos/home/ | ||
− | + | Set agar fil konfigurasi hanya read & write oleh web browser | |
− | + | chmod -Rf 666 /var/www/dokeos/main/inc/conf/configuration.php | |
+ | chown -Rf www-data.www-data /var/www/dokeos/main/inc/conf/configuration.php | ||
− | + | Untuk keamanan, setelah setelah konfigurasi kita perlu menset agar file konfigurasi hanya bisa di read saja | |
− | |||
− | |||
− | |||
− | |||
+ | chmod -Rf 444 /var/www/dokeos/main/inc/conf/configuration.php | ||
+ | chmod -Rf 444 /var/www/dokeos/main/install/index.php | ||
− | |||
− | |||
− | + | Masuk ke Web, misalnya | |
− | |||
− | |||
− | + | http://10.150.5.247/dokeos/ | |
− | |||
− | |||
− | |||
− | |||
− | + | [[Image:Dokeos1.png|center|200px|thumb]] | |
+ | [[Image:Dokeos2.png|center|200px|thumb]] | ||
+ | [[Image:Dokeos3.png|center|200px|thumb]] | ||
+ | [[Image:Dokeos4.png|center|200px|thumb]] | ||
+ | [[Image:Dokeos5.png|center|200px|thumb]] | ||
+ | [[Image:Dokeos6.png|center|200px|thumb]] | ||
+ | [[Image:Dokeos7.png|center|200px|thumb]] | ||
+ | [[Image:Dokeos8.png|center|200px|thumb]] | ||
+ | [[Image:Dokeos9.png|center|200px|thumb]] | ||
− | + | ==Referensi== | |
− | |||
− | |||
− | |||
− | + | * http://www.dokeos.com/en/deployment/free | |
+ | * http://www.dokeos.com/en/documentation.php | ||
+ | * http://www.dokeos.com/en/node/31 | ||
− | + | ==Pranala Menarik== | |
− | + | * [[Dokeos]] | |
− | + | * [[DokeOS: instalasi]] | |
− | + | * [[DokeOS: Penggunaan]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 08:02, 25 April 2012
Instalasi Aplikasi Pendukung
apt-get update apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb \ libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl \ php-pear unzip
Agar dokeos dapat bekerja dengan baik, edit php.ini
vi /etc/php5/apache2/php.ini
Menjadi
max_execution_time = 300 ; Maximum execution time of each script, in seconds max_input_time = 600 ; Maximum amount of time each script may spend parsing request data memory_limit = 256M ; Maximum amount of memory a script may consume (128MB) post_max_size = 64M upload_max_filesize = 100M
Pastikan,
short_open_tag = On safe_mode = Off magic_quotes_gpc = On magic_quotes_runtime = Off
Restart Apache
/etc/init.d/apache2 restart
Buat database untuk dokeos
mysql -u root -ppassword create database dokeos; grant ALL on root.* to dokeos@localhost; grant ALL on dokeos.* to dokeos@localhost identified by 'dokeos'; grant ALL on dokeos.* to dokeos identified by 'dokeos'; exit
Pengalaman selama ini, dokeos akan lebih aman diakses menggunakan root.
Copy dan Instalasi dokeos ke folder web
cd ~/Downloads wget http://www.dokeosnet.com/download/dokeos-2.1.1.zip cp dokeos-2.1.1.zip /var/www/ cd /var/www/ unzip dokeos-2.1.1.zip mv dokeos-2.1.1 dokeos
Buat folder berikut agar menjadi read, write and executable untuk semua:
chmod -Rf 777 /var/www/dokeos/main/install/ chmod -Rf 777 /var/www/dokeos/main/upload/template_thumbnails/ chmod -Rf 777 /var/www/dokeos/main/inc/conf/ chmod -Rf 777 /var/www/dokeos/main/upload/users/ chmod -Rf 777 /var/www/dokeos/main/default_course_document/ chmod -Rf 777 /var/www/dokeos/archive/ chmod -Rf 777 /var/www/dokeos/courses/ chmod -Rf 777 /var/www/dokeos/home/
Set agar fil konfigurasi hanya read & write oleh web browser
chmod -Rf 666 /var/www/dokeos/main/inc/conf/configuration.php chown -Rf www-data.www-data /var/www/dokeos/main/inc/conf/configuration.php
Untuk keamanan, setelah setelah konfigurasi kita perlu menset agar file konfigurasi hanya bisa di read saja
chmod -Rf 444 /var/www/dokeos/main/inc/conf/configuration.php chmod -Rf 444 /var/www/dokeos/main/install/index.php
Masuk ke Web, misalnya
http://10.150.5.247/dokeos/
Referensi
- http://www.dokeos.com/en/deployment/free
- http://www.dokeos.com/en/documentation.php
- http://www.dokeos.com/en/node/31