====== Base system (Ubuntu 16.04, Drupal7) ====== * Ubuntu server 16.04 LTS (from CDROM with LAMP and SSH) * JAVA JDK 8 add-apt-repository ppa:webupd8team/java apt-get update apt-get install oracle-java8-installer apt-get install oracle-java8-set-default \\ # java -version java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode) * Mysql Due to this error when batch ingest: Aborted connection 364055 to db: 'Islandora' user: 'dba' host: 'localhost' (Got a packet bigger than 'max_allowed_packet' bytes) Edit and change: ./conf.d/mysqldump.cnf:max_allowed_packet = 16M <<< 100M ./mysql.conf.d/mysqld.cnf:max_allowed_packet = 16M <<< 100M * Drush apt-get install drush drush --version drush version 5.10.0 * Dependencies apt-get install php-gd php-dev add-apt-repository ppa:ondrej/php apt-get update apt-get install php-uploadprogress add-apt-repository --remove ppa:ondrej/php service apache2 restart a2enmod rewrite service apache2 restart nano -w /etc/php/7.0/apache2/php.ini diff /etc/php/7.0/apache2/php.ini /etc/php/7.0/apache2/php.ini.ORI < max_execution_time = 200 --- > max_execution_time = 30 378c378 < max_input_time = 200 --- > max_input_time = 60 389c389 < memory_limit = 512M --- > memory_limit = 128M 656c656 < post_max_size = 200M --- > post_max_size = 8M 798c798 < upload_max_filesize = 200M --- > upload_max_filesize = 2M service apache2 restart * Apache2 and VirtualHost a2dissite 000-default.conf service apache2 reload mkdir /var/www/archive.digibess.eu cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/archive.digibess.eu.conf nano -w /etc/apache2/sites-available/archive.digibess.eu.conf ServerName archive.digibess.eu ServerAdmin webmaster@localhost DocumentRoot /var/www/archive.digibess.eu Options Indexes FollowSymLinks AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined a2ensite archive.digibess.eu.conf service apache2 reload * Drupal7 wget https://ftp.drupal.org/files/projects/drupal-7.54.tar.gz tar -xvzf drupal-7.54.tar.gz cd drupal-7.54 rsync -avz . /var/www/archive.digibess.eu cd ~ mkdir /var/www/archive.digibess.eu/sites/default/files chown www-data:www-data /var/www/archive.digibess.eu/sites/default/files cp /var/www/archive.digibess.eu/sites/default/default.settings.php /var/www/archive.digibess.eu/sites/default/settings.php chown www-data:www-data /var/www/archive.digibess.eu/sites/default/settings.php mysqladmin -u root -p create drupal mysql -u root -p mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON drupal.* TO 'dbuser'@'localhost' IDENTIFIED BY 'dbuserpass'; mysql> FLUSH PRIVILEGES; mysql> quit Browse to http://archive.digibess.eu to complete installation: Not sure if I need this. nano -w /var/www/archive.digibess.eu/.htaccess +RewriteBase /