The following guide describes how to install OpenLiteSpeed on Ubuntu 22.04.
This is done using a few simple steps.
First, we update packages and repositories.
we run the terminal and issue commands:
apt-get update -y
apt-get upgrade -y
We install the necessary packages:
apt-get install build-essential libexpat1-dev libgeoip-dev libpcre3-dev libudns-dev zlib1g-dev libssl-dev libxml2 libxml2-dev rcs libpng-dev libpng-dev openssl autoconf g++ make openssl libssl-dev libcurl4-openssl-dev libcurl4-openssl-dev pkg-config libsasl2-dev libzip-dev libxml2-dev sqlite3 libsqlite3-dev libonig-dev
We are downloading openlitespeed:
wget https://openlitespeed.org/packages/openlitespeed-1.7.16.tgz
The following tutorial describes how to install Python:
tar -xvzf openlitespeed-1.7.16.tgz
we go to the directory and run the installation script:
cd openlitespeed
sh install.sh
Below is a log from the correct installation:
Created symlink /etc/systemd/system/openlitespeed.service → /lib/systemd/system/lshttpd.service. Created symlink /etc/systemd/system/multi-user.target.wants/lshttpd.service → /lib/systemd/system/lshttpd.service. [OK] lshttpd.service has been successfully installed! -e Updating webcache manager, please waiting ... Shared code library already meets minimum API version requirements. Done! -e Installation finished, Enjoy! -e Your webAdmin password is Njg0Mzc0, written to file /usr/local/lsws/adminpasswd.
we will change the password to the administration panel by issuing the command:
/usr/local/lsws/admin/misc/admpass.sh
below the log:
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.
User name [admin]: admin
Please specify the administrator's password.
This is the password required to login the administration Web interface.
Password:
Retype password:
Administrator's username/password is updated successfully!
we start the service and check its status
systemctl start openlitespeed
systemctl status openlitespeed
? lshttpd.service - OpenLiteSpeed HTTP Server Loaded: loaded (/lib/systemd/system/lshttpd.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2022-06-12 04:59:01 UTC; 4s ago Process: 21331 ExecStart=/usr/local/lsws/bin/lswsctrl start (code=exited, status=0/SUCCESS) Main PID: 21353 (litespeed) CGroup: /system.slice/lshttpd.service ??21353 "openlitespeed (lshttpd - main)" ??21358 "openlitespeed (lscgid)" ??21372 "openlitespeed (lshttpd - #01)" ??21373 lsphp "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" Jun 12 04:58:59 ubuntu systemd[1]: Starting OpenLiteSpeed HTTP Server... Jun 12 04:58:59 ubuntu lswsctrl[21331]: [OK] litespeed: pid=21353. Jun 12 04:59:01 ubuntu systemd[1]: Started OpenLiteSpeed HTTP Server. OpenLiteSpeed is now running and listening on port 8088. You can check it with the following command:
To get to the OpenLiteSpeed administration panel, call the address in the browser:
http://naszadrs-ip:8088
In the next tutorials we will describe the installation of Mysql and PHP to OpenLiteSpeed .
The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń…
Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji…
Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w…
You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania…
Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.…
The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy…