How to install 'rJava' on RStudio Server - amazon-web-services

I run Ubuntu (on an Apple Mac) and Linux (on Dell). When I started with 'R' I found it a challenge to install packages with rJava dependencies - also having trouble installing rJava.
I finally found an amazing way to install rJava on Ubuntu/Linux (credit to Hanna Rudakouskaya # https://github.com/hannarud/r-best-practices/wiki/Installing-RJava-(Ubuntu) - for this amazing breakdown. I now have rJava installed and and rJava installed on my RStudio desktop. All packages are installed and running brilliantly.
I have recently migrated to RStudio Server to get more grunt, which is amazing. Even though rJava is successfully installed on each machine, I am having the same issues with with installing the rJava package in RStudio Server.
The only related question on StackOverflow is (R - install rJava on RStudio - Amazon Cloud) but the response seems to indicate for Windows rather than Linux/Ubuntu
Has anyone experienced similar challenges? I would be so grateful for any advice.

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/

How to add theano to anaconda python v2.7 on ubuntu 16.04?

I'm want to install theano into the anaconda package for python v2.7 on ubuntu 16.04. I already installed anaconda to the folder /opt/anaconda. Can some please guide me on how to install Theano package which is accessible by the anaconda packages. I've searched lot on google but not able find a clear solution to the problem.
I was recommended to switch back to 14.04 for theano, because t just stopped working on 16.04, but still I am also looking for a solid working guide.
There are some resources that explain how to set up these http://deeplearning.net/software/theano/install_ubuntu.html
and https://www.jayakumar.org/linux/gtx-1070-on-ubuntu-16-04-with-cuda-8-0-and-theano/

installing laravel on EC2 - mbstring issue

I have installed Laravel 5.2 successfully on my Mac machine. But now I am walking through the procedures to install Laravel on AWS.
Once I got the instance running, I installed apache, php and mysql with the following command:
sudo yum install -y httpd24 php56 mysql55-server php56-mysqlnd
The php version is 5.6.17
I then did the following:
composer global require "laravel/installer"
and updated the path: export PATH=$PATH:~/.composer/vendor/bin
when I navigate to /var/www/html and do "laravel new ", the project gets created but I receive an mbstring extension problem. Below is a text dump of what I saw:
laravel new hws3
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravel/framework v5.2.29 -> satisfiable by laravel/framework[v5.2.29].
- laravel/framework v5.2.29 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
I've scoured the internet and only found a solution for Windows. I am using Amazon Linux. Any guidance would be most appreciated.
It seems you have php 5.6 installed.
You need to install mbstring for that particular version of php.
Run sudo yum install php56-mbstring
credits: Alex Andrei answered here
If you want to install Laravel with composer, This is the right answer!
sudo su //to be root
yum install php56-mbstring

How to install pgdb on MacOS Yosemite?

On Mavericks, I downloaded the source code and and built and installed it with Distutils as I explained on Stackoverflow.
I try to reproduce it on Yosemite and I have the following error message:
Exception: pg_config tool is not available.
The command in 'setup.py' that generates the problem is supposed to "Retrieve information about installed version of PostgreSQL."
f = os.popen('pg_config --%s' % s
I used the graphic installer to install PostgreSQL on my computer.
The graphic installer did not work. By using Homebrew to install PostgreSQL, everything worked fine.
brew install postgresql

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.