How can I find the version of my Chef server - centos

I am unsure what version of chef server is installed. How can I find this version?

chef-server-ctl version should show it. You can also check your packaging system (deb, rpm, etc).

To check chef-client version
=> chef -v
will get the details of
-> chef dk version
-> chef-client version
-> delivery version
-> berks version
-> kitchen version
-> inspecific version

Related

Can ClamAV latest version (0.105.0) be installed on RedHat 8.5?

I have ClamAV server version 0.103.5 installed on a RHEL 8.5.
When I run freshclam it says:
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.103.5 Recommended version: 0.103.6
However, when I go to the ClamAV downloads page (https://www.clamav.net/downloads), I see that the latest RPM version is clamav-0.105.0.linux.x86_64.rpm.
My assumption is the the freshclam commands only refers to the same major version.
But if I follow the link from ClamAV page to the prebuilt packages for RHEL/Fedore (https://src.fedoraproject.org/rpms/clamav), it lists 0.103.6 as the latest available version.
So, can I install version 0.105.0 from ClamAV or must I use only official Fedora/RHEL packages?

IBM Blockchain platform cannot rebuild native dependencies

I trying to get the IBM Blockchain platform to work in Visual studio code (on Linux), but it keeps coming back with:
Could not rebuild native dependencies Failed to execute command "npm" with arguments
"rebuild, grpc, --target=6.1.5, --runtime=electron, --update-binary, --fallback-to-build, --
target_arch=x64, --dist-url=https://atom.io/download/electron" return code 1. Please ensure
that you have node and npm installed
I have node and npm installed
node -v
v10.17.0
and
npm -v
6.11.3
satisfying the constraints. I have visual studio code version 1.41.1. What could be thie issue?
The problem you are experiencing is described in this issue https://github.com/IBM-Blockchain/blockchain-vscode-extension/issues/1621
The issue is that there are no pre-built versions of grpc used by the fabric node sdk for electron 6 currently and due to changes in newer versions of gcc the grpc node module fails to compile when it falls back to using source because of no pre-built versions
The easiest solution is to downgrade for vscode 1.39 and install the extension.
Alternative options are to install gcc version 7 and make that the default in your linux environment or you could install a version of linux that has gcc version 7 as the default for example ubuntu 18.04 (which would allow grpc to compile from source)

Issue when migrating from Piwik 1.12 to Piwik 2.15.0

I've encountered the following error when upgrading Piwik from 1.12 to 2.15.0 by using the one-click installer:
PHP Fatal error: Class 'Piwik_Plugin' not found in path_to_application/plugins/DoNotTrack/DoNotTrack.php
How to recover my Piwik instance from there?
I've done this in the past a few times, succesfuly. I followed "major" versions at http://piwik.org/changelog/ and designed an incremental upgrade path.
In your case, this would be something like:
Piwik 1.12 -> 2.1 -> 2.2 -> 2.3 -> 2.4 -> 2.5 -> 2.6 -> 2.7 -> 2.7 -> 2.8 -> 2.9 -> 2.10 -> 2.11 -> 2.12 -> 2.13 -> 2.14 -> 2.15
Of course backup DB + code base before each one, make sure you're in maintenance mode.
Short answer is to follow the documentation from
http://piwik.org/faq/how-to-install/faq_18271/
--
I've also tried to run the following command without success:
php console core:update
After saving the database and the configuration file (config/config.ini.php), I've decided to checkout the latest version manually to recover from there.
git remote add upstream https://github.com/piwik/piwik.git
git checkout -B 2.15.0 tags/2.15.0
Accessing the dashboard worked but some panels were still not loading and also the following error message was logged:
PHP Fatal error: require_once(): Failed opening required 'path_to_application/libs/PiwikTracker/PiwikTracker.php'
I had also to initialize the git submodules, to update them and to install the vendors using composer:
git submodule update --init --recursive
# Download composer
curl -sS https://getcomposer.org/installer | php
php composer.phar install --prefer-dist --no
# Run the upgrade command
php console core:update --yes
# Disable development mode
./console development:disable

Running orion context broker

Following the tutorial about installing Orion, I installed contextBroker-0.5.0-1.x86_64.rpm and contextBroker-tests-0.5.0-1.x86_64.rpm.
After all, I decided to run Orion, but when I do using # contextBroker I get this notification
"contextBroker: error while loading shared libraries: libmicrohttpd.so.10: cannot open shared object file: No such file or directory"
I've read on the Internet that "libmicrohttpd.so.10" belongs to contextBroker-0.5.0-1.x86_64.rpm, so I don't know what the problem is.
Version 0.5.0 is very old. I would recommend you to install the newest one that, at time of this writting, is 0.14.0.
You can install it in the following way:
Remove the old version (rpm -e contextBroker)
Configure FI-WARE yum respository (explained here)
Install contextBroker running: yum install contextBroker
Ensure you have the newest version: contextBroker --version

Install Package for perl in windows

I wanted to install Movable Type in my server , I have installed Perl version: v5.16.3 in my own server and add handler mapping for it .
perl(cgi files) runs good but before of installing mt I should have installed two package for mt :
1 - DBD::mysql
2- DBD::SQLite2
i have installed first on but not succesfull to install intsalling DBD::SQLite2 on Perl with running ppm install DBD-SQLite2 i get not found error.
Address of Mt Check file on server
You don't need to install DBD:SQLite2.
See the system requirements at:
http://www.movabletype.org/documentation/system-requirements.html
The support for 'DBD::SQLite2' is deprecated in movable type v5.x and you would like to install v5.2.3 which is the latest version and the one supported and further developed.
Thanks,
Mihai