Skip to main content

Copy directory

To copy the content of a directory /source to another existing directory /destination can be achieved with the command cp -a

cp -a source/. destination/

Changing the variables accordingly:

  • source = challenge/vendor/
  • destination = stg/vendor/

cp -a challenge/vendor/. stg/vendor/

composer php version

Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change as it has now moved into 9.x.  It has integrated more with composer, and you can be caught by fatal errors occurring during the update process.  One of these errors for me was the php version.  

Adding ejabbed MYSQL schema to your database

The starting point is to read through and follow the notes outlined on the ejabberd site regarding adding database schema.  The purpose of this documentation is to clarify where the files were located for me.

The schema files can be found in ejabberd priv directory.  To find the priv directory, use the find command

Installing erlang

To add Erlang repository that also includes the public key for verifying signed package, use the following shell commands:

wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm

rpm -Uvh erlang-solutions-1.0-1.noarch.rpm

Install Erland

yum install erlang

Check that Erland has been installed enter the command (case sensitive)

Installing Erlang XMPP on Apache

I'm writing these steps primarily for myself as a reference.  However, if someone else finds them useful to great.

Adding XMPP framework to your server.  Initially I was going to add Prosody, however as I'm working off an Apache server with Centos 6.10 this quickly proved to a goal that was out of reach.  Instead, I pivoted and redirected to Erlang.  

Subscribe to Centos 6