![]() : How to use TrueType Fonts in xterm or uxterm.: Porting Source to Linux - Valve's Lessons Learned.: John Raff / Dmitry Sandalov: Access Google translate from a terminal.: OpenGL Program: Earth with Moon Rotating around Sun.: Performance Comparison gzip vs Brotli.: ReverseProxy and UrlToolkit in Hiawatha.: HashOver Comment System with Hiawatha.: Filtering Bots and Crawlers from Access.log.: Configure Lighttpd With PHP and HTTPS.: Using GoAccess with Hiawatha Web-Server.: Set-Up "Let's Encrypt" for Hiawatha Web-Server.: nginx: 413 Request Entity Too Large - File Upload Issue.Before accessing the webserver with any queries, check logs/error.log for any entries with.The process-id's of the webserver are pidof litespeed.The important part is the "context" which relates to fcgi. The virtual host configuration is as below. Configure extprocessor for OpenLiteSpeed in conf/httpd_nf:ĭomain socket in extprocessor must match the value in /etc/php/php-fpm.d/OpenLiteSpeed should not start php-fpm, therefore autostart 0.Enable PHP-FPM (PHP FastCGI Process Manager): systemctl enable php-fpm.Change directory ownership chown -R lsadm:http conf, and chown -R http:http tmp`. The Linux user http is also employed by php-fpm. Edit conf/httpd_nf and change user and group to http from nobody.OpenLiteSpeed comes with PHP 5.6 installed as special LS-API compiled binary. possibly remove old log file: rm logs/*.logĥ.remove cache with rm -rf cachedata and any sockets with rm admin/tmp/admin.*.Start web-server with /usr/local/lsws/bin/lswsctrl start, webserver listens on port 8088, admin console listens on port 7080Īs the admin console is basically useless, I recommend to simply disable it with disableWebadmin 1 in conf/httpd_nf.Admin console floods the log-file with various INFO and NOTICE messages.Admin console logs you out all the time: in PHP function _construct() in lib/CAuthorizer.php comment out the entire if clause for if (isset($_SESSION).Login to admin console does not work out-of-the-box, therefore edit file admin/html.open/lib/CAuthorizer.php in line 261 and change return $auth to return true in PHP function authUser() to fix the authorization issue.Alternatively you can change admin/conf/admin_nf and edit keyfile and certfile Copy a pem-file to admin/conf/, symlink webadmin.crt and webadmin.key to this file, as the admin console enforces https.Then mkdir -p lsphp73/bin lsphp74/bin, change to these two directories and create symlink ln -s. Admin console needs below symbolic links: Go to /usr/local/lsws.Though, overall the admin console is not very useful. The original installation contains some glitches, which need to be corrected. In total OpenLiteSpeed needs 67 MB of disk space under /usr/local/lsws.Ĥ. This is just silly, but you have no chance to correct it, as with every restart of litespeed the chmod is changed again. The litespeed process changes chmod of various config files to be executable. Copy systemd-service for start- and stop, enable service:Ĭp -p /usr/local/lsws/admin/misc/rvice /usr/lib/systemd/system/rvice.Check missing libraries: ldd bin/openlitespeed, I had to install missing libcrypt.so.1 library via pacman -S libxcrypt-compat.conf-directory: chown -R lsadm:lsadm /usr/local/lsws/conf. ![]() Create Unix group lsadm, and user lsadm with /bin/nologin shell.usr/local/lsws to /usr/local/lsws, and chown -R root:root if you haven't created the files as root user Unpack resulting cpio-archive with cpio -idmv Convert rpm to cpio: rpm2cpio ols.rpm >.In the following ols stands for the downloaded rpm-file without the rpm-suffix. Our version is openlitespeed-1.7.86_64.rpm.Īnother good candidate is openlitespeed-1.7.86_64.rpm in /centos/9/x86_64/RPMS/.Ģ. Here we describe using the rpm repository of /edge/centos/8/x86_64/RPMS/.Įssentially, this is a precompiled binary in rpm-form. Additionally, the manual installation of OpenLiteSpeed via self-compilation is a mess.ġ. Unfortunately the AUR package for installing OpenLiteSpeed is broken. 13th August 2023, 3 min read Installing OpenLiteSpeed on Arch Linux
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |