原作者:http://hi.baidu.com/dugu2008/blog/item/0d9e9bf8e8c13b08d8f9fd14.html

一、启动php-fpm问题,查看日志文件,此日志文件是在php-fpm.conf中所定义的

1、Dec 01 11:01:07.339056 [WARNING] fpm_stdio_child_said(), line 158: child 25237 (pool default) said into stderr: "Dec 01 11:01:07.336368 [ERROR] fpm_unix_init_child(), line 168: setrlimit(RLIMIT_NOFILE) failed: Invalid argument (22)"

A:修改配置文件:

vi /etc/sysctl.conf

输入以下内容:

kernel.shmmax = 134217728

然后执行以下命令使配置生效:

sbin/sysctl –p

2、启动仍然失败,可是在日志中并没有详细记录出错信息,只有:

Dec 01 11:03:07.930313 [NOTICE] fpm_children_make(), line 352: child 25345 (pool default) started
Dec 01 11:03:07.934274 [NOTICE] fpm_children_make(), line 352: child 25346 (pool default) started
Dec 01 11:03:07.937472 [NOTICE] fpm_children_make(), line 352: child 25347 (pool default) started
Dec 01 11:03:07.942833 [NOTICE] fpm_children_make(), line 352: child 25348 (pool default) started
Dec 01 11:03:07.943068 [NOTICE] fpm_event_loop(), line 105: libevent: entering main loop
今天编译Android
按照 说明上提示操作

弄了个QQ开发群(非开发者勿入):78582218
非开发者可入此QQ交流群:47799321 (容纳500人)

Ubuntu Linux (i386)
To set up your Linux development environment, make sure you have the following:

   * Git 1.5.4 or newer and the GNU Privacy Guard.

   $ sudo apt-get install git-core gnupg

   * JDK 5.0, update 12 or higher.

   $ sudo apt-get install sun-java6-jdk

   * The following packages: flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl.  

   $ sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev

   * You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.

   $ sudo apt-get install valgrind

   * Intrepid (8.10) users may need a newer version of libreadline:

$ sudo apt-get install lib32readline5-dev
Ubuntu Linux (amd64)
This has not been as well tested. Please send success or failure reports to repo-discuss@googlegroups.com.

The Android build requires a 32-bit build environment as well as some other tools:

   * Git, JDK, flex, and the other packages as listed above in the i386 instructions:  

   $ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl

   * Get a 32-bit version of the JVM:

     $ sudo apt-get install sun-java6-jdk       # JDK tools (javac, etc)
     $ sudo apt-get install ia32-sun-java6-bin  # JRE (java itself)
     $ sudo update-java-alternatives -s ia32-java-6-sun

   * Pieces from the 32-bit cross-building environment:

   $ sudo apt-get install lib32z1-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs

   * Intrepid (8.10) users may need a newer version of libreadline:

$ sudo apt-get install lib32readline5-dev

   * X11:
         o Ubuntu doesn't have packages for the X11 libraries, but that can be worked around with the following command:

           $ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so

         o If the build fails because of missing X11/Xlib.h and X11/Xatom.h, install the X11 devel packages.  (This problem exists when building on Ubuntu 8.10 x86_64)

           sudo apt-get install x11proto-core-dev  # provides Xatom.h
           sudo apt-get install libx11-dev  # provides Xlib.h
ubuntu source


deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse


deb http://ubuntu.dormforce.net/ubuntu/ intrepid main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ intrepid-backports main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ intrepid-proposed main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ intrepid-security main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ intrepid-updates main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-backports main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-proposed main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-security main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-updates main multiverse restricted universe
HTC G1 获得Root权限
Posted in 其它资料 on 2008/12/31 / 评论(0) »
今天折腾了半天就官方屏蔽了软件库里的这个软件 后来在一国外站找到


如果是自制美RC30和英RC8,操作如下
1、安装一个terminal emulator;
2、运行后先执行su,取得root权限;
3、cd/system/bin,执行telnetd &,一定要&,放在后台运行

在G1的telnet终端或通过wifi后用电脑telenet上登录即可。

后面就可以做你想做的事情了

附件是必须品呵呵

以下问答是从论坛中整理出来的,目前还不完整,今后会不断更新和修正的。感谢论坛中所有热心回答问题的朋友们。如有遗漏或错误,请站短我,我会添加和修正的。

按Ctrl+F在对话框中输入问题的关键字,可以快速搜索问题。

G1买回来一定要解锁么?

答:是的,G1是和T-Mobile绑定的,不解锁就不能使用国内的电话卡,经销商已经帮你做过的除外。

我没有Gmail邮箱能使用G1么?

答:不能,G1必须捆绑一个Gmail账号。

我想更改Gmail账号,该怎么做?

答:进入菜单settings-applications-manage applications,找到Google Apps后clear data后,就会看到一个提示,提示你需要重新设置gmail,输入新的gmail帐号即可。

我想把菜单里的图标放到桌面上怎么做?

答:按住图标不动,手机震动一下后会自动切换到桌面,松手后图标就放到桌面上了。

我想删除桌面的图标怎么做?

答:按住图标不动,手机震动一下后菜单栏会变成垃圾桶图标,把想删除的图标拖过去就能删除。

能用蓝牙听立体声或者传输文件么?

答:目前不能,仅支持蓝牙耳机。

任务列表里的程序能自己关闭么?

答:目前不能,只能通过关机的方法释放程序。

不插手机卡能拨紧急电话么?

答:在中国不能,110、119、120、122被认为是无效的号码。

G1能直接输入中文么?

答:暂时不能,只能通过aPowerSMS或A4等软件用复制粘贴的形式输入中文。

如何查看我手机的版本?

答:Setting-->About Phone就能看到了。

5、我错升级到RC30了,能降级么?

答:不能,只能等待RC30破解。

6、G1能够支持多大的TF卡?

答:理论上可以支持到16G,目前测试过的仅有8G SDHC,Class 6/4/2都支持。

为什么我的G1电量消耗的特别快?

答:关闭GPS和WIFI,仅在使用的时候打开。

我想给G1里装些软件该怎么装?

答:可以用G1上网进入Market在线安装,或者从论坛下载安装包到本地,通过电脑装到手机上。

我的手机连在电脑上怎么认不出来?

这些东西很有用的

答:需要安装手机驱动,http://dl.google.com/android/android_usb_windows.zip,并且要在手机设置中将允许未知来源的选项选中。

上面的步骤我都做了,怎么还认不出来呢?

答:连接上电脑后,信息栏会问你是否mount,选择mount在电脑中就能认到手机TF卡了。

我连着电脑的时候手机怎么找不到TF卡了?

答:因为USB对TF卡mount以后是独占,别的程序不能同时访问,拔掉USB线以后就能认出了。

G1有黑白名单的功能么?

答:目前还没有,请耐心等待开发组开发。

G1能在SIM卡里建立联系人么?

答:目前不能,以后也许可以。

不开GPRS或者WIFI能使用内置地图功能么?

答:不能,必须要到网络上取地图文件。

删除了原有的APN设置,可再添加不上新的APN了,怎么办?

答:重新启动,再添加。

G1能像其它手机一样更换主题么?

答:可以,但可靠性目前还在验证阶段,有可能对系统造成未知影响。

怎么清理market占用的内存?

答:目前除了恢复出厂设置,没有更好办法。

G1能够和我的Outlook同步么?

答:目前不能,以后会有软件推出。

G1使用什么杀毒软件好?

答:没有杀毒软件,目前android平台上还没有病毒。

设置APN以后即使不上网也会有流量么?

答:是的,Gmail要经常跟网络同步,会产生流量。

如何取消Gmail同步?

答:在设置界面中选择Datasynchronization(数据同步)这项,再打开的对户框中把每项都取消勾选,G1就不会再自动同步数据消耗GPRS网络流量了。注:1.6汉化的机器会没有这个选项,只能删除APN。
分页: 13/136 第一页 上页 8 9 10 11 12 13 14 15 16 17 下页 最后页 [ 显示模式: 摘要 | 列表 ]