跟随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.
只需从playstore安装termux和命令termux-setup-storage
apt update
apt install apache2
apachectl -k start
并从喜欢的网络浏览器中检查http://127.0.01:8080