This is an old revision of the document!


Base system (Ubuntu 18.04, Drupal8) over KVM

  • Ubuntu server 18.04 LTS (from ISO)
  • Set IPv4 and IPv6
nano -w /etc/netplan/50-cloud-init.yaml
netplan apply
  • Install LAMP and useful packages
apt install curl tasksel
tasksel install lamp-server

a2enmod rewrite
apt install php-fdomdocument php-gd php-mbstring unzip php-curl
nano /etc/apache2/sites-enabled/000-default.conf
systemctl restart apache2
  • Install Composer
cd ~
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/local/bin/composer

composer -V
Composer version 1.8.3 2019-01-30 08:31:33
  • Install Drupal 8 (by Composer)


Create DB for Drupal

mysqladmin create DbName
mysql -e "CREATE USER 'Admin'@'%' IDENTIFIED BY 'password';"
mysql -e "GRANT ALL PRIVILEGES ON DbName.* TO 'Admin'@'%' WITH GRANT OPTION;"
 
 
archipelago/fe_base.1548963016.txt.gz ยท Last modified: 2019/01/31 20:30 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki