on ubuntu VM:
mysql:dbpass
headley:junkpass64
root:rootme
=========
AdvancedHelp (access module README files via admin interface)
nice_menus (pull out/down menus)
AIS (adaptive image)
Libraries API
Ctools
JQuery_Update
JQuery_Plugin
jQuery_Cycle
Views
Views Slideshow
json2 library (https://github.com/douglascrockford/JSON-js)

flexslider module+library{
- patch drupal/.htaccess for ais (per install instructions)
- configure modules (flexslider, ais)
- create slideshow content type
- put references to flexslider library css and js in theme .info (better way? template.php?)

- configure modules> flexslider > option set > image style = adaptive
Home » Administration » Configuration » Media >> flexslider_full or adaptive

no need to add code (e.g. <ul class="flexslider"> in body of field

in Home » Administration » Structure » Content types » FS-Slideshow > Custom Display settings clear Teaser and Full Content (to make it display by default, otherwise must click "read more" if Teaser is set

Home » Administration » Structure » Content types » FS-Slideshow » Manage Display
Label Hidden dropdown = Hidden

to change image size:
Admin>configuration>image styles> adaptive, flex_slider
configure flexslider module option set to use adaptive image
Administration » Structure » Content types » FS-Slideshow » Manage fields
configure Preview image style to use adaptive image
}
========
OR just use 
Views Slideshow{
Great HOWTOhere:
http://www.brightwebsitedesign.com/how-to-install-views-slideshow-module-on-drupal7

     Views (7.x-3.0-beta3)
    Views Slideshow (7.x-3.0-alpha1)
    Chaos tool suite (7.x-1.0-alpha4)
    Libraries (7.x-1.0)
    Link Field (7.x-1.0-alpha3)
    Token (optional) (7.x-1.0-beta1)

}

OR ========
SlideshowCreator{
jquery_plugin
}

=========
http://drupal.org/upgrade/backing-your-site-command-line
Back up database

Before making a database backup, it is recommended to turn off cron jobs.
MySQLdump

Mysqldump lets you create a copy of the database:

mysqldump -u USERNAME -p PASSWORD DATABASENAME > /path/to/backup_dir/database-backup.sql
Drush

The Drush command sql-dump creates a copy of the database. From your Drupal directory execute:

drush sql-dump > /path/to/backup_dir/database-backup.sql

Use drush help sql-dump for more information.

Note: Drush 5 introduced archive-dump and archive-restore commands which allow you to backup your code, files, and database into a single file.

If you have installed the module Backup & Migrate you can use the drush command bam-backup. From your Drupal directory execute:

drush bam-backup
Drupal sql dump script (Drupal 6 and earlier)

The Drupal sql dump script will look at your Drupal settings file, automatically connect to the database, and make a backup of it.

    If you are running a version of Drupal that is 4.6 or newer:
    ./drupalsqldump.sh sites/default/settings.php > /path/to/backup_dir/database-backup.sql
    If you are running a version of Drupal 4.5 or older:
    ./drupalsqldump.sh includes/conf.php > /path/to/backup_dir/database-backup.sql

=========
headley:he.....4

[headley@xfoceweb ~]$ ls /var/www/xFOCE/xfoceweb/sites/all/themes/
bestmobile/          README.txt           responsive_business/ xfoceweb_custom/     dark_elegant/        responsive/          responsive_skeleton/ xfoceweb_omega/      omega/               responsive_blog/     TARS/                zen/                 

[headley@xfoceweb ~]$ ls /var/www/xFOCE/xfoceweb/modules/
aggregator  contact                       field_ui  locale   php         shortcut    toolbar
block       context-7.x-3.0-beta6.tar.gz  file      menu     poll        simpletest  tracker
blog        contextual                    filter    node     profile     statistics  translation
book        dashboard                     forum     openid   rdf         syslog      trigger
color       dblog                         help      overlay  README.txt  system      update
comment     field                         image     path     search      taxonomy    user

[headley@xfoceweb ~]$ ls /var/www/xFOCE/modules/
acl-7.x-1.0.tar.gz                dynamic_background-7.x-1.10.tar.gz  phpmailer-7.x-3.x-dev.tar.gz
backup_migrate-7.x-2.4.tar.gz     forum_access-7.x-1.2.tar.gz         PHPMailer_v5.1.tar.gz
captcha-7.x-1.0-beta2.tar.gz      libraries-7.x-2.0.tar.gz            smtp-7.x-1.0-beta2.tar.gz
chain_menu_access-7.x-2.0.tar.gz  menu_block-7.x-2.3.tar.gz           theme_editor-7.x-2.x-dev.tar.gz
ckeditor-7.x-1.9.tar.gz           mollom-7.x-2.3.tar.gz               wysiwyg-7.x-2.2.tar.gz
context-7.x-3.0-beta4.tar.gz      nice_menus-7.x-2.1.tar.gz
context-7.x-3.0-beta5.tar.gz      panels-7.x-3.3.tar.gz
[
=========
http://drupal.org/node/244924 
[Securing file permissions and ownership]

[root@localhost]cd /path_to_drupal_installation
[root@localhost]chown -R greg:www-data .
[root@localhost]find . -type d -exec chmod u=rwx,g=rx,o= '{}' \;
[root@localhost]find . -type f -exec chmod u=rw,g=r,o= '{}' \;

[root@localhost]cd /path_to_drupal_installation/sites
[root@localhost]find . -type d -name files -exec chmod ug=rwx,o= '{}' \;
[root@localhost]for d in ./*/files
do
   find $d -type d -exec chmod ug=rwx,o= '{}' \;
   find $d -type f -exec chmod ug=rw,o= '{}' \;
done

Summarizing the permissions

    drupal_admin: the user on the server that administrates Drupal, not necessarily is the root.
    site_admin: the owner of the hosted site (a customer) 

Ownership

Core modules/themes files and directories: drupal_admin:www-data
Hosted sites modules/themes/files files and directories: site_admin:www-data
Permissions

Core modules/themes directories: rwxr-x---
Core modules/themes files: rw-r---
Hosted sites modules/themes directories: rwxr-x---
Hosted sites modules/themes files: rw-r-----
Hosted sites "files" directory: rwxrwx---
Hosted sites files under "files" directories: rw-rw----
Hosted sites subdirectories under "files" directories: rwxrwx---

=========
https://help.ubuntu.com/community/Drupal
Drupal Installation

Note: The two methods listed below are not compatible. The Ubuntu package (from the repositories) installs Drupal6 in different directories from the manual method. Choose one method or the other, but do not attempt to use both. You cannot switch back and forth between the two methods.

Install Drupal package from the Ubuntu repositories

You can choose whether to install Drupal6 or Drupal7 from the repositories. As always, repository version are not the most current versions, but they can be updated easily.

sudo apt-get install drupal6

or

sudo apt-get install drupal7

Allow dbconfig-common to configure your database (by default: MySQL)

Then, register the Drupal module with Apache:

sudo cp /etc/drupal/6/apache2.conf /etc/apache2/mods-enabled/drupal.conf

or

sudo cp /etc/drupal/7/apache2.conf /etc/apache2/mods-enabled/drupal.conf

Finally, restart Apache:

sudo service apache2 restart
########
Manual installation of Drupal

The following instructions are for version 7.18 of the Drupal7 branch, which was the most current version at the time of writing. (A similar method can be used for the most current version of Drupal 6). This installation does not install Drupal in directories that are compatible with the repository packages.

wget http://ftp.drupal.org/files/projects/drupal-7.18.tar.gz
tar -xvzf drupal-7.18.tar.gz
sudo mkdir /var/www/drupal
sudo mv drupal-7.18/* drupal-7.18/.htaccess /var/www/drupal

It is required to create a files subdirectory in your drupal default site installation directory. It will be used for files such as custom logos, user avatars, and other media associated with your new site.

sudo mkdir /var/www/drupal/sites/default/files
sudo chown www-data:www-data /var/www/drupal/sites/default/files

It is also required to create the initial configuration file for the default site.

sudo cp /var/www/drupal/sites/default/default.settings.php /var/www/drupal/sites/default/settings.php
sudo chown www-data:www-data /var/www/drupal/sites/default/settings.php

Manually configure the MySQL database for Drupal

You need to create a MySQL drupal database and then load the database schema into it. You can do this with phpMyAdmin or via the command line:

mysqladmin -u root -p create drupal

Where drupal is the name you picked for the mysql database that Drupal will use. You can call it anything you want.

mysql -u root -p

mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON drupal.* TO 'drupaluser'@'localhost' IDENTIFIED BY 'drupalpass';

You do not want to have Drupal use the mysql root user to access the database. The above command creates a mysql user (other than the mysql root user) with some priviledges to use the drupal database. You should pick something different than drupaluser and drupalpass. If the command was successful, activate the new permissions:

mysql> FLUSH PRIVILEGES;

Quit the mysql prompt:

mysql> \q

[klh note - use sudo mysql -u root -p drop <database_name> to erase a database and start over]

Manually configure the PostgreSQL database for Drupal

Edit the /var/www/drupal/sites/default/settings.php file so that Drupal can know what user, password and database to use.

        * Database URL format:
        $db_url = 'pgsql://username:password@localhost/databasename';
        where username = drupaluser  password = drupaluserpass databasename = drupaldb

Reload Apache

Finally, reload Apache2.

sudo service apache2 restart

Adding modules

Howto Install Modules When trying to install a module this error may be displayed

"WARNING: You are not using an encrypted connection, so your password will be sent in plain text. Learn more." 

"To continue, provide your server connection details"

The warning message is a bit misleading, The problem is write access to directory's on the web server.

Write Access

If you not to worried about security then changing write access is the quick method

When the user is www-data:

sudo chown www-data:www-data -R /var/www/drupal/sites

Command Line

From a security point of view it appears that the preferred method is to manually install modules over SSH with command line. This method will be slower but more secure. see Install Modules

Example: Install Wysiwyg

wget http://ftp.drupal.org/files/projects/wysiwyg-7.x-2.1.tar.gz
tar -xvzf wysiwyg-7.x-2.1.tar.gz
sudo mkdir -p /var/www/drupal/sites/all/modules/wysiwyg
sudo mv wysiwyg/*  /var/www/drupal/sites/all/modules/wysiwyg

Wysiwvg requires a client-side editors, for CKEditor run the following

wget http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.6.1/ckeditor_3.6.1.tar.gz
tar -xvzf ckeditor_3.6.1.tar.gz
sudo mkdir -p /var/www/drupal/sites/all/libraries/ckeditor
sudo mv ckeditor/*  /var/www/drupal/sites/all/libraries/ckeditor