lighttpd - slackware 13.37

Sve u vezi mreža i povezivanja na Internet

Moderator: Urednik

Post Reply

Poznata ličnost
Poznata ličnost
offline
User avatar

Posts: 114
Joined: 14 Jan 2013, 09:52
Location: /dev/hda1, etc
Contact:

Post Napisano: 23 Feb 2013, 18:59


Prvo grupu i korisnika!!!

Code: Select all

groupadd -g 208 lighttpd
useradd -u 208 -g lighttpd -d /var/www lighttpd
Izvor:
http://slackbuilds.org/repository/13.37 ... /lighttpd/" onclick="window.open(this.href);return false;
Skinuti :
Source Downloads:
lighttpd-1.4.28.tar.bz2 (586eb535d31ac299652495b058dd87c4)
Download SlackBuild:
lighttpd.tar.gz
Zatim otpakovati paket lighttpd.tar.gz

Code: Select all

tar zxf lighttpd.tar.gz

Zatim kopirati lighttpd.tar.gz u lighttpd folder koji smo malopre raspakovali:

Code: Select all

cp lighttpd-1.4.28.tar.bz2 lighttpd/
zatim uci u folder lighttpd

Code: Select all

cd lighttpd
Pokrenuti slackbuild:

Code: Select all

./lighttpd.SlackBuild
Konfiguracija lighttpd servera. Otvoriti konfiguracioni fajl ...

Code: Select all

nano /etc/lighttpd/lighttpd.conf
... otkomentovati zeljeni port:

Code: Select all

## bind to port   (default: 80)
# server.port                = 81
...sacuvati fajl sa ctrl+x pa Y
Zatim napraviti jednu html stranu:

Code: Select all

nano /var/www/htdocs-lighttpd/index.html
Sadrzaj

Code: Select all

<h1>lighttpd</h1>
Startuj lighttpd ...

Code: Select all

/etc/rc.d/rc.lighttpd start
done!
Na adresi
http://localhost:81
Ukoliko ste otkomentovali port 81 , na toj adresi nalazice se vas sadrzaj :)
nastavice se ...



Povremen korisnik
Povremen korisnik
offline

Posts: 24
Joined: 02 Oct 2012, 09:38

Post Napisano: 24 Feb 2013, 13:31


Odlično! ^_^

Za 14.00 je sve isto, samo se preuzme drugi slackbuild :D



Poznata ličnost
Poznata ličnost
offline
User avatar

Posts: 114
Joined: 14 Jan 2013, 09:52
Location: /dev/hda1, etc
Contact:

Post Napisano: 24 Feb 2013, 14:08


Postavi source :)


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest