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
 

Pong

Administrator
#2
You can not run the command 5 times on the same CentoS7. the 1-click will need a fresh OS to base on. Try to get a fresh centoS on vmware, and run the script only once. If it runinto any issue, copy the issue here. From the error you got, seems you forgot the root password.
 
#3
You can not run the command 5 times on the same CentoS7. the 1-click will need a fresh OS to base on. Try to get a fresh centoS on vmware, and run the script only once. If it runinto any issue, copy the issue here. From the error you got, seems you forgot the root password.
I ran out the above error message during the first installation. The ROOT password I entered was the garbled code given to me by the system and the password I set myself was wrong.
 
Top