Oxwall: Instalasi: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
No edit summary
Onnowpurbo (talk | contribs)
 
(14 intermediate revisions by the same user not shown)
Line 6: Line 6:
  unzip mysql-doc-5.0 postfix
  unzip mysql-doc-5.0 postfix


Download dari
Enable mod_rewrite di apache
 
sudo a2enmod rewrite
 
Alternatif lain
 
vi /etc/apache2/sites-enabled/000-default
 
DocumentRoot /var/www
<Directory />
      Options FollowSymLinks
      AllowOverride '''all'''
</Directory>
<Directory /var/www/>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride '''all'''
      Order allow,deny
      allow from all
</Directory>
Restart Apache
 
/etc/init.d/apache2 restart
 
 
Download [[Oxwall]] dari


  http://www.oxwall.org/
  http://www.oxwall.org/
  http://www.oxwall.org/download
  http://www.oxwall.org/download


Misalnya server berada di IP address 192.168.0.62
Misalnya server berada di [[IP address]] 192.168.0.63


  scp ow_core_update_pack_1.3.1.zip onno@192.168.0.62:
  scp ow_core_update_pack_1.3.1.zip onno@192.168.0.63:
  scp oxwall-1.3.1.zip onno@192.168.0.62:
  scp oxwall-1.3.1.zip onno@192.168.0.63:


masuk ke server
masuk ke [[server]]


  ssh onno@192.168.0.62
  ssh onno@192.168.0.63
  sudo su
  sudo su


 
Siapkan [[database]]
Siapkan database


  # mysql -u root -p123456
  # mysql -u root -p123456
Line 42: Line 66:
  chmod -Rf 777 ow_pluginfiles/
  chmod -Rf 777 ow_pluginfiles/
  chown -Rf www-data.www-data /var/www/oxwall
  chown -Rf www-data.www-data /var/www/oxwall
==Selesaikan Instalasi Melalui Web==
Selesaikan instalasi melalui [[web]]
http://192.168.0.63/oxwall
atau
http://ip-server/oxwall/
[[Image:Oxwall-install-1.jpeg|center|200px|thumb]]
Title     Situs Oxwall
Tagline            Oxwallsite
URL     http://192.168.0.63/oxwall
Root directory      /var/www/oxwall
Email     administrator@oxwallsite.org
Username            administrator
Password     passwordadministrator
[[Image:Oxwall-install-2.jpeg|center|200px|thumb]]
Host localhost
User oxwall
Password oxwall
Database Name oxwall
Table prefix  ow_
==Edit Konfigurasi==
[[Image:Oxwall-install-3.jpeg|center|200px|thumb]]
Edit
vi /var/www/oxwall/ow_includes/config.php
<?php
define('OW_URL_HOME', 'http://192.168.0.63/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);
}


Edit crontab
Edit crontab
Line 48: Line 155:


  * * * * * /usr/local/bin/php /your/path/to/oxwall/ow_cron/run.php
  * * * * * /usr/local/bin/php /your/path/to/oxwall/ow_cron/run.php
[[Image:Oxwall-install-4.jpeg|center|200px|thumb]]
[[Image:Oxwall-install-5.jpeg|center|200px|thumb]]
[[Image:Oxwall-install-6.jpeg|center|200px|thumb]]


==Referensi==
==Referensi==
Line 59: Line 171:
* [[jcow]]
* [[jcow]]
* [[oxwall]]
* [[oxwall]]
* [[Oxwall: Instalasi]]
* [[Oxwall: Administrator]]
* [[Oxwall: Pengguna]]
* [[elgg]]
* [[elgg]]

Latest revision as of 10:26, 31 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

Enable mod_rewrite di apache

sudo a2enmod rewrite

Alternatif lain

vi /etc/apache2/sites-enabled/000-default
DocumentRoot /var/www
<Directory />
     Options FollowSymLinks
     AllowOverride all
</Directory>
<Directory /var/www/>
     Options Indexes FollowSymLinks MultiViews
     AllowOverride all
     Order allow,deny
     allow from all
</Directory>

Restart Apache

/etc/init.d/apache2 restart


Download Oxwall dari

http://www.oxwall.org/
http://www.oxwall.org/download

Misalnya server berada di IP address 192.168.0.63

scp ow_core_update_pack_1.3.1.zip onno@192.168.0.63:
scp oxwall-1.3.1.zip onno@192.168.0.63:

masuk ke server

ssh onno@192.168.0.63
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

Selesaikan Instalasi Melalui Web

Selesaikan instalasi melalui web

http://192.168.0.63/oxwall

atau

http://ip-server/oxwall/
Title 		     Situs Oxwall
Tagline             Oxwallsite
URL 		     http://192.168.0.63/oxwall
Root directory      /var/www/oxwall
Email 		     administrator@oxwallsite.org
Username            administrator
Password 	     passwordadministrator
Host 		localhost
User 		oxwall
Password 	oxwall
Database Name 	oxwall
Table prefix   ow_

Edit Konfigurasi

Edit

vi /var/www/oxwall/ow_includes/config.php
<?php

define('OW_URL_HOME', 'http://192.168.0.63/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); 
}

Edit crontab

crontab -e
* * * * * /usr/local/bin/php /your/path/to/oxwall/ow_cron/run.php


Referensi

Pranala Menarik