Installing Bolt 2.1.3 - getting lots of "suggests installing" notifications - bolt-cms

I cloned the repo, checked out to v2.1.3 and ran composer install. It all seemed fine, then at the end I got these notifications:
symfony/intl suggests installing ext-intl (to use the component with locales other than "en")
symfony/form suggests installing symfony/framework-bundle (For templating with PHP.)
symfony/security-core suggests installing symfony/expression-language (For using the expression voter)
symfony/security-core suggests installing ircmaxell/password-compat (For using the BCrypt password encoder in PHP <5.5)
symfony/twig-bridge suggests installing symfony/templating (For using the TwigEngine)
symfony/twig-bridge suggests installing symfony/security (For using the SecurityExtension)
symfony/twig-bridge suggests installing symfony/expression-language (For using the ExpressionExtension)
symfony/validator suggests installing egulias/email-validator (Strict (RFC compliant) email validation)
symfony/validator suggests installing symfony/expression-language (For using the 2.4 Expression validator)
symfony/var-dumper suggests installing ext-symfony_debug ()
m6web/symfony2-coding-standard suggests installing m6web/coke (PHP CodeSniffer configurator)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
symfony/http-kernel suggests installing symfony/class-loader ()
symfony/routing suggests installing symfony/expression-language (For using expression matching)
rossriley/flysystem53 suggests installing predis/predis (Allows you to use Predis for caching)
rossriley/flysystem53 suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
rossriley/flysystem53 suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
rossriley/flysystem53 suggests installing league/flysystem-copy (Allows you to use Copy.com storage)
rossriley/flysystem53 suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
rossriley/flysystem53 suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
rossriley/flysystem53 suggests installing league/flysystem-aws-s3-v2 (Use S3 storage with AWS SDK v2)
rossriley/flysystem53 suggests installing league/flysystem-aws-s3-v3 (Use S3 storage with AWS SDK v3)
rossriley/flysystem53 suggests installing league/flysystem-dropbox (Use Dropbox storage)
rossriley/flysystem53 suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
rossriley/flysystem53 suggests installing league/flysystem-sftp (Allows SFTP server storage via phpseclib)
rossriley/flysystem53 suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
siriusphp/upload suggests installing knplabs/gaufrette (Alternative filesystem abstraction library for upload destinations)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
behat/mink suggests installing behat/mink-zombie-driver (fast and JS-enabled headless driver for any app (requires node.js))
guzzle/guzzle suggests installing guzzlehttp/guzzle (Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated.)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.0.5)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
codeception/codeception suggests installing codeception/phpbuiltinserver (Extension to start and stop PHP built-in web server for your tests)
Some of theme seem innocuous, but there are a few that seem important:
symfony/templating
symfony/security
and a few others
Are these essential? If so, shouldn't they be in the composer.json file?

In aspect of Bolt's core they are really just suggestions. There are no known harms or degradations without them.

Related

Configure SonarQube (Node.JS) to download binaries from an internal server

What we are trying to do is to get SonarQube to analyze our Typescript (Node.JS) project on a Docker image, but we are running into an error. If it helps, we are trying to use the sonarqube-scanner module from Node.JS.
The error is as encountered below:
[17:57:23] Starting analysis...
[17:57:24] Getting info from "package.json" file
[17:57:24] Checking if executable exists: /root/.sonar/native-sonar-scanner/sonar-scanner-4.5.0.2216-linux/bin/sonar-scanner
[17:57:24] Could not find executable in "/root/.sonar/native-sonar-scanner".
[17:57:24] Proceed with download of the platform binaries for SonarScanner...
[17:57:24] Creating /root/.sonar/native-sonar-scanner
[17:57:24] Downloading from https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.5.0.2216-linux.zip
[17:57:24] (executable will be saved in cache folder: /root/.sonar/native-sonar-scanner)
[91m[18:03:53] [0m[91mERROR: impossible to download and extract binary: connect ETIMEDOUT 91.134.125.245:443
[0m[91m[18:03:53] [0m[91m SonarScanner binaries probably don't exist for your OS (linux).
[0m[91m[18:03:53] In such situation, the best solution is to install the standard SonarScanner (requires a JVM).
[0m[91m[18:03:53] Check it out at https://redirect.sonarsource.com/doc/install-configure-scanner.html
Now if you notice from the error, the binaries server encounters an ETIMEDOUT error, and this is because the server that accesses it comes from an internal network that cannot access external sites.
Would it be possible to configure SonarQube to pull from an internal server? And if so how would we go about configurating this?
Many thanks in advance!
I was able to find documentation through the SonarQube Javascript module here (https://www.npmjs.com/package/sonarqube-scanner)
By default, the scanner binaries are downloaded from https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/. To use a custom mirror, set $SONAR_SCANNER_MIRROR. Or download precise version with $SONAR_SCANNER_VERSION
Example:
export SONAR_SCANNER_MIRROR=https://npm.taobao.org/mirrors/sonar-scanner/
export SONAR_SCANNER_VERSION=3.2.0.1227

How to install the DAML SDK in a Ubuntu VM, which doesn't have the internet connection?

Unable to install the "da-cli-114-7582c1a0bd-linux.run" file in my Ubuntu VM. The setup is failing while checking the latest version check.
I have downloaded the latest DAML SDK setup file "da-cli-114-7582c1a0bd-linux.run" and copied the same into my Ubuntu VM through local network connection. When I try to install the .run file, the setup trying to connect to the internet for latest version check. But I am not allowed to use internet in the application servers/VMs. Because of this restriction the setup is getting failed and I am unable to complete the DAML SDK installation.
Is it possible to get the DAML SDK setup as a .tar file? If we have tar file, then it will be easy to complete the setup manually.
Installing the SDK using the .run files in an environment without an internet connection is not easy. It might be possible to install it in an environment with internet and then tar up the folder ~/.da, extract it back into place in the VM and put ~/.da/bin.
However, there is a new SDK assistant in the works (called daml, not da), which can be installed using curl -sSL get.daml.com | sh. If you look at the content of the installation script, you can see that all it really does is downloading a tar-ball from GitHub releases, un-tars it and calls an install.sh script within. That's probably the easier way to get the SDK into an offline environment at this point.
However, the documentation for the new daml assistant is not on docs.daml.com yet. It will be shortly, but in the meantime you can read it on GitHub.

Add mod_mysql, mod_xml and mod_zlib to apache

I was in the process of Anahita installation - a platform for social networking. In its requirements there is a line which says:
Apache 2.0+ (with mod_mysql, mod_xml, mod_zlib) or Nginx
You can find its main website here and its installation guide here
I installed apache2 (ubuntu 14.04) but when I go to /etc/apache2/mods-available there are no mod_mysql, mod_xml or mod_zlib.
how should I add these modules to apache?
I couldn't find them in modules.apache.org
When they talk about "mod_mysql, mod_xml, mod_zlib" they are not talking about Apache modules but rather about php extensions also sometimes called modules. Go to php.ini and enable mysql, xml-rpc and zlib. Depending on your platform and php distribution you may need to download correct libraries and configure the PATH to your php and mysql.

JVM Server OR Standalone scripts

Are ActiveMQ and Kaazing jms installed on local Mac OS running on any JVM by default [how can i get that info] or standalone start scripts. Please suggest.
Bee,
When you download and extract the gateway (I recommend you to get the "Gateway + Demos" packaging for Linux/Unix/Mac - it contains Apache ActiveMQ preconfigured with the gateway, in addition to the documentation and out-of-the-box demos), you'll find a README.txt file in the root directory. It lists the Java requirements.
For your convenience, here's the Java Requirements snippet from the 4.0.3 version of the gateway:
Java Requirements
* Java Developer Kit (JDK) or Java Runtime Environment (JRE)
Java 7 (version 1.7.0_21) or higher
* The JAVA_HOME environment variable must be set to the directory where
the JDK is installed, for example C:\Program Files\Java\jdk1.7.0_21
* Note:
* For information on installing JDK, see Oracle's Java SE documentation:
http://download.oracle.com/javase/.
Hope this helps!

Mercurial on Jenkins, installing and configuring

I have a Mercurial repository (on Bitbucket) with some code (Java) and I want to do CI builds on a cloud-based Jenkins server (at Jelastic, running on CentOS). My problem is that I haven't been able to do a proper installation of Mercurial on the Jenkins server.
The Jenkins build fails with the following message:
ERROR: Failed to clone https://bitbucket_jenkins_user:some_password#bitbucket.org/repo_owner/my_repository because hg could not be found; check that you've properly configured your Mercurial installation
Setup information
It's a private Mercurial repository, hosted at Bitbucket
In Bitbucket I have set up a Service to trigger the Jenkins build, after a Push has happened
I have defined a specific bitbucket jenkins user in my Mercurial repository, it has only read rights and it logs in using simple https authentication
Jenkins runs on a Tomcat 7, hosted in a Jelastic cloud environment, on CentOS 6
The Mercurial plugin was installed through the Jenkins interface, by Manage plugins
The build is configured as being triggered remotely (by the service defined in Bitbucket)
Build results are the same when started manually and when triggered from a push to the repository
When I first did this I was under the impression that installing the Mercurial plugin in Jenkins would be enough, that it would also install the needed Mercurial binaries to be able to connect to the repository and get the code. I have realized that I was wrong and that on the Manage Jenkins / Configure System page I need to specify my Mercurial installation.
Questions
Is it possible to create a Mercurial installation without ssh access and doing a "yum install mercurial"?
In the Jenkins interface, what can I specify when choosing the "Install Automatically" option?
When defining an installer, I have experimented with the "Extract zip/tar.gz" option, but what can I write as the "Download URL for binary archive"?
Jenkins also offers an installer option of "Run command". What kind of commands could that be, maybe a "yum install ..." or "rpm ..."?
Since my server is cloud based, getting ssh access is a paid add-on which I would prefer to avoid. But if that is my only option I will of course do it, thereby getting access to running commands on the server. However, running "yum install mercurial" on Centos seems to only give the 1.4 version of Mercurial. Current version when I write this is 2.6.3, would I need to download the sources and compile it myself or is it possible to get that as a binary for Centos somewhere?
The Mercurial Plugin page has a section on how to use the Auto Installation options to install Mercurial using ArchLinux packages.
"The plugin supports generic tool auto-installation methods for your Mercurial installation, though it does not publish a catalog of Mercurial versions. For users of Linux machines (with Python preinstalled), you can use ArchLinux packages. For example, in /configure under Mercurial installations, add a Mercurial installation with whatever Name you like, Executable = INSTALLATION/bin/hg, Install automatically, Run Command, Label = linux (if desired to limit this to slaves configured with the same label), Command = [ -d usr ] || wget -q -O - http://www.archlinux.org/packages/extra/i686/mercurial/download/ | xzcat | tar xvf - (or …/x86_64/… for 64-bit slaves), Tool Home = usr, and configure a job with this installation tied to a Linux slave."
see https://wiki.jenkins-ci.org/display/JENKINS/Mercurial+Plugin