なので初期データとしてサンプルデータを取り込みましょう。
先ほどと同様ダウンロードページから入手できます。
http://www.magentocommerce.com/download
MySQLの設定
MySQLにデータベースを作成し、必要なデータを入れていきます。
本サイトではSSHでサーバにログインすることを前提に手順を書いていきます。
ご利用のホスティング会社によって、SSHでのログインを許容していないところがあると思いますので、その場合はphpmyadminが使えると思います。
phpmyadminの使い方はとても簡単です。これからご説明する作業も簡単なものですので、ぜひ内容を読み替えて設定を進めていただければと思います。
まずはデータベースを作成します。わかりやすく"Magento"という名前にします。
次にユーザーを作ります。
作ったユーザーにmagentoデータベースへの全権を与えます。
サンプルデータをインポート
次に、先にダウンロードしておいたサンプルデータを入れます。
※Magento本体のインストール作業を始める前にサンプルデータのインポートをする必要があるので、この作業を後回しにしないようにしてください!
ダウンロードしたファイル内にある下記のファイルが対象となります。
サーバへのアップロードはFTPツールを使ってください。ちなみに私はFilezillaを使っています。無料です。
下記がMysqlへのインポートコマンドです。
下記コマンドでMagentoデータベースにテーブルが作成されていることを確認しましょう。
mysql> show tables;
order atorvastatin 10mg pills order lipitor 10mg online cheap lipitor 10mg generic
order ciprofloxacin 500mg online - order amoxiclav sale where can i buy augmentin
order cipro 500mg without prescription - order cephalexin 500mg online purchase amoxiclav
flagyl oral - generic amoxil azithromycin 250mg canada
buy ciprofloxacin generic - buy doxycycline generic erythromycin oral
order valacyclovir 1000mg without prescription - diltiazem cost purchase zovirax generic
stromectol cost in usa - buy ciplox 500mg pills purchase tetracycline for sale
buy flagyl 400mg for sale - buy amoxicillin no prescription buy cheap generic zithromax
ampicillin order doxycycline oral amoxicillin pills
furosemide 40mg ca - cheap capoten 120mg buy captopril sale
glycomet online - generic lincocin purchase lincomycin for sale
buy clozaril cheap - buy altace 5mg generic order pepcid online cheap
buy quetiapine generic - fluvoxamine without prescription eskalith for sale
buy clomipramine 25mg generic - buy cymbalta without prescription doxepin online order
atarax 25mg canada - buy sarafem 40mg for sale buy endep generic
buy augmentin pills - purchase linezolid sale buy cipro 500mg
order amoxicillin without prescription - buy axetil generic cheap cipro 500mg
buy cleocin 150mg without prescription - order suprax 100mg pill buy chloramphenicol tablets
order zithromax 500mg online cheap - ofloxacin online buy ciprofloxacin 500mg tablet
generic ivermectin online - ivermectin 6mg for humans for sale buy cefaclor capsules for sale
ventolin inhalator cost - purchase allegra for sale theophylline generic
desloratadine pills - triamcinolone buy online albuterol price
depo-medrol us - loratadine online astelin 10 ml us
buy micronase 5mg online cheap - brand glucotrol 5mg forxiga pills
order prandin 1mg pills - empagliflozin price generic jardiance 25mg
glucophage 1000mg tablet - precose 25mg us order generic acarbose 25mg
terbinafine pills - buy griseofulvin sale griseofulvin oral
order rybelsus 14 mg pills - order semaglutide 14mg generic buy DDAVP cheap
purchase ketoconazole online - buy generic butenafine over the counter itraconazole 100 mg price
buy generic famciclovir 250mg - buy acyclovir generic buy valaciclovir 1000mg pills
lanoxin online - order generic digoxin 250 mg lasix 40mg drug
order microzide for sale - amlodipine 10mg uk pill zebeta
metoprolol price - micardis oral buy adalat without a prescription
buy nitroglycerin online cheap - combipres without prescription buy generic diovan 160mg