Setup a wordpress multisite network on AWS EC2 (1)


I tried to setup a blog for the share future project in the beginning of Dec. At the beginning I forgot that AWS Free Usage Tier included RDS service, so I used the MySQL service on our micro EC2 instance. As you can expect, the whole site crashed before long because out of memory.

The mysqld.log:

121212 1:03:04 InnoDB: Fatal error: cannot allocate memory for the buffer pool
121212 1:03:04 [ERROR] Plugin ‘InnoDB’ init function returned error.
121212 1:03:04 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
121212 1:03:04 [ERROR] Unknown/unsupported storage engine: InnoDB
121212 1:03:04 [ERROR] Aborting

After some research, I found that making swap space solved the problem (Ref here).

Now we decided to setup a separate wordpress site for the project itself. I decided to use the RDS service for the database handling and use the multisite network feature support by wordpress 3.0.

In the following posts I will write down my notes.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.