console

Text mode console on headless KVM connected VPS.

VPS and Dedicated servers quite often come with a method to access their console via some form of Keyboard Video Mouse (KVM) access. This is incredibly useful when you've just firewalled yourself out, or managed to screw the server up the pooch.

Unfortunately, by default, almost every distribution of Linux available at these hosting providers comes with a graphical console either all the way from the start, or mid-way through which takes what should be a fast, clean, easy to read boot process and makes it look "pretty"!

Drupal Console: Install a new site

drupal site:install \
  --learning \
  --uri="http://testing.site" \
  --langcode="en"  \
  --db-type="mysql"  \
  --db-host="localhost"  \
  --db-name="drupal8_site"  \
  --db-user="somesiteuser"  \
  --db-pass="really secure password"  \
  --db-prefix="prefix_" \
  --db-port="3306"  \
  --site-name="Drupal 8"  \
  --site-mail="admin@example.com"  \
  --account-name="anything but admin"  \
  --account-mail="admin@example.com"  \
  --account-pass="another really secure password" \
  minimal # the profile name

The --uri= option is needed when dealing with multi-site.

Drupal Console: Create new multi-site with URL

drupal multisite:new testing1 testing.site

Details on params in more ..

Subscribe to RSS - console