標籤:根目錄 背景圖片 root許可權 web伺服器
芯客網出品Rayeager PX2開發板
1、使用root工具擷取root許可權。
2、安裝anmpp.apk http://www.anmpp.net
3、下載anmpp.zip 放到sdcard根目錄
4、啟動anmpp 應用
650) this.width=650;" class="wp-image-302 size-medium aligncenter" src="http://blog.chipspark.com/cn/wp-content/uploads/2014/11/103544mflzsf5ojj4suj01-300x168.png" alt="103544mflzsf5ojj4suj01" width="300" height="168" style="border:0px;vertical-align:middle;margin:25px auto;clear:both;text-align:center;height:auto;" />
Ps(背景圖片通過替換 sdcard目錄下anmpp.png來修改。)
5、執行進階核心功能中的 anmpp-install 安裝
6、啟動Integration Environment。Ps:如果啟動不成功,可以進去adb shell,執行anmpp start
7、查看狀態
650) this.width=650;" class="alignnone size-medium wp-image-303" src="http://blog.chipspark.com/cn/wp-content/uploads/2014/11/103559ymmo189blstegppw-300x168.png" alt="103559ymmo189blstegppw" width="300" height="168" style="border:0px;vertical-align:middle;margin-top:25px;margin-bottom:25px;height:auto;" />
8、訪問localhost
650) this.width=650;" class="size-medium wp-image-304 aligncenter" src="http://blog.chipspark.com/cn/wp-content/uploads/2014/11/103623t7ezan65j6eppyje-300x97.png" alt="103623t7ezan65j6eppyje" width="300" height="97" style="border:0px;vertical-align:middle;margin:25px auto;clear:both;text-align:center;height:auto;" />
9、現在可以把各種php應用放到根目錄去了(環境預設網頁路徑為/data/data/android.wwwroot/ 路徑可在nginx.conf檔案裡修改。)
Phpsrc:http://sourceforge.net/projects/anmpp/files/phpsrc/
650) this.width=650;" class="size-medium wp-image-305 aligncenter" src="http://blog.chipspark.com/cn/wp-content/uploads/2014/11/104504b9e1v0cev3efxwn8-300x200.png" alt="104504b9e1v0cev3efxwn8" width="300" height="200" style="border:0px;vertical-align:middle;margin:25px auto;clear:both;text-align:center;height:auto;" />650) this.width=650;" class="size-medium wp-image-306 aligncenter" src="http://blog.chipspark.com/cn/wp-content/uploads/2014/11/103656iq23lguxbwzlu0uu-300x184.png" alt="103656iq23lguxbwzlu0uu" width="300" height="184" style="border:0px;vertical-align:middle;margin:25px auto;clear:both;text-align:center;height:auto;" />650) this.width=650;" class="size-medium wp-image-307 aligncenter" src="http://blog.chipspark.com/cn/wp-content/uploads/2014/11/103643jpdi8ff8z80h5kc2-300x206.png" alt="103643jpdi8ff8z80h5kc2" width="300" height="206" style="border:0px;vertical-align:middle;margin:25px auto;clear:both;text-align:center;height:auto;" />650) this.width=650;" class="size-medium wp-image-308 aligncenter" src="http://blog.chipspark.com/cn/wp-content/uploads/2014/11/103636u0mevdj7jsc7c1du-300x183.png" alt="103636u0mevdj7jsc7c1du" width="300" height="183" style="border:0px;vertical-align:middle;margin:25px auto;clear:both;text-align:center;height:auto;" />
在Rayeager PX2上搭建web伺服器anmpp