You are not logged in.
what would be the best way to setup a lightweight server with phpbb and dokuwiki + php (obviously) I would prefer not to use apache.
Offline
lightttpd? sure there is plenty on the wiki - cactus is your man for this
Offline
what would be the best way to setup a lightweight server with phpbb and dokuwiki + php (obviously) I would prefer not to use apache.
use lighttpd, recompile php with fastcgi support, then download the needed php stuff (bb and dokuwiki) - you'll also need to setup mysql for this - there's alot of info in the wiki about this
Offline
thanks
Offline
hmm, I don't quit get the lighttpd configuration part
Offline
no need to recompile php. just install the php-cgi package in my personal repo (has php tidy support)..or..download the php-cgi package that I put in [community]..then sit back and enjoy the php-cgi goodness.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
ok, I installed the lighttp in your repo (edit: klapmeutz is yours right?) and fcgi from the main repo, then installed php from your repo, but now what?
Offline
ok, seems that is not your repo, I uninstalled it all, I need something a bit more step by step
Edit: I undertand it mostly, it's just that wiki page should be a stub as it doesn't tell all.
Offline
my repo is cactus..but you can just use [community].
http://wiki.archlinux.org/index.php/Lig … nd_Non-SSL
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
i told you cactus was the man
we should have "I'm the wo/man for ..." under our avatars.
Phrak, Xentac et al can have a snake
Cactus can have a server (?)...
Aroo,Sonix, Dusty et al can have a coffe cup...
You get the idea...
Offline
I saw that cactus, that is what I thought was incomplete in describing what to do.
Offline
ah, but that other link (for ssl) that helps, thanks
Offline
nvm, that wiki page is out of date, I did it to the letter and it doesn't work correctly, it wanted me to make logs and such in www/log, so again I uninstalled it, deleted everything, and removed the user, lighttpd seems to be much more trouble than it is worth.
Offline
it works fine for me. In fact, it works great! I love it!
I haven't updated my wiki in a quite a while though (mine was the ssl and non-ssl one). It is a wiki..so anyone is free to update and fix the darn thing.
With the arch lighttpd package in extra, much of the work that was required in my howto is no longer needed.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
but I don't know how to fix it, so what do I do?
Edit: and which lighttpd package do I need? and which php one?
Offline
step 1: Install the lighttpd package from extra repository
step 2: install php
step 3: install php-cgi from the aur [community] repo
step 4: add/set 'cgi.fix_pathinfo = 1' in /etc/php.ini
step 5: install fcgi (it is in extra repository)
step 5: here you can choose one of three paths:
a) prespawn fcgi-php
b) adaptive spawn-fcgi-php
c) regular cgi php
in order of complexity: c->b->a
with a being most complex to setup. For c) put the following in lighttpd.conf
cgi.assign = ( ".php" => "/usr/bin/php-cgi" )
for b and a..
start here: http://lighttpd.net/documentation/fastc … astcgi-php
Or look at the wiki pages I linked to. The info is a bit dated, but you should be able to expound on it. If not..then wait a week or two, and I will try to update my how-to.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
well I installed lighttpd from extra, and edited the config like in your guie, and it fails to start
Offline
btw, thanks
Offline
it fails to compile for no F***ing reason!
(Can you tell I am getting a bit stressed over what whould be a breeze to setup?
Offline
compile? what are you trying to compile?
http://wiki.archlinux.org/index.php/New … mmunity.5D
pacman -Sy lighttpd php php-cgi
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
the pkbuild from aur
Offline
use the binary then. it should work fine.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
looks like I'll jsut wait a week for you tp update it, it still fails to start. btw, I meant start, not compile, lighttpd fails to start as a deamon using /etc/rc.d/lighttpd start.
Offline
looks like I'll jsut wait a week for you tp update it, it still fails to start. btw, I meant start, not compile, lighttpd fails to start as a deamon using /etc/rc.d/lighttpd start.
check the logfile
Offline
aha.
well, the previous arch package for lighttpd had some issues that I was not entirely happy with. I have not had a chance to test out the new version of it, but I have been told things have been reworked a bit.
I am considering packaging lighttpd myself for personal use again, so I can be sure that it will conform more closely to my setup than to a standard setup that most users would use (the arch package should work fine for that, as it should). I really need to get packaging some things again. I have just been so dang busy..
:?
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline