Difference between revisions of "JCow: Instalasi"
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | '''Untuk amannya Instalasi JCow membutuhkan Akses ke Internet secara life''' | ||
+ | |||
+ | ==Asumsi== | ||
+ | Contoh instalasi yang dilakukan di sini berasumsi bahwa [[IP address]] [[server]] adalah 192.168.0.61. | ||
+ | |||
+ | ==Siapkan Apache== | ||
+ | |||
+ | 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]] | ||
+ | |||
+ | service apache2 restart | ||
+ | atau | ||
+ | /etc/init.d/apache2 restart | ||
+ | |||
+ | |||
+ | ==Siapkan Aplikasi Pendukung== | ||
+ | |||
Download ioncube dari | Download ioncube dari | ||
Line 14: | Line 50: | ||
libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear \ | libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear \ | ||
unzip mysql-doc-5.0 | unzip mysql-doc-5.0 | ||
+ | |||
+ | ==Siapkan Database== | ||
Siapkan [[database]] | Siapkan [[database]] | ||
Line 24: | Line 62: | ||
grant CREATE, INSERT, SELECT, DELETE, UPDATE on jcow.* to jcow identified by 'jcow'; | grant CREATE, INSERT, SELECT, DELETE, UPDATE on jcow.* to jcow identified by 'jcow'; | ||
exit | exit | ||
+ | |||
+ | ==Instalasi CMS== | ||
Copy & Instalasi [[CMS]] | Copy & Instalasi [[CMS]] | ||
Line 35: | Line 75: | ||
chown -Rf www-data.www-data /var/www | chown -Rf www-data.www-data /var/www | ||
− | Browse ke | + | Asumsi [[IP address]] [[server]] adalah 192.168.0.61. Browse ke |
− | http:// | + | http://192.168.0.61/jcow/install.php |
+ | atau | ||
+ | http://ip-server/jcow/install.php | ||
+ | |||
+ | |||
+ | [[Image:Jcow-install-1.jpeg|center|200px|thumb]] | ||
Isi melalui [[browser]], misalnya | Isi melalui [[browser]], misalnya | ||
Line 49: | Line 94: | ||
Email | Email | ||
Choose a Password | Choose a Password | ||
+ | |||
+ | Selanjutnya selesai sudah | ||
+ | |||
+ | [[Image:Jcow-install-2.jpeg|center|200px|thumb]] | ||
Melalui shell lakukan | Melalui shell lakukan | ||
Line 64: | Line 113: | ||
chmod 755 /var/www/jcow/loader-wizard.php | chmod 755 /var/www/jcow/loader-wizard.php | ||
− | Konfigurasi melalui Web ke | + | Jika kita punya file ioncube_loaders_lin_x86.tar.bz2 atau |
+ | |||
+ | wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2 | ||
+ | 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 | ||
+ | |||
+ | Edit ionCube.ini di konfigurasi php5 | ||
+ | |||
+ | vi /etc/php5/apache2/conf.d/20ioncube.ini | ||
+ | isi dengan | ||
+ | zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader_lin_5.3.so | ||
+ | |||
+ | |||
+ | Konfigurasi melalui [[Web]] ke | ||
+ | |||
+ | http://192.168.0.61/jcow/loader-wizard.php | ||
+ | atau | ||
+ | http://ip-server/jcow/loader-wizard.php | ||
+ | |||
+ | * Cek loader menggunakan | ||
+ | http://192.168.0.61/jcow/loader-wizard.php?timeout=0&ini=0&page=loader_check | ||
+ | |||
+ | [[Image:Jcow-install-11.jpeg|center|200px|thumb]] | ||
+ | |||
+ | Pastikan keluar kata-kata | ||
+ | |||
+ | Loader Installed Successfully | ||
+ | The ionCube Loader version 4.0.14 for PHP 5.3 is installed and encoded files should run successfully. | ||
+ | |||
+ | Kita dapat mengakses jcow melalui | ||
+ | |||
+ | http://192.168.0.61/jcow | ||
+ | atau | ||
+ | http://ip-server/jcow | ||
+ | |||
+ | |||
+ | ==Beberapa Error== | ||
+ | ===ERROR: ioncube belum terinstalasi=== | ||
+ | |||
+ | [[Image:Jcow-install-3.jpeg|center|200px|thumb]] | ||
+ | |||
+ | Site error: the file /var/www/jcow/includes/libs/ss.inc.php requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation. | ||
+ | |||
+ | '''Solusi:''' | ||
+ | Instalasi ionCube. Akses melalui[[Web]] | ||
+ | |||
+ | http://192.168.0.61/jcow/loader-wizard.php | ||
+ | atau | ||
http://ip-server/jcow/loader-wizard.php | http://ip-server/jcow/loader-wizard.php | ||
− | asumsi | + | [[Image:Jcow-install-4.jpeg|center|200px|thumb]] |
+ | |||
+ | [[Image:Jcow-install-5.jpeg|center|200px|thumb]] | ||
+ | |||
+ | asumsi [[IP address]] adalah 192.168.0.61, maka sesuai instruksi dari loader-wizard | ||
* Download | * Download | ||
+ | |||
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2 | http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2 | ||
+ | |||
* scp ke web server, misalnya, | * scp ke web server, misalnya, | ||
+ | |||
scp ioncube_loaders_lin_x86.tar.bz2 onno@192.168.0.61: | scp ioncube_loaders_lin_x86.tar.bz2 onno@192.168.0.61: | ||
+ | |||
* ssh ke web server, misalnya | * ssh ke web server, misalnya | ||
+ | |||
ssh onno@192.168.0.61 | ssh onno@192.168.0.61 | ||
+ | |||
* Copy ioncube ke /usr/lib/php5/20090626+lfs | * Copy ioncube ke /usr/lib/php5/20090626+lfs | ||
+ | |||
cp ioncube_loaders_lin_x86.tar.bz2 /usr/lib/php5/20090626+lfs | cp ioncube_loaders_lin_x86.tar.bz2 /usr/lib/php5/20090626+lfs | ||
cd /usr/lib/php5/20090626+lfs | cd /usr/lib/php5/20090626+lfs | ||
Line 82: | Line 192: | ||
chown -Rf root.root /usr/lib/php5/20090626+lfs | chown -Rf root.root /usr/lib/php5/20090626+lfs | ||
cp /usr/lib/php5/20090626+lfs/ioncube/* /usr/lib/php5/20090626+lfs | cp /usr/lib/php5/20090626+lfs/ioncube/* /usr/lib/php5/20090626+lfs | ||
+ | |||
+ | [[Image:Jcow-install-6.jpeg|center|200px|thumb]] | ||
+ | |||
+ | [[Image:Jcow-install-7.jpeg|center|200px|thumb]] | ||
+ | |||
+ | [[Image:Jcow-install-8.jpeg|center|200px|thumb]] | ||
+ | |||
+ | [[Image:Jcow-install-9.jpeg|center|200px|thumb]] | ||
+ | |||
+ | [[Image:Jcow-install-10.jpeg|center|200px|thumb]] | ||
+ | |||
* Save file 20ioncube.ini | * Save file 20ioncube.ini | ||
+ | |||
scp 20ioncube.ini onno@192.168.0.61: | scp 20ioncube.ini onno@192.168.0.61: | ||
ssh onno@192.168.0.61 | ssh onno@192.168.0.61 | ||
cp 20ioncube.ini /etc/php5/apache2/conf.d | cp 20ioncube.ini /etc/php5/apache2/conf.d | ||
+ | |||
* Pastikan | * Pastikan | ||
vi /etc/php5/apache2/conf.d/20ioncube.ini | vi /etc/php5/apache2/conf.d/20ioncube.ini | ||
Line 92: | Line 215: | ||
* Restart Apache2 | * Restart Apache2 | ||
/etc/init.d/apache2 restart | /etc/init.d/apache2 restart | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ===ERROR: situs tidak bisa di akses=== | ||
+ | |||
+ | The requested URL /jcow/feed was not found on this server. | ||
+ | The requested URL /jcow/member/signup was not found on this server. | ||
+ | dll. | ||
+ | |||
+ | '''Solusi:''' | ||
+ | |||
+ | 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]] | ||
+ | service apache2 restart | ||
+ | atau | ||
+ | /etc/init.d/apache2 restart | ||
==Pranala Menarik== | ==Pranala Menarik== |
Latest revision as of 07:58, 1 April 2012
Untuk amannya Instalasi JCow membutuhkan Akses ke Internet secara life
Asumsi
Contoh instalasi yang dilakukan di sini berasumsi bahwa IP address server adalah 192.168.0.61.
Siapkan Apache
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
service apache2 restart
atau
/etc/init.d/apache2 restart
Siapkan Aplikasi Pendukung
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
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
Instalasi CMS
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
Asumsi IP address server adalah 192.168.0.61. Browse ke
http://192.168.0.61/jcow/install.php
atau
http://ip-server/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
Selanjutnya selesai sudah
Melalui shell lakukan
rm -Rf /var/www/jcow/install.php
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
Jika kita punya file ioncube_loaders_lin_x86.tar.bz2 atau
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2 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
Edit ionCube.ini di konfigurasi php5
vi /etc/php5/apache2/conf.d/20ioncube.ini
isi dengan
zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader_lin_5.3.so
Konfigurasi melalui Web ke
http://192.168.0.61/jcow/loader-wizard.php
atau
http://ip-server/jcow/loader-wizard.php
- Cek loader menggunakan
http://192.168.0.61/jcow/loader-wizard.php?timeout=0&ini=0&page=loader_check
Pastikan keluar kata-kata
Loader Installed Successfully The ionCube Loader version 4.0.14 for PHP 5.3 is installed and encoded files should run successfully.
Kita dapat mengakses jcow melalui
http://192.168.0.61/jcow
atau
http://ip-server/jcow
Beberapa Error
ERROR: ioncube belum terinstalasi
Site error: the file /var/www/jcow/includes/libs/ss.inc.php requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
Solusi: Instalasi ionCube. Akses melaluiWeb
http://192.168.0.61/jcow/loader-wizard.php
atau
http://ip-server/jcow/loader-wizard.php
asumsi IP address 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
ERROR: situs tidak bisa di akses
The requested URL /jcow/feed was not found on this server. The requested URL /jcow/member/signup was not found on this server. dll.
Solusi:
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
service apache2 restart
atau
/etc/init.d/apache2 restart
Pranala Menarik
- Instalasi Mahara Social Networking
- Instalasi OpenPNE Social Networking
- jcow
- oxwall
- elgg