Drupal CMS was released today, and I'd like to install it on a VPS.  Unfortunately, current docs assume the user is first installing on a local machine and then pushing changes up to a server.  That is not the case here.

Is there a one-page step-by-step guide for installing Drupal CMS on an Ubuntu VPS?

Comments

torwald’s picture

I'm also interested in whether there are any tools for automatic management and optimization of web servers (nginx) for Drupal CMS, similar to SlickStack, WordOps, or Easy Engine for WordPress.

ressa’s picture

#3500075: [META] Test (and then possibly document) installing Drupal CMS on shared hosting sounds like what you are asking for, it should work on VPS as well.

rg4w’s picture

Thank you for that link, Ressa.  Much appreciated.

hvandenbergh’s picture

I have installed Drupal CMS local with DDEV as per the instructions on https://new.drupal.org/docs/drupal-cms This works fine, and I can use Drupal CMS
I want to move this to my hosting provider. I have installed Drupal Core 11 using Installatron on the hosted site, this also works fine.

Is there any guidance in what directories to copy the Drupal CMS code to be able to run that on the hosted installation?

The installation instructions mention copying code & files, but not clear to what directories
https://new.drupal.org/docs/drupal-cms/get-started/install-drupal-cms/mo...

pendragn’s picture

Argh, I am having issues as well!  This is on shared hosting, but I have composer access, etc.  Created MySQL DB and ran

"composer create-project drupal/cms"

...install seems to go fine on the command line.  Navigating in browser to webserver CMS homepage, I am greeted with a Requirements review, where the only thing wrong is no OPCache....everything else OK.  I hit "continue anyway".

Reach Get Started Screen, no pre-configured type selected, click Next (all good so far).  Give site a name (all good so far).  Fill in MySQL DB login entries, click save and continue.  Enter in email and password for new user account.

Get to "setting up your site" progress bar.  Progress bar reaches end all fine.  Then the errors flash on screen and the site is not reachable at all through the browser:

3x error boxes all with the error at the bottom:  "RuntimeException: Failed to start the session because headers have already been sent ..... at line 296"

Continuing to the error page I get this:  

RuntimeException: Failed to start the session because headers have already been sent by "/home/honeyp7/public_html/MYDOMAIN/web/cms/web/core/includes/errors.inc" at line 296. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 116 of /home/honeyp7/public_html/MYDOMAIN/web/cms/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php).

Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (Line: 128)
Drupal\Core\Session\SessionManager->startNow() (Line: 93)
Drupal\Core\Session\SessionManager->start() (Line: 59)
Symfony\Component\HttpFoundation\Session\Session->start() (Line: 1566)
install_bootstrap_full() (Line: 695)
install_run_task() (Line: 572)
install_run_tasks() (Line: 121)
install_drupal() (Line: 53)

Anyone know any ideas why this error is happening?