Where is the root directory of the web server on Angstrom Linux (BeagleBoard | BeagleBone)?

I am trying to find the default web server directory on my BeagleBone with Angstrom Linux. That is where the files are stored when I go to:

http://beaglebone.local:80 

Another way would be to answer this question: how do I know which directory indicates the port number on my BeagleBone with Angstrom Linux?

+6
source share
2 answers

The BeagleBone | The BeagleBoard Angstrom Linux distribution comes with a socket server that runs as a service using node.js and bonescript in:

 /var/lib/cloud9/bonescript/ 

and can be accessed at: http: //beaglebone.local: 80

You can also install lighttpd with

 opkg install lighttpd 

and install the configuration file in

 /etc/lighttpd.conf 

which you can modify to set the default web directory wherever you want.

+7
source

I found the following working evenly:

 systemctl disable bonescript.service systemctl disable bonescript-autorun.service systemctl disable cloud9.service systemctl disable bonescript.socket 

Use the 'systemctl list-units' to verify that they have stopped. Perhaps there is a correct order in which you should do this, I had to play and repeat it a bit before they all die. Perhaps you could just destroy the symbolic links in / etc / systemd / system / multi -user.target.wants and reload.

+1
source

Source: https://habr.com/ru/post/917020/


All Articles