阿里云服务器配置

OS:Centos 7.6 64bit

一、FTP搭建和使用

  1、FTP搭建

    1)   yum安装

yum install -y vsftpd

    2)相关配置文件

cd /etc/vsftpd
ls -l

    3)启动服务

systemctl enable vsftpd.service //设置开机自启动
systemctl start vsftpd.service //启动ftp服务
netstat -antup | grep ftp //查看ftp服务端口

  2、配置vsftpd,修改配置文件ftpusers和user_list,将root注掉,不配置此项可能会报530 permission denied.。

  3、配置ECS安全组规则,登录阿里云ECS服务器控制面板,【网络和安全】->【安全组】,在右边选择【配置规则】->【添加安全组规则】,协议选全部,授权对象填0.0.0.0/0

未完待续。

  参考资料:

  https://help.aliyun.com/knowledge_detail/60152.html

  https://www.cnblogs.com/eyesfree/p/5153115.html

  https://www.cnblogs.com/wjm956/p/8331575.html

二、JAVA环境搭建

  1、jdk安装

  8u201

  2、tomcat安装

  7.0.9

  3、mysql安装

  5.7

  ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

  alter user 'root'@'localhost' identified by 'Zhou.201505013';

  参考资料:

  https://www.cnblogs.com/metalsteel/p/6771131.html

  https://www.cnblogs.com/wangshen31/p/9556804.html

原文地址:https://www.cnblogs.com/Ezi0/p/10505221.html