====== change Password of User using PHPMyAdmin ======
From: https://www.wpbeginner.com/beginners-guide/how-to-reset-a-wordpress-password-from-phpmyadmin/
PhpMyAdmin will show you a form with all the user information fields.
You will need to delete the value in the user_pass field and replace it with your new password. Under the function column, select MD5 from the drop down menu and click on the Go button.
Your password will be encrypted using the MD5 hash and then it will be stored in the database.
====== Setup Drupal with Composer Setup on Ubuntu for personal use ======
NOTE: /var/www/html/web/core has very good install txt files.
=== First Setup LAMP ===
From: http://www.howtogeek.com/howto/42480/how-to-turn-your-home-ubuntu-pc-into-a-lamp-web-server/
sudo apt-get install lamp-server^
http://localhost/
Note: Ubuntu 16.4 has moved website to html directory and default www is: /var/www/
sudo nano /var/www/html/testing.php
sudo service apache2 restart
http://localhost/testing.php
cat /etc/hosts | grep localhost
Note: Ubuntu 16.4 has mysql configuration in "/etc/mysql/mysql.conf.d"
sudo nano /etc/mysql/mysql.conf.d
sudo apt-get install phpmyadmin
Note: must install some xtra for mbstring
sudo apt-get install php-mbstring php7.0-mbstring php-gettext libapache2-mod-php7.0
sudo service apache2 restart
sudo systemctl restart apache2
http://localhost/phpmyadmin/
U: root
P: whatyouuse
From: https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite
sudo a2enmod rewrite
=== Next is the Database This case is MySql ===
From: http://linoxide.com/ubuntu-how-to/install-drupal-7-x-apache-2-x-ubuntu/
mysql -u root -p
Once Successful login to the Mysql Server, we'll use these command to create database for
drupal. In this case I will give the name of the drupal database as drupaldb, You can call
this whatever you would like.
CREATE DATABASE drupaldb;
Next, we are going to create a separate MySQL user account and give this user a password. On
this case we will call the new account “linoxideuser” and password for new account “drupaLinoxide1“,
you should definitely change the password for your installation and can name the user whatever you’d
like but make sure you don't forget the database name,username and password. You can do this by
typing the following command:
CREATE USER linoxideuser@localhost IDENTIFIED BY 'drupaLinoxide1';
Next, grant all privileges on the database you just created to the new user by running the commands
below
GRANT ALL PRIVILEGES ON drupaldb.* TO linoxideuser@localhost;
We need to flush the privileges so that the current instance of MySQL knows about the recent
privilege changes we’ve made:
FLUSH PRIVILEGES;
And finally we exit the MySQL terminal by entering:
exit;
=== Setup Drupal website Without Composer See next section for Composer install ===
From: http://linoxide.com/ubuntu-how-to/install-drupal-7-x-apache-2-x-ubuntu/
sudo rsync -avP /home/marcus/Downloads/drupal-8.1.1/ /var/www/html
mv /var/www/html/index.html /var/www/html/index_apache2.html
apache2ctl -M
sudo mkdir /var/www/html/sites/default/files
sudo chmod a+w /var/www/html/sites/default/files
sudo cp /var/www/html/sites/default/default.settings.php /var/www/html/sites/default/settings.php
sudo chmod a+w /var/www/html/sites/default/settings.php
rerun install
sudo chmod go-w /var/www/html/sites/default/settings.php
sudo chmod go-w /var/www/html/sites/default
sudo nano /etc/apache2/apache2.conf
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
sudo service apache2 restart
sudo systemctl restart apache2
sudo chmod a+w /var/www/html/web/sites/default/settings.php
sudo nano /var/www/html/web/sites/default/settings.php
$settings['trusted_host_patterns'] = array(
'^127\.0\.0\.1$',
'^localhost$',
'^drupal\.example\.com$',
);
sudo chmod go-w /var/www/html/web/sites/default/settings.php
==== Download Composer ====
From: https://getcomposer.org/download/
Download Composer
Run this in your terminal to get the latest Composer version:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
==== Install Globally ====
From: https://getcomposer.org/doc/00-intro.md
mv composer.phar /usr/local/bin/composer
==== create the project ====
From: https://github.com/drupal-composer/drupal-project
composer create-project drupal-composer/drupal-project:8.x-dev some-dir --stability dev --no-interaction
Composer template for Drupal projects
This project template should provide a kickstart for managing your site dependencies with Composer.
If you want to know how to use it as replacement for Drush Make visit the Documentation on drupal.org.
Ubuntu 17.04
composer create-project drupal-composer/drupal-project:8.x-dev /var/www/html/ --stability dev --no-interaction
Results say:
Create a sites/default/settings.php file with chmod 0666
Create a sites/default/files directory with chmod 0777
==== Ubuntu Setup Virtual host for domain = wellcreateddomain.name ====
From: https://help.ubuntu.com/14.04/serverguide/serverguide.pdf
Ubuntu 17.04
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/wellcreateddomain.conf
if need add to hosts
127.0.0.1 wellcreateddomain.name
sudo mkdir /var/www/html/sites/default/files
sudo chmod a+w /var/www/html/sites/default/files
sudo cp /var/www/html/sites/default/default.settings.php /var/www/html/sites/default/settings.php
sudo chmod a+w /var/www/html/sites/default/settings.php
rerun install
sudo chmod go-w /var/www/html/sites/default/settings.php
sudo chmod go-w /var/www/html/sites/default
==== Ubuntu after copy of Drupal to web location setup setting.php ====
From: https://linoxide.com/ubuntu-how-to/install-drupal-7-x-apache-2-x-ubuntu/
compose done - sudo mkdir /var/www/html/web/sites/default/files
compose done - sudo chmod a+w /var/www/html/web/sites/default/files
compose done - sudo cp /var/www/html/web/sites/default/default.settings.php /var/www/html/sites/default/settings.php
compose done - sudo chmod a+w /var/www/html/web/sites/default/settings.php
sudo chown -R www-data:www-data /var/www/html/web
rerun install
sudo chmod go-w /var/www/html/web/sites/default/settings.php
sudo chmod go-w /var/www/html/web/sites/default
====== Turnkey Drupal ======
From: https://hub.turnkeylinux.org/pricing/
Rapidly explore and deploy 100+ ready-to-use server apps in the Amazon EC2 cloud. Only a browser required.
You asked us to make TurnKey even easier. We did. Deploying TurnKey on-demand in the cloud frees you from having to download of hundreds of MBs per appliance image, setup extra software and hardware for virtualization, or ask special favors from IT staff.
====== commerse kickstart ======
Reference: panopoly
From: https://drupalcommerce.org/commerce-kickstart-2
From Demo: http://demo.commerceguys.com/
Open Atrium - Intranet (Calendar)
Drupal Commons - community
ERPAL
====== Panopoly ======
Has Modules:
View
Pathauto
Date
WISIWYG
Link
Media
Entity API
Search API
Libraries
Panelizer
FAPE
CTools
Panels
Features
Fieldable Panel Panes
Admin Views
Module Filter
Save Draft
JQuery Update
Linklt