Page 1 of 1

Automatic WordPress installing (v-install-wordpress)

Posted: Tue Jun 08, 2021 4:02 pm
by myVesta
We have an script for automatic WordPress installing: v-install-wordpress

Let's say you want to install WordPress on yourdomain.com in one command.
In your SSH run:

Code: Select all

sudo /usr/local/vesta/bin/v-install-wordpress yourdomain.com
And that's all, the script will automatically create new database, install WordPress and print login credentials.

WARNING: Script will remove all files that you already have in public_html/ folder of yourdomain.com !

See source code of the script for all available parameters: v-install-wordpress

Re: Automatic WordPress installing (v-install-wordpress)

Posted: Sat Nov 20, 2021 5:32 pm
by sparkzara
can we install wordpress on a folder using this script ?

Re: Automatic WordPress installing (v-install-wordpress)

Posted: Mon Nov 22, 2021 2:10 pm
by myVesta
sparkzara wrote: Sat Nov 20, 2021 5:32 pm can we install wordpress on a folder using this script ?
Unfortunately, no.

Re: Automatic WordPress installing (v-install-wordpress)

Posted: Mon Jan 15, 2024 7:43 am
by Ominae
myVesta wrote: Tue Jun 08, 2021 4:02 pm We have an script for automatic WordPress installing: v-install-wordpress

Let's say you want to install WordPress on yourdomain.com in one command.
In your SSH run:

Code: Select all

sudo /usr/local/vesta/bin/v-install-wordpress yourdomain.com
And that's all, the script will automatically create new database, install WordPress and print login credentials.

WARNING: Script will remove all files that you already have in public_html/ folder of yourdomain.com !

See source code of the script for all available parameters: v-install-wordpress

Hi dpeca, a question:

this script is now creating the DB with the name: user_domain

is it no longer allowed to add a custom DB name?

example:

Code: Select all

sudo /usr/local/vesta/bin/v-install-wordpress yourdomain.com nameDB email