jobet
May 9, 2020, 8:29am
#1
Hi there!
Just performed my first HestiaCP setup, and wow… it’s amazing!
I normally install WordPress using WP-CLI interface and particularly to install a custom setup (i.e. without any default content… posts, pages, themes, etc.).
Is there any way to customize HestiaCP WordPress setup script in order to do that?
Thanks for any help!
eris
May 9, 2020, 9:04am
#2
Don’t think so,
Unless you can control it via de default installer…
See…
<?php
namespace Hestia\WebApp\Installers;
use Hestia\System\Util;
class WordpressSetup extends BaseSetup {
protected $appname = 'wordpress';
protected $config = [
'form' => [
//'protocol' => [
// 'type' => 'select',
// 'options' => ['http','https'],
//],
'site_name' => ['type'=>'text', 'value'=>'Wordpress Blog'],
'site_description' => ['value'=>'Another wordpresss site'],
'wordpress_account_username' => ['value'=>'wpadmin'],
'wordpress_account_email' => 'text',
'wordpress_account_password' => 'password',
This file has been truncated. show original
However you can install wp-cli if you need and enable SSH access to the server.
1 Like
jobet
May 9, 2020, 9:27am
#3
@eris
Thanks a lot for your reply!
The script downloads directly from wordpress.org site version 5.3.2 (https://wordpress.org/wordpress-5.3.2.tar.gz ).
I could upload a custom setup into a private server and then download it from this script!
I normally install wp-cli and use in all my servers! but the HestiaCP “one-click install” was very handy!!
Thanks again!
1 Like
eris
May 9, 2020, 9:40am
#4
Please be careful during update to a newer version of Hestia the one click install can be reverted back to the original.
1 Like