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

From OnnoWiki
Jump to navigation Jump to search
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 
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
rm -Rf /var/www/knowledgeTree
cd /usr/local/src
mv 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
mv /usr/local/src/WaypointHR_Release_0.3_Alpha_5.tar.gz /var/www/
cd /var/www
tar zxvf WaypointHR_Release_0.3_Alpha_5.tar.gz 
mv /usr/local/src/eGroupware-1.6.003-2.tar.gz /var/www/
cd /var/www
tar zxvf eGroupware-1.6.003-2.tar.gz
chown -Rf www-data.www-data /var/www/egroupware/
mkdir /var/lib/egroupware
mkdir /var/lib/egroupware/default
mkdir /var/lib/egroupware/default/files
mkdir /var/lib/egroupware/default/backup
chown -Rf www-data.www-data /var/lib/egroupware/
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 
mkdir /var/www/joomla
mv /usr/local/src/Joomla_1.5.17-Stable-Full_Package.zip /var/www/joomla/
cd /var/www/joomla
unzip Joomla_1.5.17-Stable-Full_Package.zip
chown -Rf www-data.www-data /var/www/joomla
chmod -Rf 744 /var/www/joomla
mv /usr/local/src/prestashop_1.2.5.0.zip /var/www/
cd /var/www/
unzip prestashop_1.2.5.0.zip
chown -Rf www-data.www-data /var/www/prestashop
chmod -Rf 744 /var/www/prestashop
chmod -Rf 744 /var/www/prestashop/config
chmod -Rf 744 /var/www/prestashop/tools/smarty/compile
chmod -Rf 744 /var/www/prestashop/sitemap.xml
chmod -Rf 744 /var/www/prestashop/img
chmod -Rf 744 /var/www/prestashop/mails
chmod -Rf 744 /var/www/prestashop/modules
chmod -Rf 744 /var/www/prestashop/themes/prestashop/lang
chmod -Rf 744 /var/www/prestashop/translations
chmod -Rf 744 /var/www/prestashop/upload
chmod -Rf 744 /var/www/prestashop/download
cd /usr/local/src
mv webERP_3.11.3.zip /var/www
cd /var/www
unzip webERP_3.11.3.zip
cd /var/www
mv /var/www/webERP-temp /var/www/webERP
cd /var/www/webERP
cp /var/www/webERP/config.distrib.php /var/www/webERP/config.php 
mv /usr/local/src/sql-ledger-2.8.30.tar.gz /usr/local/
cd /usr/local
tar zxvf sql-ledger-2.8.30.tar.gz
cd /usr/local/sql-ledger
perl setup.pl
cd /usr/local/sql-ledger
chown -hR www-data.www-data users templates css spool


Edit Bug

Edit file

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

Edit line 80 & beri tanda // (remarks)

// ensure_sanity();

Pranala Menarik