in CMS

Magento installation instructions.

วันนี้มีโอกาสได้ทดลองใช้ CMS สำหรับ E-Commerce Website โดย @KayEss แนะนำให้ลอง Magento ดู พบว่าเข้าท่ามากมาย ลองมาดูวิธีการติดตั้งกันครับ

Software requirement:

  • Linux, Windows, or another UNIX-compatible operating system
  • Apache Web Server (1.x or 2.x)
  • PHP 5.2.0 or newer, with the following extensions/addons:
    • PDO/MySQL
    • MySQLi
    • mcrypt
    • mhash
    • simplexml
    • DOM
  • MySQL 4.1.20 or newer
  • InnoDB storage engine
  • A Sendmail-compatible Mail Transfer Agent (MTA)
    • Magento will connect directly to an SMTP server if you don’t have an MTA

Installation

  1. install necessories packages.

    sudo apt-get install php5-mhash php5-mcrypt php5-mysql

  2. Download the .zip, .tar.bz2 or .tar.gz file from the Magento website and decompress it.

    tar -xvf magento-1.3.1.tar.bz2 magento/

  3. Create a MySQL database and user/password for Magento
  4. Ensure that the directories app/etc ,var , and media are writable by the web server.

    cd magento
    sudo chmod -R www-data:www-data app/etc
    sudo chmod -R www-data:www-data var/
    sudo chmod -R www-data:www-data media/

    if you can’t chown you can chmod to status 777

  5. Make vhost for magento site
    • Add new vhost for magento

      sudo gedit /etc/apache2/sites-available/magento

      Add vhost and save as magento

      <VirtualHost *:80>
      DocumentRoot /home/kowito/Projects/magento
      ServerName magento.caravaggio.felspar.net
      </VirtualHost>

    • Enable site

      sudo a2ensite magento

    • reload apache configuration

      sudo /etc/init.d/apache2 reload

Now use your web browser to surf to the Magento installation wizard http://magento.caravaggio.felspar.net .
License agreement
Magento Installation Wizard_1
Insert localize information(i can’t see UK currency)
Magento Installation Wizard_2
Database configuration
Magento Installation Wizard_3
Create admin account
Magento Installation Wizard_4
Well done!!
Magento Installation Wizard_5
First homepage!!
Magento Installation Wizard_6
Backend !!
Magento Installation Wizard_7
Backend interface
Magento Installation Wizard_8

Write a Comment

Comment

  1. ขอวิธีติดตั้ง Theme Magento หน่อยครับ ผมใช้ magento-1.3.2.4 และxampp-win32-1[1].7.1 และผมได้ download Theme Magento จาก http://www.hiddenpixels.com/designer-and-developer-resources/free-magento-themes-templates/# โดยเลือก Theme นี้ครับ http://freedemo.templates-master.com/f002 ( Magento Classic Theme ) ครับ ช่วยแนะนำหน่อยครับ ขอบคุณ