WordPress on Amazon S3: real simple. Launch your own WordPress site to the cloud today!
You don’t even have to change the web hoster.
Step 1. Deploy Cloud Storage Engine (ClouSE) for MySQL on your WordPress site
Step 2. Move the website content to the cloud
Step 3. Activate WP2Cloud plugin
Now WordPress can seamlessly store all its data on the cloud storage.
Using cloud storage to store website data has the following benefits:
• No backup and recovery is needed for site data
• Storage is extremely reliable and durable
• Media files (such as pictures, documents) are served by the cloud storage directly
• Storage cost scales with usage, no upfront reservation is needed
• Storage consumption scales up and down with the amount of data stored
This presentation provides a step-by-step guide for anyone to launch a WordPress site that stores its data in Amazon S3.
Launch your own WordPress site to the cloud today! It’s easy and FREE, no writing code is required. Start at http://www.oblaksoft.com/downloads.
2. Prerequisites
◦ Server machine login
◦ Root access to server machine
◦ Admin access to MySQL server
ClouSE installation
3. From Linux, *nix, Mac client
◦ Start terminal, run:
◦ ssh user@host.com
From Windows PC
◦ Install PuTTY
◦ (See screenshot later in the slides)
If in doubt, ask your hoster!
4. ssh myuser@myserver.com
◦ Log in as user myuser to machine myserver.com
◦ Will be prompted for password
ssh -i mysecret.pem myuser@myserver.com
◦ Use mysecret.pem private key instead of password
ssh root@myserver.com
◦ Log in as user root to myserver.com
5.
6. You can gain root access if you
◦ Either know root password (or SSH private key)
◦ Or can run ‘sudo’ command
If you know root password, you may be able
◦ To login as root
◦ To login as someone else, then run ‘su’ command
If in doubt, ask your hoster!
7. Using ‘su’ command
◦ su
◦ (Enter the root’s password, when prompted)
Using ‘sudo’ command
◦ sudo bash
8. You will need admin access to MySQL server
Command line example
◦ mysql -u root -p
phpMyAdmin example
If in doubt,
ask your hoster!
9. Get it from www.oblaksoft.com/downloads
◦ Pick ClouSE binaries that match your server OS
Upload the archive file to your server
◦ Use the tools you normally use for file uploading
◦ Place the file to the home directory
10. Login to server machine
◦ From Linux, *nix, Mac: ssh …
◦ From Windows: PuTTY …
Extract ClouSE binaries
◦ tar xzf clouse-1.0*.tar.gz
This would create a directory like
◦ clouse-1.0b.1.7-linux-x64
11. cd clouse-1.0*
./install-clouse
◦ You need to be root to run this script
◦ You’ll be prompted for MySQL’s root password
◦ You’ll be prompted for S3 access & secret keys
◦ You’ll be prompted for bucket URL
12. You’ll be prompted for access & secret keys
Click this link to get the keys
13. You’ll be prompted for Bucket URL
Click this link to create / find a bucket
14.
15. Follow ‘WordPress on S3: manual steps’ at
www.oblaksoft.com/documentation/yapixx
◦ Move tables to the cloud
◦ Activate WP2Cloud plugin
16. OblakSoft
YOUR WAY TO THE CLOUD
Get FREE WordPress on S3 / Yapixx @
www.oblaksoft.com/downloads
artem@oblaksoft.com
www.oblaksoft.com
Notes de l'éditeur
First and foremost you need to be able to log into the server machine.From Unix-like operating system, use ssh command.From Windows, use PuTTY.
Enter the host name into the edit box and click Open.You’ll be able to enter a user name in the terminal.
To copy clouse.so and ha_clouse-N.N.N.so binaries to the plugin directory, you need root access.
Here is an example of getting to the root shell
To install a storage engine, you need root access to the MySQL server