{"id":5309,"date":"2019-11-17T14:13:02","date_gmt":"2019-11-17T14:13:02","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=5309"},"modified":"2019-11-17T14:59:38","modified_gmt":"2019-11-17T14:59:38","slug":"install-openlitespeed-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2019\/11\/17\/install-openlitespeed-on-ubuntu-16-04\/","title":{"rendered":"Install OpenLiteSpeed on Ubuntu 16.04"},"content":{"rendered":"<p>Ref: https:\/\/openlitespeed.org\/kb\/install-from-binary\/<br \/>\nhttps:\/\/www.vultr.com\/docs\/how-to-install-openlitespeed-on-ubuntu-16-04<br \/>\nhttps:\/\/www.howtoforge.com\/tutorial\/how-to-install-and-configure-openlitespeed-server-on-ubuntu-1804-along-with-mariadb\/<\/p>\n<p>Step 1: Update your server<\/p>\n<pre class=\"lang:default decode:true \">sudo apt-get update<\/pre>\n<p>Step 2: Install OpenLiteSpeed<br \/>\nInstall dependencies<\/p>\n<pre class=\"lang:default decode:true \">sudo apt-get install build-essential libexpat1-dev libgeoip-dev libpcre3-dev zlib1g-dev libssl-dev libxml2-dev rcs libpng-dev<\/pre>\n<p>Download the latest stable from https:\/\/openlitespeed.org\/downloads\/<\/p>\n<pre class=\"lang:default decode:true \">wget https:\/\/openlitespeed.org\/packages\/openlitespeed-1.5.8.tgz<\/pre>\n<p>Extract the downloaded file<\/p>\n<pre class=\"lang:default decode:true \">tar -xvzf openlitespeed-1.5.8.tgz<\/pre>\n<p>Go to &#8216;openlitespeed&#8217; directory that newly created<\/p>\n<pre class=\"lang:default decode:true \">cd openlitespeed\/<\/pre>\n<p>XXXConfigure and compile OpenLiteSpeed with the following command. This will install OpenLiteSpeed inside of the &#8216;\/usr\/local\/lsws\/&#8217; directory.XXX<br \/>\nI don&#8217;t find &#8216;configure&#8217; but I found &#8216;install.sh&#8217;. SO use the file to install it.<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy:~\/openlitespeed$ sudo .\/install.sh<\/pre>\n<p>Here is the verbose<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy:~\/openlitespeed$ sudo .\/install.sh \r\nINSTALL_TYPE is reinstall\r\nCannot find RUBY installation, remember to fix up the ruby path configuration\r\nbefore you can use our easy RubyOnRails setup.\r\n\r\nTarget_Dir:\/usr\/local\/lsws User:nobody Group:nogroup \r\nAdmin:admin Password:123456 AdminSSL:yes ADMIN_PORT:7080 \r\nLSINSTALL_DIR:\/home\/teddy\/openlitespeed \r\nTEMP_DIR:\/tmp\/lshttpd PID_FILE:\/tmp\/lshttpd\/lshttpd.pid\r\n\r\n-e Installing, please wait...\r\n\r\nAdmin SSL enabled!\r\n.\/_in.sh: 1129: .\/_in.sh: source: not found\r\nGenerating a 2048 bit RSA private key\r\n.....................................................................................+++++\r\n............+++++\r\nwriting new private key to 'privkey.pem'\r\n-----\r\nYou are about to be asked to enter information that will be incorporated\r\ninto your certificate request.\r\nWhat you are about to enter is what is called a Distinguished Name or a DN.\r\nThere are quite a few fields but you can leave some blank\r\nFor some fields there will be a default value,\r\nIf you enter '.', the field will be left blank.\r\n-----\r\nCountry Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:\r\nPlease enter the following 'extra' attributes\r\nto be sent with your certificate request\r\nA challenge password []:An optional company name []:\r\nCertificate Request:\r\n    Data:\r\n        Version: 1 (0x0)\r\n        Subject: C = US, ST = New Jersey, L = Virtual, O = LiteSpeedCommunity, OU = Testing, CN = webadmin\r\n        Subject Public Key Info:\r\n            Public Key Algorithm: rsaEncryption\r\n                RSA Public-Key: (2048 bit)\r\n                Modulus:\r\n                    00:cb:9f:20:e8:6a:ff:b4:df:20:81:5b:0c:74:e2:\r\n                    d1:7d:fc:ea:43:a3:19:4b:f4:43:07:4c:58:86:fa:\r\n                    c3:83:0f:5c:13:83:44:6f:9f:17:9c:dc:f0:b2:e5:\r\n                    ce:76:00:a4:4a:d9:e4:06:81:1e:2d:59:1c:61:70:\r\n                    96:ae:1f:d7:14:47:60:f4:17:4e:9a:88:a3:3a:69:\r\n                    02:09:10:44:ce:5f:73:b9:69:f4:d0:b0:c1:cd:bf:\r\n                    ce:8b:59:ab:15:8f:49:39:5d:00:d3:7e:36:95:73:\r\n                    c5:4d:69:1c:e3:a9:7a:e8:c7:5c:13:ba:c4:86:26:\r\n                    a3:07:74:8e:62:ab:f5:4c:4a:2d:83:a2:23:54:32:\r\n                    48:48:ce:b9:d7:6c:f9:53:48:47:9b:bf:7f:ee:e7:\r\n                    2f:04:09:a8:0e:8d:65:1b:a0:15:b5:80:20:40:9e:\r\n                    13:77:40:4c:dc:0d:20:20:75:97:b1:8f:73:0b:90:\r\n                    22:f3:ba:49:79:39:b8:85:32:3f:c1:c3:2c:4f:b6:\r\n                    6d:39:be:28:62:5e:f0:71:5c:52:64:cc:e3:af:cd:\r\n                    1d:09:96:85:24:7a:bf:b2:3f:a7:d4:3c:ac:47:d3:\r\n                    cb:88:bd:b7:8f:8b:bf:d0:12:2f:4f:16:65:f2:ad:\r\n                    7b:9a:57:a5:eb:77:2b:4a:ca:4d:3a:2c:1b:83:64:\r\n                    72:27\r\n                Exponent: 65537 (0x10001)\r\n        Attributes:\r\n            a0:00\r\n    Signature Algorithm: sha256WithRSAEncryption\r\n         87:70:e4:04:a7:e9:47:1b:b1:bc:24:be:07:2b:0e:53:fa:37:\r\n         cb:b8:50:9b:0b:ea:87:bd:b3:e5:64:ed:a6:f3:f6:26:69:67:\r\n         03:42:4f:0d:b9:4d:1d:c4:5f:50:14:26:ae:21:f6:6f:99:26:\r\n         93:72:bf:d7:67:42:52:58:a5:dd:02:bd:be:31:15:9a:28:fd:\r\n         c2:a5:05:97:3e:52:06:35:f3:7e:89:e5:cb:e7:a6:18:ab:e6:\r\n         c9:3d:cb:14:6a:7a:2e:2b:c8:28:e6:05:ed:30:90:49:dd:21:\r\n         a3:36:40:40:cb:19:33:2b:0b:b5:7a:31:fd:4c:9e:93:b7:1a:\r\n         c1:a2:e1:49:67:ba:d8:75:c2:19:9a:28:8a:28:9c:09:63:d9:\r\n         17:fc:54:b7:17:2a:31:e6:e9:7e:56:97:19:11:39:ca:c0:4b:\r\n         8f:8c:a0:28:22:ed:58:e0:08:de:b8:d6:91:a6:0c:bd:59:f7:\r\n         6f:71:b2:93:f3:1d:c8:ff:b4:b5:b5:ed:9e:25:32:8d:3f:df:\r\n         5b:b6:5c:26:f1:7f:71:95:0e:ce:32:fb:82:86:35:31:65:83:\r\n         b1:79:9f:d2:ca:93:50:73:7c:45:76:e0:8c:ff:c9:f7:4e:d7:\r\n         de:3b:c9:fc:56:ee:1b:4c:70:a0:56:18:d7:78:5e:96:c8:bb:\r\n         64:08:93:5a\r\n\r\nwriting RSA key\r\nSignature ok\r\nsubject=C = US, ST = New Jersey, L = Virtual, O = LiteSpeedCommunity, OU = Testing, CN = webadmin\r\nGetting Private key\r\nSSL host is [webadmin], use adminSSL\r\ndownload comamnd is wget -nv -O \r\n2019-11-17 21:26:44 URL:http:\/\/www.litespeedtech.com\/packages\/lsphp5_bin\/x86_64\/lsphp5 [4902224\/4902224] -&gt; \"\/usr\/local\/lsws\/admin\/fcgi-bin\/admin_php\" [1]\r\nadmin_php downloaded.\r\nCurrent platform is  UBUNTU16 ubuntu xenial.\r\ngrep: \/etc\/apt\/sources.list.d\/lst_debian_repo.list: No such file or directory\r\n--2019-11-17 21:26:44--  http:\/\/rpms.litespeedtech.com\/debian\/lst_debian_repo.gpg\r\nResolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 34.210.113.18\r\nConnecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|34.210.113.18|:80... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 1198 (1,2K) [application\/octet-stream]\r\nSaving to: \u2018\/etc\/apt\/trusted.gpg.d\/lst_debian_repo.gpg\u2019\r\n\r\n\/etc\/apt\/trusted.gp 100%[===================&gt;]   1,17K  --.-KB\/s    in 0,1s    \r\n\r\n2019-11-17 21:26:44 (11,7 KB\/s) - \u2018\/etc\/apt\/trusted.gpg.d\/lst_debian_repo.gpg\u2019 saved [1198\/1198]\r\n\r\n--2019-11-17 21:26:44--  http:\/\/rpms.litespeedtech.com\/debian\/lst_repo.gpg\r\nResolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 34.210.113.18\r\nConnecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|34.210.113.18|:80... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 2336 (2,3K) [application\/octet-stream]\r\nSaving to: \u2018\/etc\/apt\/trusted.gpg.d\/lst_repo.gpg\u2019\r\n\r\n\/etc\/apt\/trusted.gp 100%[===================&gt;]   2,28K  --.-KB\/s    in 0,1s    \r\n\r\n2019-11-17 21:26:45 (22,9 KB\/s) - \u2018\/etc\/apt\/trusted.gpg.d\/lst_repo.gpg\u2019 saved [2336\/2336]\r\n\r\nIgn:1 http:\/\/dl.google.com\/linux\/chrome\/deb stable InRelease\r\nHit:2 http:\/\/kambing.ui.ac.id\/ubuntu xenial InRelease                          \r\nGet:3 http:\/\/dl.google.com\/linux\/chrome\/deb stable Release [943 B]             \r\nHit:4 http:\/\/kambing.ui.ac.id\/ubuntu xenial-updates InRelease                  \r\nHit:5 https:\/\/dl.yarnpkg.com\/debian stable InRelease                           \r\nHit:6 http:\/\/kambing.ui.ac.id\/ubuntu xenial-backports InRelease                \r\nHit:7 http:\/\/packages.microsoft.com\/repos\/vscode stable InRelease              \r\nHit:9 http:\/\/kambing.ui.ac.id\/ubuntu xenial-security InRelease                 \r\nHit:10 https:\/\/packages.microsoft.com\/ubuntu\/18.04\/prod bionic InRelease       \r\nHit:11 https:\/\/packages.microsoft.com\/ubuntu\/16.04\/prod xenial InRelease       \r\nHit:12 https:\/\/packages.microsoft.com\/ubuntu\/16.04\/mssql-server-2017 xenial InRelease\r\nIgn:13 http:\/\/rpms.litespeedtech.com\/debian xenial InRelease                   \r\nHit:14 https:\/\/download.docker.com\/linux\/ubuntu xenial InRelease               \r\nHit:15 https:\/\/repo.skype.com\/deb stable InRelease                             \r\nHit:16 http:\/\/ppa.launchpad.net\/audio-recorder\/ppa\/ubuntu xenial InRelease     \r\nHit:18 http:\/\/linux.teamviewer.com\/deb stable InRelease                        \r\nGet:20 http:\/\/rpms.litespeedtech.com\/debian xenial Release [1.662 B]           \r\nHit:21 https:\/\/artifacts.elastic.co\/packages\/7.x\/apt stable InRelease     \r\nHit:22 http:\/\/ppa.launchpad.net\/chris-lea\/redis-server\/ubuntu xenial InRelease \r\nHit:19 https:\/\/packages.cloud.google.com\/apt kubernetes-xenial InRelease       \r\nGet:23 http:\/\/rpms.litespeedtech.com\/debian xenial Release.gpg [836 B]         \r\nHit:24 http:\/\/ppa.launchpad.net\/geany-dev\/ppa\/ubuntu xenial InRelease          \r\nIgn:25 https:\/\/repo.mongodb.org\/apt\/ubuntu xenial\/mongodb-org\/4.0 InRelease    \r\nHit:26 https:\/\/download.mono-project.com\/repo\/ubuntu vs-xenial InRelease       \r\nGet:27 http:\/\/rpms.litespeedtech.com\/debian xenial\/main amd64 Packages [22,5 kB]\r\nHit:28 https:\/\/repo.mongodb.org\/apt\/ubuntu xenial\/mongodb-org\/4.0 Release      \r\nHit:29 http:\/\/ppa.launchpad.net\/george-edison55\/nitroshare\/ubuntu xenial InRelease\r\nGet:31 http:\/\/packages.blackfire.io\/debian any InRelease [23,2 kB]             \r\nIgn:17 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb InRelease                    \r\nGet:32 http:\/\/rpms.litespeedtech.com\/debian xenial\/main i386 Packages [16,6 kB]\r\nHit:33 http:\/\/ppa.launchpad.net\/inkscape.dev\/stable\/ubuntu xenial InRelease    \r\nHit:35 http:\/\/ppa.launchpad.net\/obsproject\/obs-studio\/ubuntu xenial InRelease  \r\nIgn:34 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb Release                 \r\nHit:36 http:\/\/ppa.launchpad.net\/ondrej\/php\/ubuntu xenial InRelease        \r\nHit:39 http:\/\/ppa.launchpad.net\/ubuntu-mate-dev\/xenial-mate\/ubuntu xenial InRelease\r\nIgn:37 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 Packages.diff\/Index\r\nHit:41 http:\/\/ppa.launchpad.net\/ubuntu-toolchain-r\/test\/ubuntu xenial InRelease\r\nIgn:38 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps i386 Packages.diff\/Index\r\nHit:43 http:\/\/ppa.launchpad.net\/webupd8team\/java\/ubuntu xenial InRelease\r\nIgn:40 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps all Packages.diff\/Index\r\nIgn:42 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en_US.diff\/Index\r\nIgn:44 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en.diff\/Index\r\nIgn:45 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 DEP-11 Metadata.diff\/Index\r\nIgn:46 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps DEP-11 64x64 Icons.diff\/Index\r\nIgn:47 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 Packages          \r\nIgn:48 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps i386 Packages           \r\nIgn:49 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps all Packages            \r\nIgn:50 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en_US       \r\nIgn:51 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en          \r\nIgn:52 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 DEP-11 Metadata   \r\nIgn:53 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps DEP-11 64x64 Icons      \r\nIgn:47 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 Packages          \r\nIgn:48 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps i386 Packages           \r\nIgn:49 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps all Packages            \r\nIgn:50 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en_US       \r\nIgn:51 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en          \r\nIgn:52 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 DEP-11 Metadata   \r\nIgn:53 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps DEP-11 64x64 Icons      \r\nIgn:47 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 Packages          \r\nIgn:48 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps i386 Packages           \r\nIgn:49 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps all Packages            \r\nIgn:50 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en_US\r\nIgn:51 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en\r\nIgn:52 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 DEP-11 Metadata\r\nIgn:53 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps DEP-11 64x64 Icons\r\nIgn:47 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 Packages\r\nIgn:48 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps i386 Packages\r\nIgn:49 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps all Packages\r\nIgn:50 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en_US\r\nIgn:51 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en\r\nIgn:52 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 DEP-11 Metadata\r\nIgn:53 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps DEP-11 64x64 Icons\r\nIgn:47 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 Packages\r\nIgn:48 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps i386 Packages\r\nIgn:49 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps all Packages\r\nIgn:50 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en_US\r\nIgn:51 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en\r\nIgn:52 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 DEP-11 Metadata\r\nIgn:53 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps DEP-11 64x64 Icons\r\nErr:47 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 Packages\r\n  403  Forbidden\r\nIgn:48 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps i386 Packages\r\nIgn:49 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps all Packages\r\nIgn:50 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en_US\r\nIgn:51 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps Translation-en\r\nIgn:52 http:\/\/www.getdeb.net\/ubuntu xenial-getdeb\/apps amd64 DEP-11 Metadata\r\nFetched 65,7 kB in 20s (3.166 B\/s)\r\nReading package lists... Error!\r\nW: The repository 'http:\/\/archive.getdeb.net\/ubuntu xenial-getdeb Release' does not have a Release file.\r\nN: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.\r\nN: See apt-secure(8) manpage for repository creation and user configuration details.\r\nE: Failed to fetch http:\/\/www.getdeb.net\/ubuntu\/dists\/xenial-getdeb\/apps\/binary-amd64\/Packages  403  Forbidden\r\nE: Failed to fetch http:\/\/www.getdeb.net\/ubuntu\/dists\/xenial-getdeb\/apps\/dep11\/icons-64x64.tar  403  Forbidden\r\nE: Some index files failed to download. They have been ignored, or old ones used instead.\r\nE: Unable to parse package file \/var\/lib\/apt\/lists\/archive.getdeb.net_ubuntu_dists_xenial-getdeb_apps_binary-amd64_Packages (1)\r\nE: Unable to parse package file \/var\/lib\/apt\/lists\/archive.getdeb.net_ubuntu_dists_xenial-getdeb_apps_binary-i386_Packages (1)\r\nE: Unable to parse package file \/var\/lib\/apt\/lists\/archive.getdeb.net_ubuntu_dists_xenial-getdeb_apps_binary-all_Packages (1)\r\nE: Unable to parse package file \/var\/lib\/apt\/lists\/archive.getdeb.net_ubuntu_dists_xenial-getdeb_apps_i18n_Translation-en%5fUS (1)\r\nE: Unable to parse package file \/var\/lib\/apt\/lists\/archive.getdeb.net_ubuntu_dists_xenial-getdeb_apps_i18n_Translation-en (1)\r\nW: You may want to run apt-get update to correct these problems\r\nE: The package cache file is corrupted\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nThe following packages were automatically installed and are no longer required:\r\n  geany-plugin-addons geany-plugin-autoclose geany-plugin-automark\r\n  geany-plugin-codenav geany-plugin-commander geany-plugin-ctags\r\n  geany-plugin-defineformat geany-plugin-doc geany-plugin-extrasel\r\n  geany-plugin-gendoc geany-plugin-geniuspaste geany-plugin-insertnum\r\n  geany-plugin-keyrecord geany-plugin-latex geany-plugin-lineoperations\r\n  geany-plugin-lipsum geany-plugin-lua geany-plugin-macro\r\n  geany-plugin-miniscript geany-plugin-numberedbookmarks geany-plugin-overview\r\n  geany-plugin-pairtaghighlighter geany-plugin-pg geany-plugin-pohelper\r\n  geany-plugin-prettyprinter geany-plugin-prj geany-plugin-projectorganizer\r\n  geany-plugin-sendmail geany-plugin-shiftcolumn geany-plugin-spellcheck\r\n  geany-plugin-tableconvert geany-plugin-treebrowser\r\n  geany-plugin-updatechecker geany-plugin-vc geany-plugin-workbench\r\n  geany-plugin-xmlsnippets geany-plugins-common libctpl2 libfsharp-core4.3-cil\r\n  liblockfile-bin liblockfile1 libnunit-cil-dev\r\n  libnunit-console-runner2.6.3-cil libnunit-core-interfaces2.6.3-cil\r\n  libnunit-core2.6.3-cil libnunit-framework2.6.3-cil libnunit-mocks2.6.3-cil\r\n  libnunit-util2.6.3-cil libssh2-1 libtidy5 libzip5 php7.2-sqlite3\r\n  python-cliapp python-markdown python-ttystatus python-yaml\r\n  qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin sendmail-base\r\n  sendmail-cf sensible-mda snapd-login-service\r\nUse 'sudo apt autoremove' to remove them.\r\nThe following additional packages will be installed:\r\n  libc-client2007e lsphp71-json lsphp71-opcache mlock\r\nSuggested packages:\r\n  uw-mailutils\r\nThe following NEW packages will be installed:\r\n  libc-client2007e lsphp71 lsphp71-common lsphp71-imap lsphp71-json\r\n  lsphp71-mysql lsphp71-opcache mlock\r\n0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.\r\nNeed to get 8.973 kB of archives.\r\nAfter this operation, 37,3 MB of additional disk space will be used.\r\nGet:1 http:\/\/kambing.ui.ac.id\/ubuntu xenial-updates\/universe amd64 mlock amd64 8:2007f~dfsg-4+deb8u1build0.16.04.1 [11,3 kB]\r\nGet:2 http:\/\/kambing.ui.ac.id\/ubuntu xenial-updates\/universe amd64 libc-client2007e amd64 8:2007f~dfsg-4+deb8u1build0.16.04.1 [578 kB]\r\nGet:3 http:\/\/rpms.litespeedtech.com\/debian xenial\/main amd64 lsphp71-common all 7.1.33-1+xenial [31,2 kB]\r\nGet:4 http:\/\/rpms.litespeedtech.com\/debian xenial\/main amd64 lsphp71-json amd64 7.1.33-1+xenial [17,9 kB]\r\nGet:5 http:\/\/rpms.litespeedtech.com\/debian xenial\/main amd64 lsphp71-opcache amd64 7.1.33-1+xenial [145 kB]\r\nGet:6 http:\/\/rpms.litespeedtech.com\/debian xenial\/main amd64 lsphp71 amd64 7.1.33-1+xenial [8.114 kB]\r\nGet:7 http:\/\/rpms.litespeedtech.com\/debian xenial\/main amd64 lsphp71-imap amd64 7.1.33-1+xenial [30,4 kB]\r\nGet:8 http:\/\/rpms.litespeedtech.com\/debian xenial\/main amd64 lsphp71-mysql amd64 7.1.33-1+xenial [46,1 kB]\r\nFetched 8.973 kB in 11s (812 kB\/s)                                             \r\nSelecting previously unselected package mlock.\r\n(Reading database ... 397753 files and directories currently installed.)\r\nPreparing to unpack ...\/mlock_8%3a2007f~dfsg-4+deb8u1build0.16.04.1_amd64.deb ...\r\nUnpacking mlock (8:2007f~dfsg-4+deb8u1build0.16.04.1) ...\r\nSelecting previously unselected package libc-client2007e.\r\nPreparing to unpack ...\/libc-client2007e_8%3a2007f~dfsg-4+deb8u1build0.16.04.1_amd64.deb ...\r\nUnpacking libc-client2007e (8:2007f~dfsg-4+deb8u1build0.16.04.1) ...\r\nSelecting previously unselected package lsphp71-common.\r\nPreparing to unpack ...\/lsphp71-common_7.1.33-1+xenial_all.deb ...\r\nUnpacking lsphp71-common (7.1.33-1+xenial) ...\r\nSelecting previously unselected package lsphp71-json.\r\nPreparing to unpack ...\/lsphp71-json_7.1.33-1+xenial_amd64.deb ...\r\nUnpacking lsphp71-json (7.1.33-1+xenial) ...\r\nSelecting previously unselected package lsphp71-opcache.\r\nPreparing to unpack ...\/lsphp71-opcache_7.1.33-1+xenial_amd64.deb ...\r\nUnpacking lsphp71-opcache (7.1.33-1+xenial) ...\r\nSelecting previously unselected package lsphp71.\r\nPreparing to unpack ...\/lsphp71_7.1.33-1+xenial_amd64.deb ...\r\nUnpacking lsphp71 (7.1.33-1+xenial) ...\r\nSelecting previously unselected package lsphp71-imap.\r\nPreparing to unpack ...\/lsphp71-imap_7.1.33-1+xenial_amd64.deb ...\r\nUnpacking lsphp71-imap (7.1.33-1+xenial) ...\r\nSelecting previously unselected package lsphp71-mysql.\r\nPreparing to unpack ...\/lsphp71-mysql_7.1.33-1+xenial_amd64.deb ...\r\nUnpacking lsphp71-mysql (7.1.33-1+xenial) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu11) ...\r\nSetting up mlock (8:2007f~dfsg-4+deb8u1build0.16.04.1) ...\r\nSetting up libc-client2007e (8:2007f~dfsg-4+deb8u1build0.16.04.1) ...\r\nSetting up lsphp71-common (7.1.33-1+xenial) ...\r\nSetting up lsphp71-opcache (7.1.33-1+xenial) ...\r\n\r\nCreating config file \/usr\/local\/lsws\/lsphp71\/etc\/php\/7.1\/mods-available\/opcache.ini with new version\r\nSetting up lsphp71 (7.1.33-1+xenial) ...\r\n\r\nCreating config file \/usr\/local\/lsws\/lsphp71\/etc\/php\/7.1\/litespeed\/php.ini with new version\r\nSetting up lsphp71-imap (7.1.33-1+xenial) ...\r\n\r\nCreating config file \/usr\/local\/lsws\/lsphp71\/etc\/php\/7.1\/mods-available\/imap.ini with new version\r\nSetting up lsphp71-mysql (7.1.33-1+xenial) ...\r\n\r\nCreating config file \/usr\/local\/lsws\/lsphp71\/etc\/php\/7.1\/mods-available\/mysqli.ini with new version\r\n\r\nCreating config file \/usr\/local\/lsws\/lsphp71\/etc\/php\/7.1\/mods-available\/pdo_mysql.ini with new version\r\nSetting up lsphp71-json (7.1.33-1+xenial) ...\r\n\r\nCreating config file \/usr\/local\/lsws\/lsphp71\/etc\/php\/7.1\/mods-available\/json.ini with new version\r\nProcessing triggers for libc-bin (2.23-0ubuntu11) ...\r\nGenerating key pair for web console login page, please wait ...\r\nGenerating RSA private key, 512 bit long modulus\r\n..........+++++++++++++++++++++++++++\r\n.......................+++++++++++++++++++++++++++\r\ne is 65537 (0x010001)\r\n[OK] The startup script has been successfully installed!\r\n-e Updating webcache manager, please waiting ...\r\nDownloading latest shared code tar file...\r\nChecking tar file md5...\r\nRemoving existing shared code directory...\r\nExtracting downloaded shared code...\r\nRemoving local shared code tar file...\r\nUpdating lscmctl script...\r\nDone!\r\n\r\n-e Installation finished, Enjoy!<\/pre>\n<p>NOTE: IT&#8217;S ALSO INSTALLED PHP FOR LITESPEED (lsphp) 7.1 IN \/usr\/local\/lsws\/lsphp71\/<\/p>\n<p>Now you can start the web server, like so: (USE &#8216;sudo&#8217; BECAUSE I INSTALLED WITH &#8216;sudo&#8217;???)<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy:~\/openlitespeed$ sudo \/usr\/local\/lsws\/bin\/lswsctrl start\r\n[OK] litespeed: pid=16727.<\/pre>\n<p>Check status (USE &#8216;sudo&#8217;)<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy:~\/openlitespeed$ sudo \/usr\/local\/lsws\/bin\/lswsctrl status\r\nlitespeed is running with PID 16727<\/pre>\n<p>Open it on your browser: http:\/\/localhost:8088\/<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/openlitespeed.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-5314\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/openlitespeed-509x1024.png\" alt=\"\" width=\"509\" height=\"1024\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/openlitespeed-509x1024.png 509w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/openlitespeed-149x300.png 149w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/openlitespeed-768x1546.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/openlitespeed-1200x2416.png 1200w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/openlitespeed.png 1366w\" sizes=\"auto, (max-width: 509px) 85vw, 509px\" \/><\/a>The admin page on https:\/\/localhost:7080\/<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/LiteSpeed-WebAdmin-Console.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-5315\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/LiteSpeed-WebAdmin-Console-1024x491.png\" alt=\"\" width=\"840\" height=\"403\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/LiteSpeed-WebAdmin-Console-1024x491.png 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/LiteSpeed-WebAdmin-Console-300x144.png 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/LiteSpeed-WebAdmin-Console-768x368.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/LiteSpeed-WebAdmin-Console-1200x575.png 1200w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2019\/11\/LiteSpeed-WebAdmin-Console.png 1366w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><span class=\"rcp-restricted-content-message\">SORRY, ONLY ADMIN CAN SHOW THIS!<\/span><\/p>\n<p>Currently it&#8217;s using PHP 7.1 (SEE http:\/\/localhost:8088\/phpinfo.php)<br \/>\nI want to install PHP 7.2.<br \/>\nPls se the available PHP 7.2 packages for litespeed<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy:~\/openlitespeed$ sudo apt-cache search lsphp72\r\nlsphp72 - server-side, HTML-embedded scripting language (LSAPI binary)\r\nlsphp72-apcu - APC User Cache for PHP\r\nlsphp72-common - Common files for packages built from the PHP source\r\nlsphp72-curl - CURL module for PHP\r\nlsphp72-dbg - Debug symbols for LSPHP70\r\nlsphp72-dev - Files for PHP70 module development\r\nlsphp72-igbinary - igbinary PHP serializer\r\nlsphp72-imagick - Provides a wrapper to the ImageMagick library\r\nlsphp72-imap - IMAP module for PHP\r\nlsphp72-intl - Internationalisation module for PHP\r\nlsphp72-ioncube - PHP extension for interfacing with ioncube\r\nlsphp72-json - JSON module for PHP\r\nlsphp72-ldap - LDAP module for PHP\r\nlsphp72-memcached - memcached extension module for PHP, uses libmemcached\r\nlsphp72-modules-source - PHP 70 modules source package\r\nlsphp72-msgpack - PHP extension for interfacing with MessagePack\r\nlsphp72-mysql - MySQL module for PHP\r\nlsphp72-opcache - Zend OpCache module for PHP\r\nlsphp72-pear - Provides PHP PEAR package\r\nlsphp72-pgsql - PostgreSQL module for PHP\r\nlsphp72-pspell - pspell module for PHP\r\nlsphp72-recode - recode module for PHP\r\nlsphp72-redis - PHP extension for interfacing with Redis\r\nlsphp72-snmp - SNMP module for PHP\r\nlsphp72-sqlite3 - SQLite3 module for PHP\r\nlsphp72-sybase - Sybase module for PHP\r\nlsphp72-tidy - tidy module for PHP<\/pre>\n<p>Then install some of them<\/p>\n<pre class=\"lang:default decode:true \">sudo apt install lsphp72 lsphp72-curl lsphp72-imap lsphp72-mysql lsphp72-intl lsphp72-pgsql lsphp72-sqlite3 lsphp72-tidy lsphp72-snmp<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ref: https:\/\/openlitespeed.org\/kb\/install-from-binary\/ https:\/\/www.vultr.com\/docs\/how-to-install-openlitespeed-on-ubuntu-16-04 https:\/\/www.howtoforge.com\/tutorial\/how-to-install-and-configure-openlitespeed-server-on-ubuntu-1804-along-with-mariadb\/ Step 1: Update your server sudo apt-get update Step 2: Install OpenLiteSpeed Install dependencies sudo apt-get install build-essential libexpat1-dev libgeoip-dev libpcre3-dev zlib1g-dev libssl-dev libxml2-dev rcs libpng-dev Download the latest stable from https:\/\/openlitespeed.org\/downloads\/ wget https:\/\/openlitespeed.org\/packages\/openlitespeed-1.5.8.tgz Extract the downloaded file tar -xvzf openlitespeed-1.5.8.tgz Go to &#8216;openlitespeed&#8217; directory that newly created cd openlitespeed\/ XXXConfigure &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2019\/11\/17\/install-openlitespeed-on-ubuntu-16-04\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Install OpenLiteSpeed on Ubuntu 16.04&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[],"class_list":["post-5309","post","type-post","status-publish","format-standard","hentry","category-openlitespeed"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/5309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=5309"}],"version-history":[{"count":7,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/5309\/revisions"}],"predecessor-version":[{"id":5311,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/5309\/revisions\/5311"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=5309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=5309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=5309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}