installing Amazon DynamoDB Storage Backend for Titan 0.5.4 - amazon-dynamodb

Im trying to install and run Amazon DynamoDB Storage Backend for Titan 0.5.4 locally, and I followed the instruction here on linux ubuntu but I got Titan 1.0.0 instead of Titan 0.5.4 which I really couldn't find why!
phoenix# dynamodb-titan-storage-backend$ mvn install
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------
[INFO] Building Amazon DynamoDB Storage Backend for Titan 1.0.0
[INFO] ----------------------------------------------------------------

You forgot to switch from 1.0.0 to 0.5.4branch.
To do that, run this after cloning your repo:
git checkout 0.5.4

Related

Unable to install the FlutterFire CLI

https://firebase.google.com/codelabs/firebase-get-to-know-flutter#3
dart pub global activate flutterfire_cli
I followed the instructions on the above page and executed the above command.
When I did so, I received the following error message.
The current Dart SDK version is 2.10.5.
Because pub global activate depends on flutterfire_cli any which requires SDK version >=2.12.0 <3.0.0, version solving failed.
When I ran flutter upgrade to try it out, I got the following message.
Flutter is already up to date on channel stable
Flutter 2.8.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 77d935af4d (5 weeks ago) • 2021-12-16 08:37:33 -0800
Engine • revision 890a5fca2e
Tools • Dart 2.15.1
dart pub global activate flutterfire_cli
I then ran the above command again, but still got the same error message.
What should I do?
It seems you have Dart SDK installed with version 2.10.5 separately from the one that came with flutter(Dart v2.15.1). upgrade the Dart SDK with this commands
(MacOS)
brew upgrade dart
(Windows)
choco upgrade dart-sdk
(Linux)
sudo apt-get install dart

Cannot install Mariadb on Linux Ubuntu 20.04

I would like to install Mariadb on Ubuntu 20.04. I followed instructions on download page.
Here is what I get.
joe#joeslinux:~$ curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
[sudo] password for joe:
[info] Repository file successfully written to /etc/apt/sources.list.d/mariadb.list
[info] Adding trusted package signing keys...
[info] Running apt-get update...
E: The repository 'http://ppa.launchpad.net/zanchey/asciinema/ubuntu focal Release' does not have a Release file.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://ocean.surfshark.com/debian stretch InRelease: The following signatures were invalid: EXPKEYSIG 1DB7590E83C8F643 Surfshark package maintainer <admin#surfshark.com>
W: GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: The repository 'http://dl.google.com/linux/earth/deb stable Release' is not signed.
[error] Failed to add trusted package signing keys
joe#joeslinux:~$
I notice it's balking at something to do with Surfshark. Yes, I have surfshark vpn running.
Please advise.
I'm not sure if problem with Mariadb installation is related with surfshark (I don't check MariaDB installation script, but probably it's fail when apt fail).
But,
GPG keys for surfshark repo was changed. Go to official surfshark website, and download new deb package. This package install repo and public keys, not surfshark itself.

sbt-1.1.1 sbtVersion showing 1.1.0

I invoke:
brew install sbt
I get:
/usr/local/Cellar/sbt/1.1.1: 491 files, 48.3MB, built in 7 seconds
I invoke:
sbt sbtVersion
I get:
[info] Loading project definition from /Users/name/project
[info] Set current project to name (in build file:/Users/name/)
[info] 1.1.0
I'm expecting to see
[info] 1.1.1
Why don't the version values match?
Thank you.
Most likely, because you have a file project/build.properties with line
sbt.version=1.1.0
So one thing is the version of the launcher that you installed with Homebrew and another is the version of the sbt you launch in particular project. If you don't set it explicitly in project/build.properties, sbt will try to run its own version (launcher's, i.e. 1.1.1 in your case).
Another possible reason is that Homebrew could install the formula, but not link the binaries (assuming you upgraded from sbt 1.1.0). You can run several commands to verify which versions you have
$ brew info sbt
...
$ brew list --versions sbt
sbt 0.13.16 0.13.11 1.0.0 1.0.1 1.1.0 0.13.12 0.13.15 1.1.1 0.13.13 1.0.4 1.0.3 1.0.2
$ brew list sbt
/usr/local/Cellar/sbt/1.1.1/bin/sbt
/usr/local/Cellar/sbt/1.1.1/libexec/bin/ (5 files)
/usr/local/Cellar/sbt/1.1.1/libexec/lib/ (483 files)
You can see here that I have many old versions installed, but the one linked is 1.1.1. In case I need to switch to an older launcher, I can run brew switch sbt 1.0.4, for example.

problems installing firebase pods

When I attempted to install the pod after modifying and saving the profile file this is what I get (info from terminal window):
Scotts-Mac:SDADishApp Scott$ pod install
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use SDADishApp.xcworkspace for this project from now on.
Sending stats
Pod installation complete! There are 0 dependencies from the Podfile and 0 total
pods installed.
[!] The Podfile does not contain any dependencies.
Scotts-Mac:SDADishApp Scott$
Could you please tell me what I did wrong? And how to correct it? There should be dependencies and pods installed.

Nginx (1.11.x)New Mainline release Installation on Amazon Linux

enter code hereI need to install nginx latest mainline release 1.11.x on amazon linux running on ec2 instance.
I followed the below link of nginx official documentation to install the same, the steps are very clear but still i couldnt install on amazon linux.
I tried the same on RHEL 7 on ec2 which is perfectly working fine with the steps given in the link but not on amazon linux, Below is the link which i referred to do the installation process
https://www.nginx.com/resources/admin-guide/installing-nginx-open-source/
Is it Amazon linux is not yet compatible with the nginx newer release??? i could install 1.8.x version of nginx in aws linux without issues which is already found in amazon repository.
I tried accessing the nginx repository and install the specific version but i got error, Below is the error which i got
yum install nginx
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.11.2-1.el7.ngx will be installed
--> Processing Dependency: systemd for package: 1:nginx-1.11.2- 1.el7.ngx.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: 1:nginx-1.11.2-1.el7.ngx.x86_64
--> Finished Dependency Resolution
Error: Package: 1:nginx-1.11.2-1.el7.ngx.x86_64 (nginx)
Requires: systemd
Error: Package: 1:nginx-1.11.2-1.el7.ngx.x86_64 (nginx)
Requires: libpcre.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
led by skipping the same

Resources