ec2-enable-epel

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo yum install -y epel-release sudo yum-config-manager --enable epel sudo yum repolist vim /etc/yum.repos.d/ep...

给EC2设置并启用root账户

最近需要在ec2上安装几个小软件,需要用到root账户登录,这里做个记录,以便后需: 0,使用官网提供的方法登录连接到EC2 1,创建root的密码,输入如下命令: sudo passwd root 1 sudo pas...