You are not logged in.

#1 2005-08-09 22:09:11

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

server setup

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

#2 2005-08-09 22:29:28

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: server setup

lightttpd? sure there is plenty on the wiki - cactus is your man for this smile

Offline

#3 2005-08-09 22:31:20

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: server setup

jellywerker wrote:

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

#4 2005-08-09 22:33:57

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

thanks

Offline

#5 2005-08-09 22:52:26

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

hmm, I don't quit get the lighttpd configuration part

Offline

#6 2005-08-09 22:53:25

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: server setup

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.
tongue


"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

#7 2005-08-09 22:58:00

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

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

#8 2005-08-09 23:04:36

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

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

#9 2005-08-09 23:16:14

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: server setup


"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

#10 2005-08-09 23:38:48

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: server setup

i told you cactus was the man smile

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

#11 2005-08-09 23:53:10

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

I saw that cactus, that is what I thought was incomplete in describing what to do.

Offline

#12 2005-08-09 23:53:58

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

ah, but that other link (for ssl) that helps, thanks

Offline

#13 2005-08-10 02:21:38

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

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

#14 2005-08-10 03:05:40

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: server setup

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. wink
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

#15 2005-08-10 03:08:39

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

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

#16 2005-08-10 03:30:00

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: server setup

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

#17 2005-08-10 03:37:02

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

well I installed lighttpd from extra, and edited the config like in your guie, and it fails to start

Offline

#18 2005-08-10 03:41:01

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

btw, thanks

Offline

#19 2005-08-10 03:49:11

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

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

#20 2005-08-10 05:46:30

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: server setup

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

#21 2005-08-10 19:02:32

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

the pkbuild from aur

Offline

#22 2005-08-10 19:48:13

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: server setup

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

#23 2005-08-10 21:50:15

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: server setup

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

#24 2005-08-10 22:08:19

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: server setup

jellywerker wrote:

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

#25 2005-08-10 23:45:25

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: server setup

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

Board footer

Powered by FluxBB