Google Cloud Platform
https://cloud.google.com/
1、创建实例
https://www.cnblogs.com/niaomingjian/p/8308433.html
2、远程登陆
通过下面方式打开的ssh
获取root权限:
sudo -i
给root用户设置密码
passwd root
修改SSH配置文件/etc/ssh/sshd_config
vi /etc/ssh/sshd_config
PermitRootLogin no 改为 PermitRootLogin yes
PasswordAuthentication no 改为 PasswordAuthentication yes
重启SSH服务使修改生效
/etc/init.d/ssh restart
安装jdk
linux服务器配置jdk环境变量_小百菜的博客-CSDN博客_服务器jdk环境变量配置
3、防火墙配置
比如我启动了一个web服务,需要对外开放8080端口。
还没有评论,来说两句吧...