日期:2014-05-16  浏览次数:20630 次

linux软件及问题集合
1. xampp
软件地址:http://www.apachefriends.org/zh_cn/xampp.html
问题1:
Can’t connect to local Mysql server through socket ‘/var/run/mysqld/
mysqld.sock’
解决办法:
sudo mkdir /var/run/mysqld 
sudo ln -s /opt/lampp/var/mysql/mysql.sock /var/run/mysqld/mysqld.sock

2. mogilefs
软件地址:www.danga.com/mogilefs/
安装: ubuntu上安装参见其文档InstallOnUbuntu http://code.google.com/p/mogilefs/wiki/InstallOnUbuntu
问题1:启动mogstored时,出现ERROR: IO::AIO not installed, so async IO not available. Refusing to run unless you set the environment variable MOGSTORED_RUN_WITHOUT_AIO=1
解决方案:
安装IO::AIO
   cpan[Enter]进入cpan控制台
   cpan> install IO::AIO 安装IO::AIO
   cpan> install BSD::Resource
   cpan> install common::sense(IO::AIO需要的库)
安装IO::AIO后发现无法启动,通过perl -e "use IO::AIO"检测一下调用IO::AIO时的错误,发现缺少common::sense模块,所以通过cpan上安装common::sense模块即可