SchoolOnffLine: copy source code semua CMS ke /var/www

From OnnoWiki
Revision as of 13:02, 4 May 2010 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search
apt-get install unrar
cd /usr/local/src
mv /usr/local/src/wordpress-2.9-id_ID.tar.gz /var/www/
cd /var/www
tar zxvf wordpress-2.9-id_ID.tar.gz 
cd /usr/local/src
mv /usr/local/src/wordpress-mu-2.8.5.2.tar.gz /var/www/
cd /var/www
tar zxvf wordpress-mu-2.8.5.2.tar.gz
cd /var/www/wordpress-mu
cp wp-config-sample.php wp-config.php
mv /usr/local/src/mediawiki-1.15.3.tar.gz /var/www/
cd /var/www
tar zxvf mediawiki-1.15.3.tar.gz
mv mediawiki-1.15.3 wiki
mv /usr/local/src/odc-wiki.jpg /var/www/wiki
chmod a+w wiki/config
chown -Rf www-data.www-data /var/www/wiki/images
chmod -Rf 777 /var/www/wiki/images
mkdir /var/moodledata
mkdir /var/moodledata/lang
mv /usr/local/src/id_utf8.zip /var/moodledata/lang
cd /var/moodledata/lang
unzip id_utf8.zip
rm id_utf8.zip
mv /usr/local/src/moodle-weekly-19.tgz /var/www/
cd /var/www
tar zxvf moodle-weekly-19.tgz
chmod -Rf 777 /var/www/moodle
chown -Rf www-data.www-data /var/moodledata/
mv /usr/local/src/senayan3-stable13-patch2.tar.gz /var/www/
cd /var/www
tar zxvf senayan3-stable13-patch2.tar.gz 
mv senayan3-stable13 senayan
chown -Rf www-data.www-data /var/www/senayan
mv /usr/local/src/ktdms-src-oss-3.6.1.tgz /var/www/
cd /var/www
tar zxvf ktdms-src-oss-3.6.1.tgz 
mv kt-dms-oss knowledgeTree
chown -Rf www-data.www-data /var/www/knowledgeTree
chmod -Rf 766 /var/www/knowledgeTree/var
mkdir /var/www/sisfokol-sd
mv /usr/local/src/sisfokol_v3_sd_free.tar.bz2 /var/www/sisfokol-sd
cd /var/www/sisfokol-sd
tar jxvf sisfokol_v3_sd_free.tar.bz2
mkdir /var/www/sisfokol-smp
mv /usr/local/src/sisfokol_v3_sltp_free.rar /var/www/sisfokol-smp
cd /var/www/sisfokol-smp
unrar x sisfokol_v3_sltp_free.rar
mv sisfokol_v3_sltp_free/* .
mkdir /var/www/sisfokol-sma
mv /usr/local/src/sisfokol_v3_slta_free.tar.bz2 /var/www/sisfokol-sma
cd /var/www/sisfokol-sma
tar jxvf sisfokol_v3_slta_free.tar.bz2 
mkdir /var/www/sisfokol-smk
mv /usr/local/src/sisfokol_v3_smk_free.zip /var/www/sisfokol-smk
cd /var/www/sisfokol-smk
unzip sisfokol_v3_smk_free.zip
mkdir /var/www/sisfokol-sabily-sma
mv /usr/local/src/sisfokol_sabily_slta.tar.gz /var/www/sisfokol-sabily-sma
cd /var/www/sisfokol-sabily-sma
tar zxvf sisfokol_sabily_slta.tar.gz 
mkdir /var/www/janissari
mv /usr/local/src/sisfokol_janissari.tar.gz /var/www/janissari
cd /var/www/janissari
tar zxvf sisfokol_janissari.tar.gz
mv /usr/local/src/mahara-1.2.4.tar.gz /var/www/
cd /var/www
tar zxvf mahara-1.2.4.tar.gz
mv /var/www/mahara-1.2.4 /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
cp /var/www/mahara/htdocs/config-dist.php /var/www/mahara/htdocs/config.php 
mv /usr/local/src/cmsbalitbang.rar /var/www/
cd /var/www
unrar x cmsbalitbang.rar
mv webtemp cmsbalitbang
chown -Rf www-data.www-data cmsbalitbang
cd /var/www/cmsbalitbang/lib/
cp config-contoh.php config.php 


Edit Bug

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

Edit line 80 & beri tanda // (remarks)

// ensure_sanity();


Pranala Menarik