Difference between revisions of "JCow: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
Siapkan ioncube
+
Download ioncube dari
  
 
  http://www.ioncube.com/loaders.php
 
  http://www.ioncube.com/loaders.php
 
 
  wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
 
  wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
 
  wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86_ipf.zip
 
  wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86_ipf.zip
 
  
 
Download jcow dari
 
Download jcow dari
Line 41: Line 39:
 
  http://localhost/jcow/install.php
 
  http://localhost/jcow/install.php
  
Isi melalui browser
+
Isi melalui [[browser]], misalnya
  
 
  Database    jcow
 
  Database    jcow
Line 80: Line 78:
  
  
 +
Install ioncube
  
 +
mkdir /usr/local/ioncube
 +
cp ioncube_loaders_lin_x86.tar.bz2 /usr/local/
 +
cd /usr/local/
 +
tar jxvf ioncube_loaders_lin_x86.tar.bz2
 +
cp /usr/local/ioncube/loader-wizard.php /var/www/jcow
 +
chown -Rf www-data.www-data /var/www/jcow
 +
chmod 755 /var/www/jcow/loader-wizard.php
  
 +
Konfigurasi melalui Web ke
  
** Installing to a remote UNIX/LINUX DEDICATED or VPS server
+
http://ip-server/jcow/loader-wizard.php
  
 +
asumsi ip-server adalah 192.168.0.61, maka sesuai instruksi dari loader-wizard
  
 +
* Download
 +
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2
 +
* scp ke web server, misalnya,
 +
scp ioncube_loaders_lin_x86.tar.bz2 onno@192.168.0.61:
 +
* ssh ke web server, misalnya
 +
ssh onno@192.168.0.61
 +
* Copy ioncube ke /usr/lib/php5/20090626+lfs
 +
cp ioncube_loaders_lin_x86.tar.bz2 /usr/lib/php5/20090626+lfs
 +
cd /usr/lib/php5/20090626+lfs
 +
tar jxvf ioncube_loaders_lin_x86.tar.bz2
 +
chown -Rf root.root /usr/lib/php5/20090626+lfs
 +
cp /usr/lib/php5/20090626+lfs/ioncube/* /usr/lib/php5/20090626+lfs
 +
* Save file 20ioncube.ini
 +
scp 20ioncube.ini onno@192.168.0.61:
 +
ssh onno@192.168.0.61
 +
cp 20ioncube.ini /etc/php5/apache2/conf.d
 +
* Pastikan
 +
vi /etc/php5/apache2/conf.d/20ioncube.ini
  
1. Upload the contents of this package to /usr/local/ioncube
+
zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader_lin_5.3.so
 
+
* Restart Apache2
 
+
/etc/init.d/apache2 restart
 
+
* Cek loader menggunakan
2. Copy the loader-wizard.php script to the root web directory of a
+
http://192.168.0.61/jcow/loader-wizard.php?timeout=0&ini=0&page=loader_check
 
+
  configured domain on the server
 
 
 
 
 
 
 
2. Launch the Loader Wizard script in your browser. For example:
 
 
 
    http://yourdomain/loader-wizard.php
 
 
 
 
Kita dapat mengakses jcow melalui
 
Kita dapat mengakses jcow melalui
  

Revision as of 05:40, 26 March 2012

Download ioncube dari

http://www.ioncube.com/loaders.php
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86_ipf.zip

Download jcow dari

http://www.jcow.net/download/

Instalasi aplikasi pendukung

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

Siapkan database

# mysql -u root -p123456
create database jcow;
grant INSERT,SELECT on root.* to jcow@localhost;
grant CREATE, INSERT, SELECT, DELETE, UPDATE on jcow.* to jcow@localhost identified by 'jcow';
grant CREATE, INSERT, SELECT, DELETE, UPDATE on jcow.* to jcow identified by 'jcow';
exit

Copy & Instalasi CMS

mkdir /var/www/
mkdir /var/www/jcow
cp jcow.7.0.ce.zip /var/www/jcow
cd /var/www/jcow
unzip jcow.7.0.ce.zip
rm -Rf /var/www/jcow/upgrade*
chown -Rf www-data.www-data /var/www

Browse ke

http://localhost/jcow/install.php

Isi melalui browser, misalnya

Database     jcow
DB Host      localhost
DB name      jcow
DB Username  jcow	
DB Password  jcow
Website URL  http://192.168.0.61/jcow
Email	
Choose a Password	

Melalui shell lakukan

rm -Rf /var/www/jcow/install.php 


Siapkan ioncube

    • Installing to a remote SHARED server


1. Upload the contents of this package to a directory/folder called ioncube

  within your main web scripts area. 


2. Launch the Loader Wizard script in your browser. For example:

    http://yourdomain/ioncube/loader-wizard.php


If the wizard is not found, carefully check the location where you uploaded

the Loaders and the wizard script to on your server.


Install ioncube

mkdir /usr/local/ioncube
cp ioncube_loaders_lin_x86.tar.bz2 /usr/local/
cd /usr/local/
tar jxvf ioncube_loaders_lin_x86.tar.bz2 
cp /usr/local/ioncube/loader-wizard.php /var/www/jcow
chown -Rf www-data.www-data /var/www/jcow
chmod 755 /var/www/jcow/loader-wizard.php

Konfigurasi melalui Web ke

http://ip-server/jcow/loader-wizard.php

asumsi ip-server adalah 192.168.0.61, maka sesuai instruksi dari loader-wizard

  • Download
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2
  • scp ke web server, misalnya,
scp ioncube_loaders_lin_x86.tar.bz2 onno@192.168.0.61:
  • ssh ke web server, misalnya
ssh onno@192.168.0.61
  • Copy ioncube ke /usr/lib/php5/20090626+lfs
cp ioncube_loaders_lin_x86.tar.bz2 /usr/lib/php5/20090626+lfs
cd /usr/lib/php5/20090626+lfs
tar jxvf ioncube_loaders_lin_x86.tar.bz2
chown -Rf root.root /usr/lib/php5/20090626+lfs
cp /usr/lib/php5/20090626+lfs/ioncube/* /usr/lib/php5/20090626+lfs
  • Save file 20ioncube.ini
scp 20ioncube.ini onno@192.168.0.61:
ssh onno@192.168.0.61
cp 20ioncube.ini /etc/php5/apache2/conf.d
  • Pastikan
vi /etc/php5/apache2/conf.d/20ioncube.ini
zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader_lin_5.3.so
  • Restart Apache2
/etc/init.d/apache2 restart
  • Cek loader menggunakan
http://192.168.0.61/jcow/loader-wizard.php?timeout=0&ini=0&page=loader_check

Kita dapat mengakses jcow melalui

http://



Pranala Menarik