Amazon EC2 How Do I Host My Own Content on a Bitnami-Wordpress Instance -



Amazon EC2 How Do I Host My Own Content on a Bitnami-Wordpress Instance -

i created instance host wordpress blog. made keypair, converted using putty gen work winscp.

my security grouping associated instance has:

icmp allow tcp 0-65535 tcp 22 (ssh) tcp 80 (http) tcp 443 (https) udp 0-65535

i running bitnami-wordpress 3.2.1-0 ubuntu ami

my question is: how host simple file on instance?

update: able login using sftp filling in instance public dns host, , putty gen key private key, username had utilize bitnami. have access server, how or set file come out www.mywebsite.com/myfile.file???

i assuming need ssh server using putty, , add together www directoroy?

what have tried:

i tried logging in using winscp host name beingness instance's public dns, , private key file converted putty gen file key pair instance.

using sftp, pressing login asks me user name, entering "user" or "ec2-user" error saying:

"disconnected, no supported authentication methods available (server sent: public key), server >refused our key. authentication failed.

using root username, asks passphrase created keypair using putty gen, accepts it, error:

"received big (1349281121 b) sftp packet. max supported packet size 1024000 b. error >is typically caused message printed startup script (like .profile). message may start >with ""plea"". cannot initialize sftp protocol. host running sftp server?

if in winscp set username "user" , password "bitnami" (before press login) (default wordpress password bitnami ami) gives me error:

disconnected: no supported authentication methods available (server sent: publickey). authentication log (see session log details):using username: "user". server refused ourkey. authentication failed.

i same errors using scp instead of sftp in winscp except when utilize scp , press login, , utilize username "root" asks me passphrase, after entering error:

connection has been unexpectedly closed. server sent command exit status 0. error skipping startup message. shell incompatible application (bash recommended).

also, if want remove wordpress url, can utilize next instructions posted on blog (travisnelson.net):

$ sudo chmod 777 /opt/bitnami/apache2/conf/httpd.conf $ vi /opt/bitnami/apache2/conf/httpd.conf

changed documentroot be: documentroot “/opt/bitnami/apps/wordpress/htdocs”

$ sudo chmod 544 /opt/bitnami/apache2/conf/httpd.conf $ sudo apachectl -k restart

then in wordpress, alter site address (url) in general settings not have /wordpress.

hope helps

wordpress amazon-web-services amazon-ec2 bitnami

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -