服务器使用笔记
1.购买服务器
2.查看公网ip和修改实例名称和密码
3.设置安全组(设置完要重启)
4.XShell连接
5.部署
1)傻瓜式部署方式
安装宝塔linux
centos7.0及以上使用
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh
centos7.0以下使用
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
安装成功后出现以下消息:
==================================================================
外网面板地址: http://外网ip:8888/dd7c1653
内网面板地址: http://内网ip:8888/dd7c1653
username: lzcdoale
password: 8f197276
If you cannot access the panel,
release the following panel port [8888] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[8888]端口
注:如果忘记密码:使用 bt default即可重新查看
如果网址无法连接,关闭服务防火墙(以及关闭防火墙自启)
2)命令行部署
这种方式针对于有java开发基础和Linux使用基础的开发者,先留个坑,在以后的时间补充!