If you receive a file with 7z extension, it means the file is compressed using 7zip approach. The decoder is not available by default on Ubuntu.
So you need to install p7zip-full in order to be able to decompress it with the command: p7zip x file.7z
I always forget the tricks I use for software installation or configuration. I will use this blog as a reminder.
Friday, June 8, 2012
Tuesday, June 5, 2012
Install magento on Ubuntu
- Download The latest version of magenta on: http://www.magentocommerce.com/
- Install zend: sudo apt-get install zend-framework
- Decompress the tar.gz file from magento you downloaded and copy it on /var/www/data
- Change the owner of the magento folder: sudo chown -R www-data /var/www/data
- Install addiditional libraries needed by magento: sudo apt-get install php5-gd php5-curl php5-mcrypt php5-mysql
- Restart apache to make sure the changes are applied: sudo /etc/init.d/apache2 restart
- Magento should be properly installed: go on http://127.0.0.1/magento and fill the wizard
You should arrive to a page asking for mysql credentials. if you did not install them already, follow these steps:
- sudo apt-get install mysql-server
- Follow the instructions and set the root password to the database
- Run mysql script: mysql --user=root --password=XXXX where XXXX is the password you specified in previous step
- Create the magento schema: create schema magento;
- Exit the script: exit;
Note: This is by no mean a production environment installation. It is just a technique to have the server up and running.
Subscribe to:
Comments (Atom)