Size: 379
Comment:
|
Size: 1105
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
on top of that it needs webserver module. | on top of that it needs webserver module. Following is a webserver relevant part of the `menu.lst` {{{ # For networking module /x86_64/sbin/e1000n module /x86_64/sbin/NGD_mng cardname=e1000 module /x86_64/sbin/netd cardname=e1000 # For webserver module /x86_64/sbin/webserver e1000 10.110.4.4 /local/nfs/website/barrelfish }}} The webserver takes following commandline arguments: - cardname: Used to find the network services (This value is currently hardcoded to be "e1000" and hence ignored) - IP address of NFS server: Used to mount the NFS location to get the files - Path on NFS server: Where the files to serve on webserver are stored Please refer to [[Networking|networking]] page for details about modules related to networking. |
Running webserver
Barrelfish webserver runs by fetching files over NFS share and serving them to users requesting the files. Currently it assumes that all files are in a flat directory without any subdirectories.
Modules needed
The webserver depends all the modules needed to get networking working, and on top of that it needs webserver module. Following is a webserver relevant part of the menu.lst
# For networking module /x86_64/sbin/e1000n module /x86_64/sbin/NGD_mng cardname=e1000 module /x86_64/sbin/netd cardname=e1000 # For webserver module /x86_64/sbin/webserver e1000 10.110.4.4 /local/nfs/website/barrelfish
The webserver takes following commandline arguments:
- - cardname: Used to find the network services (This value is currently hardcoded to be "e1000" and hence ignored) - IP address of NFS server: Used to mount the NFS location to get the files - Path on NFS server: Where the files to serve on webserver are stored
Please refer to networking page for details about modules related to networking.