Home  >  Article  >  Backend Development  >  Android ALMP set up web server configuration

Android ALMP set up web server configuration

巴扎黑
巴扎黑Original
2016-11-12 09:56:131539browse

With the development of the information age, smartphones have become more and more popular. The following article will help you turn your Android phone into a mobile web server.

1. Download the almp compressed package and decompress it and copy it to the root directory of the phone’s memory card (/mnt/sdcard);
2. Install the terminal emulator on your phone;
3. After installing the terminal, open it and enter the following command:

$ su
# cd /
# mount -o remount,rw /system
# tar xf /mnt/sdcard/lmp.tar.bz2
# mount -o remount,ro /system
# exit
$ exit

4. Execute the command in the third step on the terminal. If the command cannot be executed, please add busybox in front of the command
5. After the command is executed, reopen the terminal, enter su, and then enter almp-start.sh
6. Open the mobile browser, enter 127.0.0.1 in the address bar, and the web page content of the web server will appear.

Note: The phone must have Root permission

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn