diff options
| author | davidtsadler <davidtsadler@googlemail.com> | 2012-05-16 22:07:06 +0100 |
|---|---|---|
| committer | davidtsadler <davidtsadler@googlemail.com> | 2012-05-16 22:07:06 +0100 |
| commit | a9c0c81dd39a7e9b82781c2fa5b6471f99e523aa (patch) | |
| tree | ac8f8a09c05fdeecc5e94ef3368c2a9225b1ebb7 | |
| parent | 7d335cb6cdef5ae39f58fd9c563b1ab30c7f1a24 (diff) | |
Save work in progress.
| -rw-r--r-- | _site_build/_posts/2012-04-21-how-to-install-magento-on-ubuntu.markdown | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/_site_build/_posts/2012-04-21-how-to-install-magento-on-ubuntu.markdown b/_site_build/_posts/2012-04-21-how-to-install-magento-on-ubuntu.markdown index 3175803..00b5428 100644 --- a/_site_build/_posts/2012-04-21-how-to-install-magento-on-ubuntu.markdown +++ b/_site_build/_posts/2012-04-21-how-to-install-magento-on-ubuntu.markdown @@ -9,7 +9,7 @@ comments: true google_plus: true twitter_share: true facebook_like: true -published: true +published: false licensed: true --- By the end of this guide you will have installed Magento, and some sample data, locally on Ubuntu. This will allow you to get to grips with the software before installing it onto a production server. In addition to Magento I will take you through installing Apache, PHP and MySQL. I'm going to assume that you are using Ubuntu 12.04 (Precise Pangolin) and that you wish to install version 1.7.0.0 of Magento. You're results may vary if you are using different versions. @@ -210,7 +210,7 @@ We need to create a database for Magento and a MySQL user that it can use to acc CREATE DATABASE magento; INSERT INTO mysql.user (User,Host,Password) VALUES('magento','localhost',PASSWORD('magento')); FLUSH PRIVILEGES; -GRANT ALL PRIVILEGES ON magento.* to magento@localhost; +GRANT ALL PRIVILEGES ON magento.* TO magento@localhost; FLUSH PRIVILEGES; exit {% endhighlight %} @@ -263,9 +263,9 @@ mysql -u magento -p When prompted enter `magento` as the password and then enter the following sql statements to load in the sample data. -{% highlight sql %} -use magento; -source data.sql +{% highlight mysql %} +USE magento; +SOURCE data.sql; exit {% endhighlight %} |
