chmod 777 -R eyeos-2.5/
然后在浏览器中输入:http://localhost/eyeos-2.5/index.php出现了上述提到的问题:There is an error in this eyeOS installation, please contact the system administrator
打开 eyeos-2.5/index.php,找到“There is an error in this eyeOS installation, please contact the system administrato”字样,发现它是在一个try-catch块内的,在后面加上echo $e->getMessage();
语句,然后再运行的时候就会显示出错误:
[function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead
解决办法是:
找到php下的php.ini文件(找不到可以find -name php.ini,我的是在/usr/local/php5/lib/php.ini),查找 ”;date.timezone = “字样,然后去掉前面的分号(即取消注释),改为 date.timezone = Asia/Shanghai,然后在eyeOS的根目录下的index.php打开 eyeos-2.5/index.php,在其中的中的php代码内加入“date_default_timezone_set('Asia/Shanghai');”字样(我加在了整个文件的第二行,第一行是<?php)
然后在浏览器中输入:http://localhost/eyeos-2.5/index.php 就可以啦!
贴个图:

不过点“Create an account” 就出错了,如下(至今不知如何解决???):

