Command line Drupal install and update script for multi-site hosting

Maintaining a Drupal site, or a collection of sites is much easier if everything is kept completely separate--Drupal core, contributed modules, and the site itself.
This is even more important if multiple sites are hosted on the same server. Drupal's own multi-site support can be a nightmare to maintain, believe me! (e.g. when you want to upgrade modules or core).
A must simpler and easily supported configuration is to keep everything separate and to use symbolic links to tie it all together. For example, I keep:

Topic: 

Drup.org - Free Resources for Websites

Drup.org exists as a place for me to document the things that I have learned while building dynamic websites and hosting platforms.

My business (designing Drupal websites) gw.ca . Below are some of the sites that I have built:

Commercial websites

Websites for non-profits

Unsnap Firefox

Five Steps

sudo snap remove firefox

sudo add-apt-repository ppa:mozillateam/ppa

echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
' | sudo tee /etc/apt/preferences.d/mozilla-firefox

echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox

sudo apt install -y --allow-downgrades firefox
sudo dpkg-reconfigure unattended-upgrades    #And answer NO
Topic: 

libdvd-pkg: `apt-get check` failed when updating libdvd

libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting...

Can be solved by:

dpkg-reconfigure libdvd-pkg

Course Evaluation

20 basecamp alternatives for Project Management

  • Note that it is essential to see all the tasks to be done to complete a milestone. Some products, including basecamp, will not allow this but hide the tasks within lists
Topic: 

Drupal and PHP 5.3

There are some problems with running Drupal on php 5.3. There are five kinds of solutions:

  1. Downgrade to php 5.2.6 (not possible in many situations)
  2. modify Drupal to change the error level reporting
  3. find the latest patches to fix the problems
  4. hack Drupal core or contrib yourself to fix the errors (Drupal 6 is already compliant, but not D5)
  5. put a timezone in your php.ini to get rid of timezone errors

Drupal 6

2. Modify Drupal's error reporting --already done for Drupal 6

3. Find patches

How to chroot

Here is a good link on how to Recover a Non-booting Linux System
http://roderick-greening.blogspot.com/2009/09/recover-non-booting-linux-...

and the core:

ubuntu@ubuntu:~$ sudo mount /dev/sda6 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/boot
ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt/home

Verify everything looks correct before proceeding (i.e. you got the partitions correct and mounted in the correct places).

Next, you need to take care of /proc and /dev as follows:

ubuntu@ubuntu:~$ sudo mount -t proc none /mnt/proc
Topic: 

Useful Subversion Links

Drupal 7 SEO resources

Essential Drupal Modules

Pages

Subscribe to Drup.org RSS