Saturday, February 7, 2009

Litespeed on FreeBSD

I compile my kernel FreeBSD 7.1 to try dtrace running on FreeBSD, because lastweek I got error, the dtrace cannot running. To spend my time while compiling my kernel, I try to install Litespeed, on my FreeBSD.
Please for more information visit http://www.litespeedtech.com

Download the package on
http://www.litespeedtech.com/products/webserver/download/

I download the free version, for FreeBSD 6, with release 3.3.24 Std, release data 01-12-2009. For more details please consult to www.litespeedtech.com it’s stable or not running on FreeBSD >6.

viperbsd# ls lsws-3.3.24-std-i386-freebsd6.tar.gz
lsws-3.3.24-std-i386-freebsd6.tar.gz
viperbsd#

viperbsd# tar zxfv lsws-3.3.24-std-i386-freebsd6.tar.gz
viperbsd# mkdir /usr/local/lsws
viperbsd# cd lsws-3.3.24


READ INSTALL


Do you agree with above license? Yes
Please specify the destination directory. You must have permissions to
create and manage the directory. It is recommended to install the web server
at /opt/lsws, /usr/local/lsws or in your home directory like '~/lsws'.

ATTENTION: The user 'nobody' must be able to access the destination
directory.

Destination [/opt/lsws]: /usr/local/lsws


To change configurations of the interface, login and click
"Interface Configuration" button on the main page.
The administration interface is located at http://localhost:/
or http://:/

Would you like to have LiteSpeed Web Server started automatically
when the server restarts [Y/n]? n

If you want to start the web server automatically later, just run
"/usr/local/lsws/admin/misc/rc-inst.sh"
to install the service control script.

Would you like to start it right now [Y/n]? y

[OK] lshttpd: pid=40872.

LiteSpeed Web Server started successfully! Have fun!

viperbsd#

I got error when trying login in admin console, the error was “ Invalid Credential”

I found the solution on litespeed forum.
http://litespeedtech.com/support/forum/archive/index.php/t-1590.html

edit file and change it to …

/usr/local/lsws/admin/html.3.3.24/classes/ws/CLIENT.php

$salt = substr($pass,0,2);
change it to
$salt = substr($pass,0,CRYPT_SALT_LENGTH);

Here is screen capture





No comments:

Post a Comment