I just reinstalled everything on my Pogoplug with 128MB RAM, and couldn't get the mysql installed. Later on I found out it is a limitation from the RAM, so I need to add a swap.
I followed the guide from here to create a swap file:
https://wiki.archlinux.org/index.php/Swap$this->bbcode_second_pass_code('', 'dd if=/dev/zero of=/swapfile bs=1M count=512
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile')
Edit /etc/fstab and add an entry for the swap file:
$this->bbcode_second_pass_code('', '/swapfile none swap defaults 0 0')
Then, I had to restart the pogoplug, and finally I was able to start the command:
rc.d start mysqld && mysql_secure_installation
I wish something like this or information about 128MB FREE RAM requirement was posted in the LAMP wiki.
https://wiki.archlinux.org/index.php/LAMP#MySQLNow I find a post about running MyISAM as a default, but is this something I really need to do?
http://archlinuxarm.org/forum/viewtopic.php?f=15&t=1700I also edited /etc/mysql/my.cnf to use less RAM, but I got an error if I add these:
source:
http://wiki.vpslink.com/Low_memory_MySQL_/_Apache_configurations$this->bbcode_second_pass_code('', '# For low memory, Berkeley DB should not be used so keep skip-bdb uncommented unless required
skip-bdb
# For low memory, InnoDB should not be used so keep skip-innodb uncommented unless required
skip-innodb')
So I removed these lines again.