I installed Apache Superset on Red Hat Enterprise Linux release 8.4 (Ootpa), and config connect bigquery, but It errors - google-bigquery

I installed :
pip install sqlalchemy-bigquery
I config connect bigquery :
The errors :Can't load plugin: sqlalchemy.dialects:bigquery
Please help support how to connect bigquery from Apache superset
`
Thanks.
The same error after reintall and install sqlalchemy-bigquery

Related

How to install httpd on RedHat Server? What Yum repository?

I am pretty new with this kind of server so please excuse my ignorance.
I asked my company for a Linux Server for hosting a web application and they gave me this system:
Red Hat Enterprise Linux Server release 7.7 (Maipo)
so the first thing I did was trying to install Apache HTTP, which package is called httpd in yum repositories.
Following a tutorial I did:
sudo yum list httpd
Which started returning a series of time out messages coming from a mirror related to my company (Are they hosting rhel repositories? Is this a common practice?)
Anyway I started disabling this mirrors at which point the command
sudo yum list httpd
returned just:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Repository rhel-7-server-rpms is listed more than once in the configuration
Error: No matching Packages to list
I tried adding back some repo without any basic knowledge of the technology so I'll just post the result of this command:
sudo yum repolist enabled
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Repository rhel-7-server-rpms is listed more than once in the configuration
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,457
rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 19,380
vmware-tools VMware Tools 1
repolist: 32,838
What should I do? How do I know which repo to add and/or enable to install this common package?
httpd2.4 for RHEL is packaged as a Software Collection, so you have to enable some repos first. See these docs:
Release notes
Installation
Once you "scl enable" the proper repos, then you'll "yum install httpd24"
If you want a shortcut for setup, use step 1 only on this Python Hello World page, then yum install.

There is no Driver for DataStax Graph in PHP

DataStax Enterprise 5.0 doesn't have a PHP driver. I need to use DSE Graph, What do I do ? Write Python Code and somehow run it using PHP ?
Is there a timeline of when they are going to release this ? Any ideas anyone ?
Since the PHP driver is built on top of the DataStax Enterprise C++ driver, it necessarily lags releases on that driver. There are no firm dates, but I can say the DSE C++ driver should be GA mid-October 2016, and the PHP driver will be RC status some weeks after that.
The alternative for now is to write in any of the other languages with GA graph support: Java, Python, Ruby, node.js, or C#.
Had contact with datastax and get it running now on CentOS 7:
# Download and install the dependencies for PHP DSE driver v1.0.0
sudo rpm -Uvh http://downloads.datastax.com/cpp-driver/centos/7/dependencies/libuv/v1.11.0/libuv-1.11.0-1.el7.centos.x86_64.rpm
sudo rpm -Uvh http://downloads.datastax.com/cpp-driver/centos/7/dse/v1.1.0/dse-cpp-driver-1.1.0-1.el7.centos.x86_64.rpm
sudo rpm -Uvh http://downloads.datastax.com/php-driver/centos/7/dse/v1.0.0/php70w-dse-driver-1.0.0stable-1.el7.centos.x86_64.rpm
# Ensure that the PHP DSE driver is installed correctly
php -i | grep -A 11 "^dse$
We are running here with zend server and we are getting the following error when trying to install the dse driver rpm:
error: Failed dependencies:
php(api) = 20151012-64 is needed by php70w-dse-driver-1:1.0.0stable-1.el7.centos.x86_64
php(zend-abi) = 20151012-64 is needed by php70w-dse-driver-1:1.0.0stable-1.el7.centos.x86_64
Checking we had the right version with:
phpize -v
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
We solved this with installing the rpm with the flag nodeps:
sudo rpm -Uvh --nodeps http://downloads.datastax.com/php-driver/centos/7/dse/v1.0.0/php70w-dse-driver-1.0.0stable-1.el7.centos.x86_64.rpm
Then copy the dse.so to the plugin directory for PHP. And load the extension with a .ini file or directly in php.ini.
sudo cp /usr/lib64/php/modules/dse.so /usr/local/zend/lib/php_extensions/
The documentation of the PHP DSE API you can find here:
PHP DSE API

Error while installing Mono on FreeBSD 10.3 (No address record repository FreeBSD has no meta file)

Can anybody please help me with installing mono on FreeBSD 10.3 version?
While Installing using pkg install mono I get an error as
pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly/meta.txz: No address record
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly/packagesite.txz: No address record
Unable to update repository FreeBSD
Please suggest me the steps to install Mono on FreeBSD since I'm new to FreeBSD.

yum install activemq activemq-client - no package activemq available

I am trying to install activemq and activemq-client on RHEL 6.6 with yum.
But after typing
yum install activemq activemq-client
the machine just saying
No package activemq available
No package activemq-client available
Nothing to do.
Is there a way to get yum working for this ?
Thanks for your help.
For a simple installation following the tutorial you have to enable different repos for yum, this can be done by
subscription-manager repos --enable=*repoid*
To get a list of Repo IDs, you can use:
subscription-manager repos --list
After this, everything works fine.

Redis error: "unknown command 'MULTI'" on Redis 1.2.6

I have an error unknown command 'MULTI' on Redis server 1.2.6, how is it possible as the docs say that it's available since 1.2.0 ?
The distrib is Debian 6.
We finally installed 2.4 using backports repository.
I'll write a comment on the docs' page though.