Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Install wordpress on EC2

Daniel Tseng
September 26, 2013

Install wordpress on EC2

2013.09.26 talk in NTU garage
Shaolin Hsu補充:不用設 elastic ip 之後也可以連線,特在此更正!

Daniel Tseng

September 26, 2013
Tweet

More Decks by Daniel Tseng

Other Decks in Programming

Transcript

  1. Agenda Create your EC2 Set up Security Group Elastic IP

    SSH to your instance Set up environment Install wordpress
  2. Elastic IP Network & Security --> Elastic IPs . 將IP

    associate到Instance 此時Instance的Elastic ip會出現剛申請的ip
  3. Install wordpress 創建DB給wordpress使用 創建user 設定密碼 CREATE DATABASE wordpress; CREATE USER

    wordpressuser@localhost; SET PASSWORD FOR wordpressuser@localhost =PASSWORD("password");
  4. Install wordpress 讓user有使用權 refresh mysql GRANT ALL PRIVILEGES ON wordpress.*

    TO wordpressuser@localhost IDENTIFIED BY 'password'; FLUSH PRIVILEGES;