Install wordpress on vps account
- March 18th, 2010
- Posted in command line
- Write comment
I’ve got vps account couple weeks ago, but at this moment now I want to setup the wordpress engine on vps box. I setup my own vps account and set the RAM to guaranteed 128 M and burstable to 256.
I use Ubuntu 9.04 and mysql server 5.0.75. Everything looked okay, until I got this message when proceed the wordpress wizard.
Fatal error: Out of memory (allocated 6815744) (tried to allocate 4864 bytes) in /home/koro/public_html/wp-includes/kses.php on line 1026
I check the RAM usage about the lack of memory above
koro@koro:~$ free -m
total used free shared buffers cached
Mem: 256 252 3 0 0 0
-/+ buffers/cache: 252 3
Swap: 0 0 0
So I try to change the RAM to unlimited, and it works well. But I think 384 M will be enough. Before get the error message, of course I need to setup a little by creating the databases needed and create also the user for database.
Here is these commands
mysql> create user 'koro'@'localhost' identified by 'somepass';
Query OK, 0 rows affected (0.03 sec)
mysql> grant all privileges on korowp.* to 'koro'@'localhost';
Query OK, 0 rows affected (0.03 sec)
mysql> create database korowp;
Query OK, 1 row affected (0.00 sec)
No comments yet.