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

From OnnoWiki
Jump to navigation Jump to search
apt-get install unrar
cd /usr/local/src
mv /usr/local/src/wordpress-3.2.1-id_ID.tar.gz /var/www/
cd /var/www
tar zxvf wordpress-3.2.1-id_ID.tar.gz
cd /usr/local/src
tar zxvf Epiware_4.8.6.tar.gz  
mv /usr/local/src/Epiware_4.8.6 /usr/local/src/epi
/usr/local/src/epi/install
mkdir /storage
chown -Rf www-data.www-data /storage/
chmod -Rf 777 /storage/
cp -Rf /usr/local/src/epi/epi /var/www/
chown -Rf www-data.www-data /var/www/epi/
mv /usr/local/src/mediawiki-1.17.0.tar.gz /var/www/
cd /var/www
tar zxvf mediawiki-1.17.0.tar.gz
mv mediawiki-1.17.0 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-latest-21.tgz /var/www/
cd /var/www
tar zxvf moodle-latest-21.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
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
mv /usr/local/src/sisfokol_v3_sawahsiring_sd.tar.lzma /var/www/sisfokol-sd/
cd /var/www/sisfokol-sd
tar xvf sisfokol_v3_sawahsiring_sd.tar.lzma
cp -Rf /var/www/sisfokol-sd/sisfokol_v3_sawahsiring_sd/source/* /var/www/sisfokol-sd/
rm -Rf /var/www/sisfokol-sd/sisfokol*
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/* .
rm -Rf sisfokol_v3_sltp_free*
mv /usr/local/src/sisfokol_v3_sawahsiring_sltp.tar.lzma /var/www/sisfokol-smp/
cd /var/www/sisfokol-smp
tar xvf sisfokol_v3_sawahsiring_sltp.tar.lzma 
cp -Rf sisfokol_v3_sawahsiring_sltp/source/* /var/www/sisfokol-smp/
rm -Rf /var/www/sisfokol-smp/sisfokol_v3_sawahsiring_sltp*
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 
mv /usr/local/src/sisfokol_v3_sawahsiring_slta.tar.lzma /var/www/sisfokol-sma/
cd /var/www/sisfokol-sma/
tar xvf sisfokol_v3_sawahsiring_slta.tar.lzma 
cp -Rf /var/www/sisfokol-sma/sisfokol_v3_sawahsiring_slta/source/* /var/www/sisfokol-sma/
rm -Rf /var/www/sisfokol-sma/sisfokol_v3_s*
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
mv /usr/local/src/sisfokol_v3_sawahsiring_smk.tar.lzma /var/www/sisfokol-smk/
cd /var/www/sisfokol-smk/
tar xvf sisfokol_v3_sawahsiring_smk.tar.lzma 
cp -Rf sisfokol_v3_sawahsiring_smk/source/* /var/www/sisfokol-smk/
rm -Rf sisfokol_v3_s*
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/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 

Pranala Menarik