-
-
Save timatron/36b183fa0db168951d9856a18454db1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tschwartz@~/broadway (master *=)\$ apm install lenfest-institute | |
Installing Lenfest Institute for Journalism | |
Downloading WordPress... | |
/var/www$ wp core download --path=lenfest-institute | |
Creating directory '/var/www/lenfest-institute/'. | |
Downloading WordPress 5.1.1 (en_US)... | |
Using cached file '/var/www/.wp-cli/cache/core/wordpress-5.1.1-en_US.tar.gz'... | |
Success: WordPress downloaded. | |
Installing WP... | |
/var/www/lenfest-institute$ wp core config --dbname=lenfest-institute --dbuser=root --dbpass=root --extra-php <<PHP | |
define( 'WP_DEBUG', true ); | |
define( 'SAVEQUERIES', true ); | |
define( 'JETPACK_DEV_DEBUG', true ); | |
define( 'WP_SITEURL', 'https://lenfest-institute.alley.test' ); | |
PHP | |
Success: Generated 'wp-config.php' file. | |
/var/www/lenfest-institute$ wp db create | |
Success: Database created. | |
/var/www/lenfest-institute$ wp core install --url=lenfest-institute.alley.test --title="Lenfest Institute for Journalism" --admin_name=alley --admin_email="admin@local.test" --admin_password="interactive" | |
Success: WordPress installed successfully. | |
/var/www/lenfest-institute$ wp --url=lenfest-institute.alley.test transient delete --all | |
Success: No transients found. | |
/var/www/lenfest-institute$ wp --url=lenfest-institute.alley.test cache flush | |
Success: The cache was flushed. | |
fatal: not a git repository (or any parent up to mount point /var) | |
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). | |
Installing wp-content directory... | |
/var/www/lenfest-institute$ rm -rf wp-content | |
/var/www/lenfest-institute$ git clone --recursive git@github.com:alleyinteractive/lenfestinstitute.git wp-content | |
Cloning into 'wp-content'... | |
remote: Enumerating objects: 507, done. | |
remote: Counting objects: 100% (507/507), done. | |
remote: Compressing objects: 100% (309/309), done. | |
remote: Total 507 (delta 225), reused 433 (delta 153), pack-reused 0 | |
Receiving objects: 100% (507/507), 5.57 MiB | 156.00 KiB/s, done. | |
Resolving deltas: 100% (225/225), done. | |
Submodule 'plugins/jetpack' (https://github.com/Automattic/jetpack.git) registered for path 'plugins/jetpack' | |
Cloning into '/var/www/lenfest-institute/wp-content/plugins/jetpack'... | |
remote: Enumerating objects: 117, done. | |
remote: Counting objects: 100% (117/117), done. | |
remote: Compressing objects: 100% (85/85), done. | |
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function. | |
fatal: the remote end hung up unexpectedly | |
fatal: early EOF | |
fatal: index-pack failed | |
fatal: clone of 'https://github.com/Automattic/jetpack.git' into submodule path '/var/www/lenfest-institute/wp-content/plugins/jetpack' failed | |
Failed to clone 'plugins/jetpack'. Retry scheduled | |
Cloning into '/var/www/lenfest-institute/wp-content/plugins/jetpack'... | |
fatal: unable to access 'https://github.com/Automattic/jetpack.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none | |
fatal: clone of 'https://github.com/Automattic/jetpack.git' into submodule path '/var/www/lenfest-institute/wp-content/plugins/jetpack' failed | |
Failed to clone 'plugins/jetpack' a second time, aborting | |
/var/www/lenfest-institute/wp-content$ wp --url=lenfest-institute.alley.test transient delete --all | |
Success: No transients found. | |
/var/www/lenfest-institute/wp-content$ wp --url=lenfest-institute.alley.test cache flush | |
Success: The cache was flushed. | |
Setting up plugins... | |
Installing plugin my-photon | |
/var/www/lenfest-institute/wp-content/plugins$ git clone git@github.com:alleyinteractive/my-photon.git | |
Cloning into 'my-photon'... | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
The RSA host key for github.com has changed, | |
and the key for the corresponding IP address 192.168.50.4 | |
has a different value. This could either mean that | |
DNS SPOOFING is happening or the IP address for the host | |
and its host key have changed at the same time. | |
Offending key for IP in /var/www/.ssh/known_hosts:29 | |
remove with: | |
ssh-keygen -f "/var/www/.ssh/known_hosts" -R 192.168.50.4 | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! | |
Someone could be eavesdropping on you right now (man-in-the-middle attack)! | |
It is also possible that a host key has just been changed. | |
The fingerprint for the RSA key sent by the remote host is | |
SHA256:mr79nDrU0M6SJm/4Efef6QOvStV7nBflcFwDwTWzXag. | |
Please contact your system administrator. | |
Add correct host key in /var/www/.ssh/known_hosts to get rid of this message. | |
Offending RSA key in /var/www/.ssh/known_hosts:1 | |
remove with: | |
ssh-keygen -f "/var/www/.ssh/known_hosts" -R github.com | |
RSA host key for github.com has changed and you have requested strict checking. | |
Host key verification failed. | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
/var/www/lenfest-institute/wp-content/plugins$ wp --url=lenfest-institute.alley.test plugin activate my-photon | |
Warning: The 'my-photon' plugin could not be found. | |
Error: No plugins activated. | |
Installing plugin query-monitor | |
/var/www/lenfest-institute$ wp --url=lenfest-institute.alley.test plugin install query-monitor | |
Installing Query Monitor (3.3.4) | |
Downloading installation package from https://downloads.wordpress.org/plugin/query-monitor.3.3.4.zip... | |
Unpacking the package... | |
Installing the plugin... | |
Plugin installed successfully. | |
Success: Installed 1 of 1 plugins. | |
/var/www/lenfest-institute$ wp --url=lenfest-institute.alley.test plugin activate query-monitor | |
Plugin 'query-monitor' activated. | |
Success: Activated 1 of 1 plugins. | |
Installing & Activating theme... | |
Name not specified, assuming 'lenfest-institute' | |
lenfest-institute is already installed | |
/var/www/lenfest-institute$ wp --url=lenfest-institute.alley.test theme activate lenfest-institute | |
Success: Switched to 'The Lenfest Institute for Journalism' theme. | |
/var/www/lenfest-institute$ wp --url=lenfest-institute.alley.test option update my-photon --format=json '{"active":true,"base-url":"https://cdn.alley.test/"}' | |
Success: Updated 'my-photon' option. | |
/var/www/lenfest-institute$ wp --url=lenfest-institute.alley.test transient delete --all | |
Success: No transients found. | |
/var/www/lenfest-institute$ wp --url=lenfest-institute.alley.test cache flush | |
Success: The cache was flushed. | |
Your site can now be accessed at lenfest-institute.alley.test | |
Connection to 192.168.50.4 closed. | |
tschwartz@~/broadway (master *=)\$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment