Difference between revisions of "Instalasi PHPMotion"

From OnnoWiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Instalasi software pendukung
 +
 +
* [[Instalasi phpSHIELD]] '''(masalah)'''
 +
 
Download [[source code]]
 
Download [[source code]]
  
 
  http://phpmotion.com
 
  http://phpmotion.com
 
  http://phpmotion.com/content/view/1/180/
 
  http://phpmotion.com/content/view/1/180/
 
+
http://phpmotion.com/forum/index.php/topic,11485.0.html
  
 
copy [[source code]]
 
copy [[source code]]
  
  cp PHP5.zip /var/www/
+
  cp phpmotion.zip /var/www/
 
  cd /var/www/
 
  cd /var/www/
  unzip PHP5.zip  
+
  unzip phpmotion.zip  
  mv /var/www/PHP5/PHPmotion /var/www/
+
  chown -Rf www-data.www-data /var/www/phpmotion
  rm -Rf /var/www/PHP5
+
chmod -Rf 744 /var/www/phpmotion
 +
  chmod -Rf 755 /var/www/phpmotion/cgi-bin
  
 
Siapkan [[database]] untuk [[PHPmotion]]
 
Siapkan [[database]] untuk [[PHPmotion]]
Line 19: Line 24:
 
  create database phpmotion;
 
  create database phpmotion;
 
  grant ALL on root.* to phpmotion@localhost;
 
  grant ALL on root.* to phpmotion@localhost;
  grant ALL on phpmotion.* to wordpress@localhost identified by 'phpmotion';
+
  grant ALL on phpmotion.* to phpmotion@localhost identified by 'phpmotion';
  grant ALL on phpmotion.* to wordpress identified by 'phpmotion';
+
  grant ALL on phpmotion.* to phpmotion identified by 'phpmotion';
 
  exit
 
  exit
  
Set php.ini
+
Set php.ini (keamanan menjadi terbuka disini)
  
 
  vi /etc/php5/apache2/php.ini
 
  vi /etc/php5/apache2/php.ini
  
  open_basedir = (no value)
+
  open_basedir = <kosong>
 
  upload_max_filesize = 100M
 
  upload_max_filesize = 100M
 
  post_max_size = 100M
 
  post_max_size = 100M
Line 36: Line 41:
 
  enable_dl = On  
 
  enable_dl = On  
  
 +
Akses [[Web] melalui alamat
  
 
+
http://localhost/phpmotion/setup
 
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[Linux Howto]]
 
* [[Linux Howto]]

Latest revision as of 08:09, 21 November 2009

Instalasi software pendukung

Download source code

http://phpmotion.com
http://phpmotion.com/content/view/1/180/
http://phpmotion.com/forum/index.php/topic,11485.0.html

copy source code

cp phpmotion.zip /var/www/
cd /var/www/
unzip phpmotion.zip 
chown -Rf www-data.www-data /var/www/phpmotion
chmod -Rf 744 /var/www/phpmotion
chmod -Rf 755 /var/www/phpmotion/cgi-bin

Siapkan database untuk PHPmotion

# mysql -u root -p
Enter password:
create database phpmotion;
grant ALL on root.* to phpmotion@localhost;
grant ALL on phpmotion.* to phpmotion@localhost identified by 'phpmotion';
grant ALL on phpmotion.* to phpmotion identified by 'phpmotion';
exit

Set php.ini (keamanan menjadi terbuka disini)

vi /etc/php5/apache2/php.ini
open_basedir = <kosong>
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 1500
session.gc_maxlifetime = 14000
safe_mode = off
Thread saftery = disabled
enable_dl = On 

Akses [[Web] melalui alamat

http://localhost/phpmotion/setup

Pranala Menarik