how-to-install-lamp-xampp-server-on-beaglebone-black,acces hardware control through internet

831 views
Skip to first unread message

muhamma...@gmail.com

unread,
Nov 7, 2013, 1:58:13 PM11/7/13
to beagl...@googlegroups.com

i am unable to install lamp or xampp server on my BBB.when i typed

sudo apt-get install apache2

it says "sudo :command not found"

opkg install php php-cgi php-cli opkg install lighttpd lighttpd-module-fastcgi opkg install mysql5

also the above commands do not work.The error says "unknown package ..."

Basically i am trying to develop a webserver which over the internet can be accessed to control hardware interfaced to BBB.

is there any way to solve this problem.I am using only usb connection to connect BBB using putty.

Don deJuan

unread,
Nov 7, 2013, 7:22:04 PM11/7/13
to beagl...@googlegroups.com
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Well you are confusing two different package managers together with what
you stated. apt-get is Ubuntu/Debian opkg would be Angstrom/Yocto . So
which are you actually on?

Next you would need to install sudo to get rid of the can't find sudo
error.
either
apt-get install sudo
or
opkg install sudo
then you would need to create a user and setup sudo properly for that
user. Sudo is not needed if you're only running with a root user.

To install apache on a Debian/Ubuntu based system
apt-get install apache2
or you could do a tasksel to install the full LAMP stack.
tasksel install lamp-server

For Angstrom I do not know how they are packaging it up so can't suggest
anything.

Hopefully that should get you going further in the process.
Reply all
Reply to author
Forward
0 new messages