在带有termux和anlinux的android上运行apache

问题描述 投票:0回答:1

跟随this guide我使用termux和anlinux在Android上安装Ubuntu和apache2。但是当我运行“ apachetcl start”时,出现此错误:

root@localhost:~# apachectl start
/usr/sbin/apachectl:  99: ulimit: error setting limit (Operation not permitted)
Setting ulimit failed. See README.Debian for more information.
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down AH00015: Unable to open logs 
Action 'start' failed. The Apache error log may have more information.
android apache port ulimit termux
1个回答
0
投票

只需从playstore安装termux和命令termux-setup-storageapt updateapt install apache2apachectl -k start并从喜欢的网络浏览器中检查http://127.0.01:8080

© www.soinside.com 2019 - 2024. All rights reserved.