Rasa not installing on Digital Ocean - digital-ocean

I am trying to install rasa 2.0.0 on digital ocean. I created a directory for the bot and created a virtual environment using ubantu 20.04 and python 3.8.5. After the virtualenv is activated i ran pip install rasa==2.0.0 as well as pip3 install rasa==2.0.0.
The installation goes upto tensorflow installation and killed word is appearing. It exits the process but on rasa or rasa train it doesn't execute. There were no errors too.
I have a django website serving on the ip and want this bot to serve through a different port to clients having websites. Can you please suggest how can I proceed ??

The minimum ram for the droplets to install RASA is 4.0 due to tensorflow.

Related

How to add Django after installing Python 3.6 in whm via ssh?

I have a VPS and it does not provide a one-click Python Installation as some other VPS services do. After many failed attempts I finally installed Python 3.6.3 via my WHM ssh.
Can someone guide me on how to set up Django next and proceed to development?

How do i install ddev on Digital ocean

Digital ocean has a simple way to setup Ubuntu 16.0 which comes with docker 17.10 and docker-compose 1.1.
However, due to some issues with 17.10, you might have issues working with, but ddev can still run very well on docker 17.10, just to avoid future issues, you can follow the steps in the answer below.
Digital ocean wont cost you much to set up, it comes with free 100 USD credit and spinning a new server cost 0.003/hour
To start
Register on Digital ocean
Create a new droplet(select Ubuntu 16.04), like i said in the question above, you can decide to follow one-click app installation which comes with docker && docker-compose but with old versio, but they still met the ddev requirements.
Digital ocean; how to install ddev
Your login credentials will be sent to your email
your new droplet comes with fresh Ubuntu installation and you can proceed to install docker, docker-compose and ddev
Installing docker
To install docker follow this doc to have latest docker on your machine
Installing docker compose
To install docker compose follow this doc.
Finally
Install ddev by following official ddev documentation

How to install 'rJava' on RStudio Server

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.

Laravel-dusk does not work

On working project, after installation of updates, I get errors with all dusk tests
1) Tests\Browser\ExampleTest::testBasicExample
Facebook\WebDriver\Exception\SessionNotCreatedException: session not created exception: Chrome version must be >= 60.0.3112.0
(Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-81-generic x86_64)
I have already reinstalled dusk, updated composer and vagrant... And I have no any ideas how to update that dirver.
I am using macOS Sierra 10.12.1 and vagrant box on localhost. Chrome doesn't installed on the system.
Thanks for any advice..
Well...
After couple hours of dancing and googling, I installed update on the virtual Ubuntu
sudo apt-get update # Fetches the list of available updates
sudo apt-get upgrade # Strictly upgrades the current packages
sudo apt-get dist-upgrade # Installs updates (new ones)
It changed the version of Chrome.
After, I changed in my domain name .dev to .test, because Chrome >63+ forces .dev domains to HTTPS via preloaded HSTS.
Try to install chrome driver for a different version, I had the same issue and this fixed:
php artisan dusk:chrome-driver 74

Best environment to install centos 7 on laptop to use system as web server

I want to install centos 7 on laptop to use system as a web server.
I'll use this server for hosting a django project, so I need to install python and django after centos installation manually.