Skip to content

Instantly share code, notes, and snippets.

@henideepak
Created October 18, 2021 12:26
Show Gist options
  • Save henideepak/8b477404eb8102863beb5053ca4d4679 to your computer and use it in GitHub Desktop.
Save henideepak/8b477404eb8102863beb5053ca4d4679 to your computer and use it in GitHub Desktop.
Lando Drupal9 setup in Linux
#Download Docker
Document = https://docs.docker.com/engine/install/debian/
#Lando Download
Document = https://docs.lando.dev/basics/installation.html#macos
Debian
wget https://files.lando.dev/installer/lando-x64-stable.deb
sudo dpkg -i lando-x64-stable.deb
#Setup Drupal 9
Document = https://docs.lando.dev/config/wordpress.html#getting-started
lando init \
--source remote \
--remote-url https://ftp.drupal.org/files/projects/drupal-9.2.7.tar.gz \
--remote-options="--strip-components 1" \
--recipe drupal9 \
--webroot . \
--name you-project-name
#Drush
lando composer require drush/drush
#Install Drupal via Drush
lando drush site-install standard --account-name=drupal9 --account-pass=drupal9 --db-url='mysql://drupal9:drupal9@database/drupal9' --site-name=alibaba
UserName = drupal9
password = drupal9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment