Automatic WordPress installing (v-install-wordpress)

Post Reply
User avatar
myVesta
Site Admin
Posts: 949
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 9 times
Been thanked: 6 times

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

Tags:
sparkzara
Posts: 22
Joined: Mon Jun 07, 2021 9:15 am

can we install wordpress on a folder using this script ?
User avatar
myVesta
Site Admin
Posts: 949
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 9 times
Been thanked: 6 times

sparkzara wrote: Sat Nov 20, 2021 5:32 pm can we install wordpress on a folder using this script ?
Unfortunately, no.
Ominae
Posts: 21
Joined: Fri Jul 10, 2020 4:30 am

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
Romabento
Posts: 1
Joined: Thu Sep 21, 2023 3:42 am

Hello gentlemen, Can I call the v-install-wordpress command through the api?
User avatar
myVesta
Site Admin
Posts: 949
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 9 times
Been thanked: 6 times

Romabento wrote: Thu Apr 04, 2024 8:06 pm Hello gentlemen, Can I call the v-install-wordpress command through the api?
Yes.
Ominae
Posts: 21
Joined: Fri Jul 10, 2020 4:30 am

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
Post Reply