Difference between revisions of "Instalasi PHPMotion"

From OnnoWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
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 23: Line 25:
 
  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 35: Line 37:
 
  Thread saftery = disabled
 
  Thread saftery = disabled
 
  enable_dl = On  
 
  enable_dl = On  
 +
 +
Akses [[Web] melalui alamat
 +
 +
http://localhost/phpmotion/setup
  
  

Revision as of 07:46, 21 November 2009

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 wordpress@localhost identified by 'phpmotion';
grant ALL on phpmotion.* to wordpress 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