8devices Community https://www.8devices.com/community/ |
|
Carambola2 minimal httpd + php + db https://www.8devices.com/community/viewtopic.php?f=13&t=433 |
Page 1 of 1 |
Author: | nikb [ 14 Jun 2013, 18:53 ] |
Post subject: | Carambola2 minimal httpd + php + db |
Hi guys After hours of googling and trying to teach myself the necessary things to get what I need, I'd like to verify if what I found out is remotely correct, as I'm really afraid of bricking my Carambola2. First off, I'm not anew to programming or compiling things, but the whole procedure in getting a working openWRT image for Carambola2 is indeed something I am inexperienced at. What I would like to have is the following: Carambola2 running an httpd (be it Apache or lighttpd, whatever, as long as it supports: ), PHP and some sort of Database. Preferred would be mysql, but if there's not enough ram for that and I'll have to write my own textfile based db, I won't mind. So from what I've gathered, the packages on github for carambola2 are not something I could download directly to my carambola but more like build scripts such as the Makefile which I can use for a crosscompiler for the Atheros Chip used on Carambola2 (correct?) So the steps to get one of these packages working would be to get either a real Linux box or a virtual one and doing the following: A)get crosscompiler for AR9331 for the Linux I am using on my desktop. B)get package descriptions from github C) use some magical resource gathering tool (wget?) to automatically download the actual sources needed for that specific package D)compile that package using the crosscompiler E)now I have my package -> load it on carambola2 -> done What I've done so far with Linux on other machines is to just download required packages to get what I need, but I've never actually compiled one myself. I come from the AVR/ARM world and have compiled plenty of stuff for those devices, but never one that ran an OS, so I've always just compiled the entire system running on that chip and in case of Carambola2 that all seems a little new to me, so sorry if I'm asking stupid questions. Also, I find it hard to navigate around 8devices wiki, as I can't find a directory of all articles and all the ones linked are specifically written for carambola2. I don't need anybody to do the necessary steps for me (unless thats easier than explaining them to me ) but a tiny list of steps of what I actually need to do and what I don't need to do to get an httpd + php + database running (and an ftpd would actually be really nice) would be greatly appreciated I am running MAC OSX 10.8.3, if it's possible to compile directly on that, that would of course be great. As i've seen on openwrt's wiki it's possible for openwrt in general, but if that also works for this specific openwrt carambola version, I'm not sure. - Is it? Sorry for the long post, I usually write shorter ones but I'm afraid it might have made the wrong impression of me just being too lazy to do the necessary research, had I just posted a quick question. Nik |
Author: | nikb [ 15 Jun 2013, 16:00 ] |
Post subject: | Re: Carambola2 minimal httpd + php + db |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |