litespeedtech / ls-cloud-image Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Happy easter! @Code-Egg I hope you are doing well
I would like to inquire about the potential fix for the following line:
ls-cloud-image/Cloud-init/per-instance.sh
Line 143 in 38430f2
The problem:
Command: ip -4 route get 8.8.8.8 | awk {'print $7'} | tr -d '\n'
doesn't return anything on OpenVZ container.
The correct command on OpenVZ would be:
ip -4 route get 8.8.8.8 | awk {'print $5'} | tr -d '\n'
I suggest the solution to use universal method such as: curl -4 icanhazip.com
because routes are different on every provider
What do You think?
Hi there,
I am receiving the following errors when accessing PhpMyAdmin after installing the OpenLiteSpeed-WordPress image via Linode:
https://paste.pics/8XWOF
https://paste.pics/8XWOP
Any idea how to fix this?
Thanks
OpenLiteSpeed Drupal 9
https://marketplace.digitalocean.com/apps/openlitespeed-wordpress
https://openlitespeed.org/kb/drupal8/
Please add drupal 9 for OpenLiteSpeed
Hello,
We at Hostinger use CentOS7 with CyberPanel and it works truly flawlesly.
However, when we are trying to install it on CentOS8 and OpenVZ, we receive errors related to firewalld
and nf_tables
.
I can confirm that those errors doesn't appear on KVM virtualization, only on OpenVZ.
Perhaps you guys have any recommendations/solutions for this case? If needed, I can supply OpenVZ VPS Container for testing.
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"ct helper": {"family": "inet", "table": "firewalld", "name": "helper-ftp-tcp", "type": "ftp", "protocol": "tcp"}}}]}
Adding port: 25
success
success
Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: Invalid argument
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"ct helper": {"family": "inet", "table": "firewalld", "name": "helper-ftp-tcp", "type": "ftp", "protocol": "tcp"}}}]}
Adding port: 587
success
success
Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: Invalid argument
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"ct helper": {"family": "inet", "table": "firewalld", "name": "helper-ftp-tcp", "type": "ftp", "protocol": "tcp"}}}]}
Adding port: 465
success
success
Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: Invalid argument
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"ct helper": {"family": "inet", "table": "firewalld", "name": "helper-ftp-tcp", "type": "ftp", "protocol": "tcp"}}}]}
Adding port: 110
success
success
Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: Invalid argument
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"ct helper": {"family": "inet", "table": "firewalld", "name": "helper-ftp-tcp", "type": "ftp", "protocol": "tcp"}}}]}
Adding port: 143
success
success
Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: Invalid argument
JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"ct helper": {"family": "inet", "table": "firewalld", "name": "helper-ftp-tcp", "type": "ftp", "protocol": "tcp"}}}]}
Adding port: 993
success
success
Ubuntu 18.04
After step 4, when relogin to ssh, i'm not geting interactive script to finish setup
How can i run it manually?
Please add
prestashop 1.7.8 On Digitalocean
OpenLiteSpeed
Redis
Memchache
Certbot
with MySQL 8
When generating the crontab for the certbot check, the logic skips Centos 9. I assume that the entry for one of the other versions will work correctly.
Maybe:
elif [ "${OSNAME}" = 'centos' ]; then
if [ "${OSVER}" = '7' ]; then
echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew -q --deploy-hook 'systemctl restart lsws'"
| sudo tee -a /etc/crontab > /dev/null
elif [ "${OSVER}" = '8' ]; then
echo "0 0,12 * * * root python3 -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/certbot renew -q --deploy-hook 'systemctl restart lsws'"
| sudo tee -a /etc/crontab > /dev/null
elif [ "${OSVER}" = '9' ]; then
echo "0 0,12 * * * root python3 -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/certbot renew -q --deploy-hook 'systemctl restart lsws'"
| sudo tee -a /etc/crontab > /dev/null
else
echoY 'Please check certbot crontab'
Love the utilities.
Considering you are just starting with the CyberPanel, there is high chance you will run into an issue after migrating the website to CyberPanel due to low Default package Disk Space and Bandwidth limit.
I highly recommend setting the following values to 0 - https://prnt.sc/s8949e
If that's not possible, perhaps you know any workaround? I believe this information is not saved as a file.
Any help is highly appreciated
When testing from:
https://www.ssllabs.com/ssltest/index.html
A new domain generated from this command:
./vhsetup.sh -d example.com -le [email protected] -f
I got this result:
Session resumption (caching) No (IDs assigned but not accepted)
This is OLS by the way.
Is this fixable?
On Nginx based servers I don't have this issue.
Dear Developer's,
I found the following user on the Litespeed server:
cat /etc/passwd
eric:x:1001:1002::/home/eric:/bin/bash
globalsupport:x:1002:1003::/home/globalsupport:/bin/bash
ericd:x:1003:1004::/home/ericd:/bin/bash
Are they very important or can they be deleted?
what are they even doing in the system?
Thank you very much!
Regards,
Laszlo
Hello,
In following file: https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/cybersetup.sh
I can see the following sequence:
Install CyberPanel
Remove RainLoop
Is it correct?
Perhaps it should be:
Remove RainLoop
Install CyberPanel
Because after install, user cannot access RainLoop webclient
Setup/vhsetup.sh has a function called install_ed which is no longer called, and it has a call to "cked" which causes an error.
Any ideas?
Hello, The Openlitespeed cloud image is really great and the scripts are well written and helped me a lot in setting up my little DIY system and it will be a complete solution if there is a script to delete a WordPress site and its related info like the virtual host, SSL certificate, logs, etc... that created using the vhsetup.sh
script.
for example:
bash delete.sh -d example.com
https://marketplace.digitalocean.com/apps/openlitespeed-classicpress
Can you Add Redis also Add MySQL 8
Thank you
Hello
I used this command to upgrade to Litespeed Enterprise and all the current vhosts converted to work with Litespeed Enterprise fine:
/bin/bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/ols2ent-v2.sh )
But I can't add a new virtual host using the script vhsetup.sh
I tried to add a new domain after I upgraded to Litespeed Enterprise using the command:
bash vhsetup.sh -d domain.com
and it doesn't work.
It will be great if there is a simple script to add a new virtual host for the Litespeed Enterprise version like the vhsetup.sh
script in Openlitespeed
When testing from:
https://www.ssllabs.com/ssltest/index.html
A new domain generated from this command:
./vhsetup.sh -d example.com -le [email protected] -f
I got this result:
https://imgur.com/cJNcnGD
This is OLS by the way.
Hello,
I'm using Oracle cloud (Ubuntu 20.04) and I have followed the instruction to build a custom WordPress image using :
bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/wpimgsetup.sh )
Then I used this script to add additional Virtual Hosts:
/bin/bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/vhsetup.sh ) -d www.example.com -w
But I get this error:
Vhost created success!
No MySQL environment, skip!
Setup finished!
I tried to change check_process 'mysqld'
to check_process 'mysql'
in "vhsetup.sh" and it worked.
I think the issue "mysqld" not running due to unknown reasons, I have tried to do that many times with Ubuntu 20, 18 and also tried to change the Mariadb version in the script to version 10.5 instead of 10.6 and it's the same issue.
OpenLiteSpeed Backdrop CMS
Its a Classic Drupal 7.
https://backdropcms.org/
Please add Backdrop CMS for OpenLiteSpeed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.