How to install drush with composer on linux box

I had trouble installing Drush on my newly created Centos box. Therefore, I have documented my steps.

First, you need install Composer ( PHP Dependency Manager) cd into the
$ cd /tmp

Download Composer.phar here

$ curl -sS https://getcomposer.org/installer | php

Then move it to /usr/local/bin so that it can be used globaly.
$ mv composer.phar /usr/local/bin/composer

Now type $composer

If you done everything right you should get something that look like this:

How install Aegir octopus High performance Hostmaster for Drupal

I have tried install BOA-3.0.2 to host my many Drupal sites and I have struggled a lot install it. I am hopping this write up may help someone to have better experience.

This is the description from the smart people who developed this software/script.

BOA is an acronym of high performance Barracuda, Octopus and Aegir LEMP stack.

Includes all-in-one bash scripts (see docs/INSTALL.txt for details) to install
and upgrade high performance Aegir Hosting Systems for Drupal, with Nginx, PHP-FPM, Zend OPcache, MariaDB and Redis.

What is Octopus?

Change Proxmox port number from 8006 to 443

First off this is not secure and it is not recommended on a production environment. There are two ways of doing this. First is by editing /usr/bin/pveproxy.
Somewhere in
my $socket = $self->create_reusable_socket(8006);
Change the port value, 8006 to your desired number, save the modification, and restart pveproxy:

sudo service pveproxy restart

This is may not available on the newer proxmox servers. Therefore, and easy way to do it by using iptables command like this:

Directory /proc/vz not found, assuming non-OpenVZ kernel Container init failed: Cgroup is not mounted TASK ERROR: command 'vzctl destroy 100' failed: exit code 5

Directory /proc/vz not found, assuming non-OpenVZ kernel
Container init failed: Cgroup is not mounted
TASK ERROR: command 'vzctl destroy 100' failed: exit code 5

TO delete just navigate to /etc/pve/nodes/xxxx/openvz/ and delete the file which has the vm number. Mine was 100.conf
$ rm 100.conf
This will completely delete the node.

PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction: DELETE FROM {cache_bootstrap} WHERE (cid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => variables

If you see the below error. It is your database telling you restart me
$ service mysqld stop
$ service mysqld start
PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction: DELETE FROM {cache_bootstrap}
WHERE (cid = :db_condition_placeholder_0) ; Array
(
[:db_condition_placeholder_0] => variables

how to make bootstrap image responsive

Add this at the end of your custom css usually the file called style.css

img { width: 100%; }
you can also use img{display-block; width:100%;}
or
img {
display: inline-block;
height: auto;
max-width: 100%;
}

or
img {
display:block;
height: auto;
max-width: 100%;
}

Whichever works for you. Display block turns the image to a block element and will put it on its own line. Me; I just use img{width:100%;}

That is all there is to it.

haldaemon- What is this?

If you see this is a monitor that checks on hardware on your server. This is how it is described:
hald is a daemon that maintains a database of the devices connected to the system system in real-time. The daemon connects to the D-Bus system message bus to provide an API that applications can use to discover, monitor and invoke operations on devices. For more information about both the big picture and specific API details, refer to the HAL spec which can be found in /usr/share/doc/hal-0.5.14/spec/hal-spec.html depending on the distribution.

Apache Yahoo News Feed

Drupal Yahoo News

Linux Yahoo News Feed

Mysql Yahoo News Feed