Where is the source code - installed wordpress (Go

2019-09-06 23:45发布

I have installed the wordpress on google cloud platform through wizard provided by google itself.

I want to edit the files but Where is the source code - installed wordpress (solution provided by Google Click To Deploy)

I found already same question is pending

How to access WordPress files on Google Cloud?

2条回答
Luminary・发光体
2楼-- · 2019-09-07 00:08

ssh into your app https://cloud.google.com/compute/docs/instances/connecting-to-instance

in terminal... cd .. (will go to $home) cd .. (will go to root page) cd var /www/html

all the files can be found at "/var/www/html"

查看更多
迷人小祖宗
3楼-- · 2019-09-07 00:21

There are multiple ways to edit your WordPress files.

Click on your VM instance SSH button, Then type

sudo nano /var/www/html/wp-config.php

To view the aviable files use ls -la command eg,

ls -la /var/www/html/

If you need help you can check it out this two blog posts:

查看更多
登录 后发表回答