Difference between revisions of "Instalasi PrestaShop"

From OnnoWiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Instalasi aplikasi pendukung
 
Instalasi aplikasi pendukung
  
  # apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \
+
  sudo su
  php5-mysql php5-gd php5-curl php-image-graph php-image-canvas php-pear vsftpd
+
apt-get install apache2 mysql-server libmysqlclient15-dev \
 +
libphp-adodb libgd2-xpm-dev unzip \
 +
  php5-mysql php5-gd php5-curl php-pear mcrypt
  
 
Download [[source code]] di
 
Download [[source code]] di
  
 +
http://sourceforge.net/projects/prestashop/files
 
  http://www.prestashop.com/en/downloads/
 
  http://www.prestashop.com/en/downloads/
 +
https://www.prestashop.com/en/download
  
 
Copy [[source code]]
 
Copy [[source code]]
  
  cp prestashop_1.2.5.0.zip /var/www/
+
  cp prestashop_1.6.1.1.zip /var/www/html/
  cd /var/www/
+
  cd /var/www/html/
  unzip prestashop_1.2.5.0.zip
+
  unzip prestashop_1.6.1.1.zip
  
  chown -Rf www-data.www-data /var/www/prestashop
+
  chown -Rf www-data.www-data /var/www/html/prestashop
  chmod -Rf 744 /var/www/prestashop/config
+
  chmod -Rf 744 /var/www/html/prestashop/config
  chmod -Rf 744 /var/www/prestashop/tools/smarty/compile
+
  chmod -Rf 744 /var/www/html/prestashop/tools/smarty/compile
  chmod -Rf 744 /var/www/prestashop/sitemap.xml
+
  chmod -Rf 744 /var/www/html/prestashop/sitemap.xml
  chmod -Rf 744 /var/www/prestashop/img
+
  chmod -Rf 744 /var/www/html/prestashop/img
  chmod -Rf 744 /var/www/prestashop/mails
+
  chmod -Rf 744 /var/www/html/prestashop/mails
  chmod -Rf 744 /var/www/prestashop/modules
+
  chmod -Rf 744 /var/www/html/prestashop/modules
  chmod -Rf 744 /var/www/prestashop/themes/prestashop/lang
+
  chmod -Rf 744 /var/www/html/prestashop/themes/prestashop/lang
  chmod -Rf 744 /var/www/prestashop/translations
+
  chmod -Rf 744 /var/www/html/prestashop/translations
  chmod -Rf 744 /var/www/prestashop/upload
+
  chmod -Rf 744 /var/www/html/prestashop/download
chmod -Rf 744 /var/www/prestashop/download
 
  
  
Line 39: Line 42:
 
Bagi anda yang masih pemula, ada baiknya menggunakan perintah
 
Bagi anda yang masih pemula, ada baiknya menggunakan perintah
  
  # mysql -u root -p
+
  mysql -u root -p123456
Enter password:
 
 
  create database prestashop;
 
  create database prestashop;
 
  grant ALL on root.* to prestashop@localhost;
 
  grant ALL on root.* to prestashop@localhost;
Line 46: Line 48:
 
  grant ALL on prestashop.* to prestashop identified by 'prestashop';
 
  grant ALL on prestashop.* to prestashop identified by 'prestashop';
 
  exit
 
  exit
 +
 +
Restart Apache
 +
 +
/etc/init.d/apache2 restart
  
 
masuk ke situs prestashop untuk menyelesaikan instalasi
 
masuk ke situs prestashop untuk menyelesaikan instalasi
Line 68: Line 74:
 
Delete folder install
 
Delete folder install
  
  rm -Rf /var/www/prestashop/install
+
  rm -Rf /var/www/html/prestashop/install
  mv /var/www/prestashop/admin/ /var/www/prestashop/admin123
+
  mv /var/www/html/prestashop/admin/ /var/www/html/prestashop/admin123
  
Akses Admin
+
Akses ke Halaman Admin
  
 
  http://localhost/prestashop/admin123
 
  http://localhost/prestashop/admin123
Line 81: Line 87:
  
 
* [[Linux Howto]]
 
* [[Linux Howto]]
 +
* [[Instalasi WebERP]]
 +
* [[Instalasi eGroupWare]]
 +
* [[Instalasi eGroupWare secara manual]]
 +
* [[Instalasi GroupOffice]]

Latest revision as of 12:09, 5 September 2015

Instalasi aplikasi pendukung

sudo su
apt-get install apache2 mysql-server libmysqlclient15-dev \
libphp-adodb libgd2-xpm-dev unzip \
php5-mysql php5-gd php5-curl php-pear mcrypt

Download source code di

http://sourceforge.net/projects/prestashop/files
http://www.prestashop.com/en/downloads/
https://www.prestashop.com/en/download

Copy source code

cp prestashop_1.6.1.1.zip /var/www/html/
cd /var/www/html/
unzip prestashop_1.6.1.1.zip
chown -Rf www-data.www-data /var/www/html/prestashop
chmod -Rf 744 /var/www/html/prestashop/config
chmod -Rf 744 /var/www/html/prestashop/tools/smarty/compile
chmod -Rf 744 /var/www/html/prestashop/sitemap.xml
chmod -Rf 744 /var/www/html/prestashop/img
chmod -Rf 744 /var/www/html/prestashop/mails
chmod -Rf 744 /var/www/html/prestashop/modules
chmod -Rf 744 /var/www/html/prestashop/themes/prestashop/lang
chmod -Rf 744 /var/www/html/prestashop/translations
chmod -Rf 744 /var/www/html/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 -p123456
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

Restart Apache

/etc/init.d/apache2 restart

masuk ke situs prestashop untuk menyelesaikan instalasi

http://localhost/prestashop
Prestashop1.jpeg
Prestashop2.jpeg
Prestashop3.jpeg
Prestashop4.jpeg
Prestashop5.jpeg
Prestashop6.jpeg



Delete folder install

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

Akses ke Halaman Admin

http://localhost/prestashop/admin123



Pranala Menarik