Difference between revisions of "Oxwall: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 20: Line 20:
 
  ssh onno@192.168.0.62
 
  ssh onno@192.168.0.62
 
  sudo su
 
  sudo su
 
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
 
  
 
Siapkan database
 
Siapkan database

Revision as of 10:27, 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/install

ERROR:

The requested URL /oxwall/install was not found on this server.

Referensi

Pranala Menarik