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

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

Posted: Thu Apr 04, 2024 8:06 pm
by Romabento
Hello gentlemen, Can I call the v-install-wordpress command through the api?

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

Posted: Tue Apr 09, 2024 10:48 am
by myVesta
Romabento wrote: Thu Apr 04, 2024 8:06 pm Hello gentlemen, Can I call the v-install-wordpress command through the api?
Yes.

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

Posted: Fri Apr 12, 2024 6:15 pm
by Ominae
myVesta wrote: Tue Apr 09, 2024 10:48 am
Romabento wrote: Thu Apr 04, 2024 8:06 pm Hello gentlemen, Can I call the v-install-wordpress command through the api?
Yes.
Hi, 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