怎么访问呢???
1.使用阿里云提供的远程连接方式。这个是mac和windows通用的哦。我就采用的这个方式。



什么???不知道哪里修改密码。别急,马上就来!!!

这里修改密码后需要重启下服务器。重启按钮就在右上角。点了就OK。
然后再去输入你修改后的密码就OK了。当你来到如下就表示可以远程操作服务器啦。下面这个界面是不是很熟悉,没错,跟vscode的终端差不多。你就把他当成你vscode的终端操作就好了。

2.mac的就更简单了,打开mac自带的终端或者iTerm,用终端连接阿里云服务器方法:
$ ssh yourName@yourServerIp
# 其中yourName指服务器登录用户名 yourServerIp指服务器地址
然后回车,会让你输入密码,这里是看不到你输入的密码的,你直接输入就好了,千万不要输错。错了就关闭窗口再来一次吧。

3.当然你使用Windows电脑的话就参考这里
4.推荐一个工具finalShell mac和windows都可以用:下载地址
当你已经可以访问的时候了,先在控制台输入如下命令,目的就是升级一下 CentOS
$ yum -y update
网友评论