Difference between revisions of "Instalasi PrestaShop"

From OnnoWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
  cd /var/www/
 
  cd /var/www/
 
  unzip prestashop_1.2.5.0.zip
 
  unzip prestashop_1.2.5.0.zip
 +
 +
chown -Rf www-data.www-data /var/www/prestashop
 +
chmod -Rf 744 /var/www/prestashop/config
 +
chmod -Rf 744 /var/www/prestashop/tools/smarty/compile
 +
chmod -Rf 744 /var/www/prestashop/sitemap.xml
 +
chmod -Rf 744 /var/www/prestashop/img
 +
chmod -Rf 744 /var/www/prestashop/mails
 +
chmod -Rf 744 /var/www/prestashop/modules
 +
chmod -Rf 744 /var/www/prestashop/themes/prestashop/lang
 +
chmod -Rf 744 /var/www/prestashop/translations
 +
chmod -Rf 744 /var/www/prestashop/upload
 +
chmod -Rf 744 /var/www/prestashop/download
 +
  
 
Siapkan [[database]]
 
Siapkan [[database]]
Line 39: Line 52:
  
  
 +
 +
 +
 +
 +
 +
Delete folder install
 +
 +
rm -Rf /var/www/prestashop/install
 +
mv /var/www/prestashop/admin/ /var/www/prestashop/admin123
 +
 +
Akses Admin
 +
 +
http://localhost/prestashop/admin123
  
  

Revision as of 22:41, 20 November 2009

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-image-graph php-image-canvas php-pear vsftpd

Download source code di

http://www.prestashop.com/en/downloads/

Copy source code

cp prestashop_1.2.5.0.zip /var/www/
cd /var/www/
unzip prestashop_1.2.5.0.zip
chown -Rf www-data.www-data /var/www/prestashop
chmod -Rf 744 /var/www/prestashop/config
chmod -Rf 744 /var/www/prestashop/tools/smarty/compile
chmod -Rf 744 /var/www/prestashop/sitemap.xml
chmod -Rf 744 /var/www/prestashop/img
chmod -Rf 744 /var/www/prestashop/mails
chmod -Rf 744 /var/www/prestashop/modules
chmod -Rf 744 /var/www/prestashop/themes/prestashop/lang
chmod -Rf 744 /var/www/prestashop/translations
chmod -Rf 744 /var/www/prestashop/upload
chmod -Rf 744 /var/www/prestashop/download


Siapkan database

# mysql -u root -p
Enter password:
create database prestashop;
grant INSERT,SELECT on root.* to prestashop@localhost;
grant CREATE, INSERT, SELECT, DELETE, UPDATE on prestashop.* to prestashop@localhost identified by 'prestashopass';
grant CREATE, INSERT, SELECT, DELETE, UPDATE on prestashop.* to prestashop identified by 'prestashopass';
exit

Bagi anda yang masih pemula, ada baiknya menggunakan perintah

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

masuk ke situs prestashop untuk menyelesaikan instalasi

http://localhost/prestashop




Delete folder install

rm -Rf /var/www/prestashop/install
mv /var/www/prestashop/admin/ /var/www/prestashop/admin123

Akses Admin

http://localhost/prestashop/admin123



Pranala Menarik