更新字preSS在EC2上的主题 [英] Update wordpress theme on ec2

查看:141
本文介绍了更新字preSS在EC2上的主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在主持一个字preSS网站在EC2上,我试图更新我的主题,通过管理界面。它问我了主机名和FTP用户名和密码。是ec2-xxx.compute-1.amazonaws.com:22~~V我的主机?我想随着ec2user和根为我的FTP用户名,但没有运气。我究竟做错了什么?

I'm hosting a wordpress site on ec2 and I'm trying to update my theme through the admin screen. Its asking me for Hostname and ftp username and password. Is ec2-xxx.compute-1.amazonaws.com:22 my hostname? I tried along with ec2user and root for my ftp username but no luck. What am I doing wrong?

推荐答案

您的主机名应为 ec2-107-20-192-98.compute-1.amazonaws.com

您的用户名将会是你使用SFTP正常实例的用户名 - ec2user一些实例类型的,Ubuntu的Ubuntu的AMI等EC2一般不使用密码,preferring SSH密钥,所以你会有做 passwd文件在命令行设置为您的帐户密码。

Your username will be the username you use to SFTP to the instance normally - ec2user for some instance types, ubuntu for Ubuntu AMIs, etc. EC2 generally doesn't use passwords, preferring SSH keys, so you'll have to set a password for your account by doing passwd on the commandline.

这篇关于更新字preSS在EC2上的主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆