How to connect aliyun ECS:

  • Windows: Powershell
  • Check whether the SSH tool is installed in the systemssh -V
  • Enter the connection command in the terminalssh root@[ipaddress]

1. Apache fails to be installed on alicloud ECS server through the command line:

Yum -y install HTTPD httpd-manual mod_ssl mod_perl mod_auth_mysql yum -y install HTTPD httpd-manual mod_ssl

The solution is unknown…


Mysql 5.7: No match for argument: mysql-community-server:

Problems arise:

Solutions:

yum module disable mysql
yum install mysql-community-server
Copy the code

Press y all the way.

3, Ali Cloud ECS install mysql how to connect to mysql remotely by user name/password:

  • First open port 3306 in the ECS security group.

  • Next you need mysql authorization.
GRANT ALL PRIVILEGES ON *.* TO 'root'@The '%' IDENTIFIED BY '123456' WITH GRANT OPTION;
======Want root user to use password123456Connect to mysql server from any host 】Copy the code

  • After the modification, the connection succeeds through Navcit.