Centos7 installation OpenLiteSpeed show http&https failed

#1
Hi,
I have tried 5 times to installed WordPress on VMware but every time I am getting the following error.

system shows>>>

mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
Redirecting to /bin/systemctl restart mysql.service
Failed to restart mysql.service: Unit not found.
Redirecting to /bin/systemctl restart mysqld.service
Failed to restart mysqld.service: Unit not found.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
Please input the current root password:

try it>>>
password failed,I have try root password , mysql password , but it is all failed
I need help

Testing ...
OK: test webAdmin page passed.
OK: test Example vhost page passed.
Error: test wordpress HTTP first page failed.
Error: test wordpress HTTPS first page failed.

Can someone help on same?

PS : OS>>linux Centos7
use Installation instructions>>wget --no-check-certificate https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh && bash ols1clk.sh -w
 

Cold-Egg

Administrator
#4
mhm, I just tested it on CentOS and all works fine.
Do you see any mariadb package installed?
Code:
rpm -qa | grep -i mariadb
You should see something similar like this
Code:
MariaDB-server-10.4.15-1.el8.x86_64
MariaDB-client-10.4.15-1.el8.x86_64
MariaDB-common-10.4.15-1.el8.x86_64
MariaDB-shared-10.4.15-1.el8.x86_64
 
#5
mhm, I just tested it on CentOS and all works fine.
Do you see any mariadb package installed?
Code:
rpm -qa | grep -i mariadb
You should see something similar like this
Code:
MariaDB-server-10.4.15-1.el8.x86_64
MariaDB-client-10.4.15-1.el8.x86_64
MariaDB-common-10.4.15-1.el8.x86_64
MariaDB-shared-10.4.15-1.el8.x86_64

yes ,i see that
Code:
rpm -qa | grep -i mariadb
Code:
mariadb-server-5.5.65-1.el7.x86_64
mariadb-5.5.65-1.el7.x86_64
mariadb-libs-5.5.65-1.el7.x86_64
but , Still can't install smoothly
 
#6
My installation steps
Installation centos7
Install with one click
Code:
wget --no-check-certificate https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh && bash ols1clk.sh -w
and than failed
 
Top