Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kitech/android-nmp
android nignx mysql/sqlite php
https://github.com/kitech/android-nmp
Last synced: 20 days ago
JSON representation
android nignx mysql/sqlite php
- Host: GitHub
- URL: https://github.com/kitech/android-nmp
- Owner: kitech
- Created: 2013-06-04T07:41:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-31T10:10:19.000Z (over 11 years ago)
- Last Synced: 2023-03-12T22:52:33.429Z (almost 2 years ago)
- Language: C
- Size: 18.6 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
pwd=android-nmp(anmp)
android-nginx:
*) 需要手机已经root
*) nginx.conf配置,需要user root;
*) 编译时需要修改几个文件,
*) 启动时需要把nginx放到/data/local/tmp/nginx目录
*) 或者把/sdcard/重新挂载,支持rw挂载参数,mount -o remount,rw /storage/sdcard0
*) ifconfig wlan0 当前IP。
*) adb shell后执行bash能得到一个更好用些的shell
*) adb forward tcp:8080 tcp:80 可把本地端口转到手机端口,不过本地端口开在localhost上
*) sdcard的文件系统格式需要修改成ext4的了。
*) php-fpm需要使用-R参数,作为root启动,才能连接到外网服务器。