Difference between revisions of "Oxwall: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
  ssh onno@192.168.0.62
 
  ssh onno@192.168.0.62
 
 
  sudo su
 
  sudo su
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
 
  
  
Line 37: Line 31:
 
  grant ALL on oxwall.* to oxwall identified by 'oxwall';
 
  grant ALL on oxwall.* to oxwall identified by 'oxwall';
 
  exit
 
  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
  
  

Revision as of 06:17, 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

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


Pranala Menarik