Where is the source code - installed wordpress (Go

2019-09-06 23:43发布

问题:

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?

回答1:

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"



回答2:

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:

  • WordPress on Google Cloud: The Definitive Guide

  • WordPress Multisite on Google Cloud: A to Z Installation Guide