cockpit修改端口为9091 cat /usr/lib/systemd/system/cockpit.socket[Unit]Description=Cockpit Web Service SocketDocumentation=man:cockpit-ws(8)Wants=cockpit-motd.service[Socket]#ListenStream=9090Listen
1、执行安装指令 sudo apt-get updatesudo apt-get install mysql-server 2、安装成功后,设置密码 ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'ysw1234';flush privileges; 3、设置允许远程连接并生效 use mysql;u