Install Open JDK and SunJDK and choose while launching an application - amazon-web-services

Intellij Idea CE recommends Sun Java on Ubuntu 12.04. Amazon EC2 API Tools comes packed with OpenJDK and if you try to uninstall OpenJDK amazon ec2 api tools uninstalls with it to.
How to install both Java and start IntelliJ with Sun and Amazon tools with Open?

shouldn't it be really straightforward ?
Install the sun jdk, and then afterwards change the default jdk using
sudo update-alternatives --config java

Related

How can i use expo cli with my smartphone on termux

Hello friends i'm new here.
I want to run react native project with my android but i got this error when i run expo cli on termux Error: Platform not supported
error illustration
Ps: i use TECNO SPARK 5 Pro with Android 10
I had the same problem. It was solved by reverting to version 4.2.1. Uninstall expo-cli and install expo-cli#4.2.1 .
You can create easyly by using simple trick
First you need to install one linus operating systeam (ubantu2.0) in your termux android application
*You can easyly install ubantu os with anylinux application just download from playstore *
After instaling the ubantu os in your android device then you need to install nodejs in your ubantu os inaide termux just type commend apt update && apt upgrade && apt install nodejs
After this commend you need to put one more command for instaling react -native(expo)
npm install -g expo-cli
If you face any problem then you need to upgrade your nodejs version with letest version with using nvm
Here is orginal documentation about letest version nodejs using nvm https://www.vultr.com/docs/install-nvm-and-node-js-on-ubuntu-20-04/

Installing and Enabling PHP7.1 on AWS Elastic beanstalk

Most PHP vital libraries have been mandating PHP7.1 in their releases lately and I happen to have an API staged on AWS elastic beanstalk PHP7.0 platform that I'd like to make compliant with this recent change.
Seeing as Amazon has greatly delayed this shift since December 1, 2016 release of PHP7.1, I've tried so many things to make PHP7.1 available on this AWS Elastic beanstalk platform originally intended for PHP7.0
Below is my sample upgrade script:
sudo su
yum -y remove php70
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm
yum-config-manager --enable remi-php71
wget ftp://195.220.108.108/linux/epel/6/x86_64/scl-utils-20120229-1.el6.x86_64.rpm
rpm -Uvh scl-utils-20120229-1.el6.x86_64.rpm
yum -y install php71
source /opt/remi/php71/enable
yum -y install php71-php-soap php71-php-bcmath php71-php-devel php-71-php-intl php71-php-mbstring php71-php-mcrypt php71-php-mysqlnd php71-php-opcache php71-php-pgsql php71-php-odbc php71-php-pecl-uuid php71-php-pecl-memcache php71-php-igbinary php71-php-oauth php71-php-xml php71-php-xmlrpc php71-php-process php71-php-apcu
But unless I run the source /opt/remi/php71/enable every time, I can't seem to get PHP71 by default as the PHP cli runtime.
In a bid to fix that, I did yum remove php70* to clean up the old PHP7.0 installation but that led to a problem with the AWS EBS deployment hook scripts.
Right now, I'm in a fix and it seems like I have to be forced to work with PHP7.0 and downgrade most of my PHP libraries. I just want to know if anyone can get me out of this messed up state.
Thank you.
Remi repository provides 2 way to install PHP 7.1
base packages (php-*) 1 repository by version, single version allowed, so you need remi-php71 repository enabled
SCL packages (php71-php-*) designed for parallel installation in remi-safe repository (which you have installed)
As explain in the FAQ.
Also see the Wizard instructions.
Amazon released a new version of Elastic beanstalk with PHP 7.1 support.
Upgrade your environment to use this configuration.

Problems installing DSx Desktop

I have problems installing DSx Desktop in my laptop. I have Docker Running (Kitematic), do I have to run Docker daemon in a certain way?
Your version of DSX Desktop may not support the legacy Docker solution that was bundled with Kitematic and DSX Desktop is probably looking for Docker for Mac.
The latest version of DSX Desktop does, however, provide support for Docker Toolbox, the version bundled into Kitematic. Upgrading to the latest version of DSX should allow you to complete the installation without you having to do anything in Kitematic. If you do not wish to upgrade to a newer version of DSX Desktop, you would need to upgrade to using Docker for Mac.

How to uninstall openjdk on amazon ec2 micro instance running Redhat Linux

I have Installed OpenJdk on my redhat instance recently. Now am in need to go for Java Jdk. I saw some sites for replacement but none working for me. Thanks in advance..
Install the JDK , then written to the terminal.
alternatives --config java
Enter the number
I work in fedora , try it in Red Hat.
Spring boot application is failed to start on AWS EC2 instance because of JDK old version is running on EC2 Instance. I have run following command to set updated version 1.8 from 1.7.
Follow command:
sudo yum install java-1.8.0
sudo /usr/sbin/alternatives --config java

how to install Stratos 1.5.2

this dated install guide, http://wso2.org/project/stratos/1.0.0/WSO2StratosInstallationGuide.html, assumes UEC, but UEC is depreciated (https://help.ubuntu.com/12.04/serverguide/uec.html).
Where is the most recent install manule for Stratos?
Does Stratos need Eucalyptus or does it support OpenStack?
WSO2 Stratos 1.6.0 is now available for download at http://wso2.com/cloud/stratos
This is a pre-configured local setup. You should be able to install it in your local machine without any trouble.
If you using a mac osx please follow this article.
You don't need to install this on ubuntu. I have it installed on CentOS 6.0. The trick is to make sure you have the dependencies installed, which was tricky on centos.