INSTALL LITESPEED

OpenLiteSpeed is (free and) in many aspects advantageous web server outperforming the most common one (55% of websites run on Apache, 27% on Nginx, 12% on Microsoft-IIS) and many others as well. How? OpenLiteSpeed supports SPDY, HTTP/2 (test the speed of your page), ssl/tls 3 x faster, dynamic pages can be written in PHP, Phyton, Perl, Ruby, Java, GCI... and will be co-working with SQL servers. Also therein's build in a plenty of an anti-ddos features and OpenLiteSpeed consumes less of hardware resources (LiteSpeed eats less of CPU memory) because of non-blocking I/O, therefore is faster and able to serve content for more visitors at same time (it saves your finances, since you don't have to rent more/stronger physical machines if your software consumes less resources and is fast enough). You can hire or become the best one of PHP and SQL coders, or whatsoever, but can't optimize for speed as well as when you install a better server. Actually, the majority doesn't want to change their server as others don't, they believe each together, googled answers and an "inner instinct" instead of numbers from tests (benchmarks), but their unconscious behaviour can be very advantageous for us, while we can keep consistently outperforming our competitors. Now, you can continue a step by step in an installation of Open Litespeed on Ubuntu Server LTS.

sudo apt-get update

sudo apt-get install build-essential libexpat1-dev libgeoip-dev libpng-dev libpcre3-dev libssl-dev libxml2-dev rcs zlib1g-dev

cd ~

wget http://open.litespeedtech.com/packages/openlitespeed-1.4.15.tgz

tar xzvf openlitespeed*

cd openlitespeed*

./configure

make

sudo make install

This will install the entire OpenLiteSpeed system under the /usr/local/lsws location.

sudo /usr/local/lsws/admin/misc/admpass.sh

sudo service lsws start

That's it. By default settings is enabled to log in via port 7080 (you can change it when will be logged in).

http://domain_name_or_IP_address:7080

Be aware that Google Chrome will be blocking any access accordingly to their security policy till you set up ssl. However, you can get access through some else browser.

If you'll want to remove LiteSpeed:

rm -rf /usr/local/lsws