Difference between revisions of "Oxwall: Instalasi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 51: | Line 51: | ||
Selesaikan instalasi melalui web | Selesaikan instalasi melalui web | ||
− | http://ip-server/oxwall/ | + | http://ip-server/oxwall/ |
− | + | Edit | |
− | + | vi /var/www/oxwall/ow_includes/config.php | |
− | + | <?php | |
+ | |||
+ | define('OW_URL_HOME', 'http://10.150.5.249/oxwall/'); | ||
+ | |||
+ | define('OW_DB_HOST', 'localhost'); | ||
+ | define('OW_DB_PORT', null); | ||
+ | define('OW_DB_USER', 'oxwall'); | ||
+ | define('OW_DB_PASSWORD', 'oxwall'); | ||
+ | define('OW_DB_NAME', 'oxwall'); | ||
+ | |||
+ | define('OW_DB_PREFIX', 'ow_'); | ||
+ | |||
+ | define('OW_DIR_USERFILES', OW_DIR_ROOT.'ow_userfiles'.DS); | ||
+ | define('OW_DIR_STATIC', OW_DIR_ROOT.'ow_static'.DS); | ||
+ | define('OW_URL_STATIC', OW_URL_HOME.'ow_static/'); | ||
+ | define('OW_URL_USERFILES', OW_URL_HOME.'ow_userfiles/'); | ||
+ | define('OW_DIR_PLUGINFILES', OW_DIR_ROOT.'ow_pluginfiles/'); | ||
+ | |||
+ | define('OW_PASSWORD_SALT', '4f6feaede4582'); | ||
+ | |||
+ | define('OW_DIR_CORE', OW_DIR_ROOT.'ow_core'.DS); | ||
+ | define('OW_DIR_INC', OW_DIR_ROOT.'ow_includes'.DS); | ||
+ | define('OW_DIR_LIB', OW_DIR_ROOT.'ow_libraries'.DS); | ||
+ | define('OW_DIR_UTIL', OW_DIR_ROOT.'ow_utilities'.DS); | ||
+ | define('OW_DIR_PLUGIN', OW_DIR_ROOT.'ow_plugins'.DS); | ||
+ | define('OW_DIR_THEME', OW_DIR_ROOT.'ow_themes'.DS); | ||
+ | define('OW_DIR_SYSTEM_PLUGIN', OW_DIR_ROOT.'ow_system_plugins'.DS); | ||
+ | define('OW_DIR_SMARTY', OW_DIR_ROOT.'ow_smarty'.DS); | ||
+ | |||
+ | define('OW_USE_CLOUDFILES', false); | ||
+ | |||
+ | if ( defined('OW_CRON') ) | ||
+ | { | ||
+ | define('OW_DEBUG_MODE', false); | ||
+ | define('OW_DEV_MODE', false); | ||
+ | define('OW_PROFILER_ENABLE', false); | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | /** | ||
+ | * Make changes in this block if you want to enable DEV mode and DEBUG mode | ||
+ | */ | ||
+ | |||
+ | define('OW_DEBUG_MODE', false); | ||
+ | define('OW_DEV_MODE', false); | ||
+ | define('OW_PROFILER_ENABLE', false); | ||
+ | } | ||
==Referensi== | ==Referensi== |
Revision as of 11:08, 26 March 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 mysql-doc-5.0 postfix
Download dari
http://www.oxwall.org/ http://www.oxwall.org/download
Misalnya server berada di IP address 192.168.0.62
scp ow_core_update_pack_1.3.1.zip onno@192.168.0.62: scp oxwall-1.3.1.zip onno@192.168.0.62:
masuk ke server
ssh onno@192.168.0.62 sudo su
Siapkan database
# mysql -u root -p123456
create database oxwall; grant ALL on root.* to oxwall@localhost; grant ALL on oxwall.* to oxwall@localhost identified by 'oxwall'; grant ALL on oxwall.* to oxwall identified by 'oxwall'; exit
Install oxwall
mkdir /var/www/oxwall cp oxwall-1.3.1.zip /var/www/oxwall cp ow_core_update_pack_1.3.1.zip /var/www/oxwall cd /var/www/oxwall/ unzip oxwall-1.3.1.zip chmod -Rf 755 * chmod -Rf 777 ow_pluginfiles/ chown -Rf www-data.www-data /var/www/oxwall
Edit crontab
crontab -e
* * * * * /usr/local/bin/php /your/path/to/oxwall/ow_cron/run.php
Selesaikan instalasi melalui web
http://ip-server/oxwall/
Edit
vi /var/www/oxwall/ow_includes/config.php
<?php define('OW_URL_HOME', 'http://10.150.5.249/oxwall/'); define('OW_DB_HOST', 'localhost'); define('OW_DB_PORT', null); define('OW_DB_USER', 'oxwall'); define('OW_DB_PASSWORD', 'oxwall'); define('OW_DB_NAME', 'oxwall'); define('OW_DB_PREFIX', 'ow_'); define('OW_DIR_USERFILES', OW_DIR_ROOT.'ow_userfiles'.DS); define('OW_DIR_STATIC', OW_DIR_ROOT.'ow_static'.DS); define('OW_URL_STATIC', OW_URL_HOME.'ow_static/'); define('OW_URL_USERFILES', OW_URL_HOME.'ow_userfiles/'); define('OW_DIR_PLUGINFILES', OW_DIR_ROOT.'ow_pluginfiles/'); define('OW_PASSWORD_SALT', '4f6feaede4582'); define('OW_DIR_CORE', OW_DIR_ROOT.'ow_core'.DS); define('OW_DIR_INC', OW_DIR_ROOT.'ow_includes'.DS); define('OW_DIR_LIB', OW_DIR_ROOT.'ow_libraries'.DS); define('OW_DIR_UTIL', OW_DIR_ROOT.'ow_utilities'.DS); define('OW_DIR_PLUGIN', OW_DIR_ROOT.'ow_plugins'.DS); define('OW_DIR_THEME', OW_DIR_ROOT.'ow_themes'.DS); define('OW_DIR_SYSTEM_PLUGIN', OW_DIR_ROOT.'ow_system_plugins'.DS); define('OW_DIR_SMARTY', OW_DIR_ROOT.'ow_smarty'.DS); define('OW_USE_CLOUDFILES', false); if ( defined('OW_CRON') ) { define('OW_DEBUG_MODE', false); define('OW_DEV_MODE', false); define('OW_PROFILER_ENABLE', false); } else { /** * Make changes in this block if you want to enable DEV mode and DEBUG mode */ define('OW_DEBUG_MODE', false); define('OW_DEV_MODE', false); define('OW_PROFILER_ENABLE', false); }
Referensi
Pranala Menarik
- Instalasi Mahara Social Networking
- Instalasi OpenPNE Social Networking
- jcow
- oxwall
- elgg