how to stop underscores from disappearing in xterm in xvnc4 window in Xubuntu 16.04?

In an xterm running in an xvnc4 session in Xubuntu 16.04, i.e., Ubuntu 16.04 with XFCE, underscore characters disappear. This problem does not appear in Xubuntu 14.04. My question is: how to...

NPM not installing packages

I have a project with dependencies in package.json. When I install with npm install, I get packages installed in ~/.npm but not in the current folder's node_modules. NPM is creating node_modules,...

Unable to start the mysql server in ubuntu

After running the command mysql -v in Ubuntu, I am getting the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

updating nodejs on ubuntu 16.04

I was recently going through the version of node in my ubuntu 16.04 when node -v command was used it shows me version 6.9.1 but when nodejs -v it shows 6.9.2 previously before using this commands...

Determining why Redis is receiving a SIGTERM every minute or two

I'm running redis-server on Ubuntu 16.04. After a recent upgrade to redis 3.2.7 I now see lines like every minute or two in the redis log and then redis restarts. The only other suspicious line...

How to stop docker under Linux

My version of OS Ubuntu 16.04. I want to stop docker, so I run in the terminal: sudo systemctl stop docker But this commands doesn't help me: gridsim1103 ~: ps ax | grep docker 11347 ? ...

How to use local docker images with Minikube?

I have several docker images that I want to use with minikube. I don't want to first have to upload and then download the same image instead of just using the local image directly. How do I do...

Where is the ANDROID_SDK_ROOT in ubuntu server?

I run a build on a ubuntu 16.04 server with no xorg or GUI of any kind, and I am trying to run a simulator on it. this is what I get on the console $ /opt/android//tools/emulator -engine classic...

php artisan migrate - SQLSTATE[HY000] [1045] Access denied for user 'laravel'@'localhost'

I want to set up and learn Laravel following this course When I try to use the command php artisan migrate I get this error: [Illuminate\Database\QueryException] ...

Asp.Net Core - The configured user limit (128) on the number of inotify instances has been reached

the asp.net core MVC report error after certain times of query to the mysql database (on Ubuntu 14.04/16.04) with the following message: "The configured user limit (128) on the number of inotify...

Removing Content-Type header in .NET Core

I have the following code in .Net Core: using (HttpClient client = new HttpClient()) { client.DefaultRequestHeaders.Clear(); client.DefaultRequestHeaders.TryAddWithoutValidation("Authorization",...

Mongod Service start exits with code 100

Problem My mongo service does not start anymore: [email protected] ~ # service mongod start [email protected] ~ # service mongod status ● mongod.service - High-performance, schema-free document-oriented...

How to reset EC2 ubuntu instance?

My client created a ubuntu server 16.04 to deploy a web app. And I have been getting difficulties the get the app deployed properly ... So is there a way for me to reset the server back to its...

NMI watchdog: Watchdog detected hard LOCKUP on cpu

i'm using kvm on ubuntu 16.04 my machine cpu is 24 core and I run 47 sandbox using hyperthreading on kvm. virtual macine use 0.5 core physically After a few minutes of running kvm, the following...

Cannot import multi_gpu_model from keras.utils

I have tensorflow-gpu 1.2.1 and keras on ubuntu 16.04. I am not able to perform: from kears.utils import multi_gpu_model Has anyone had success with multi_gpu_model as described in their...

Importing a CMake project into CodeLIte

I was wondering if anyone knew of a way to import an existing cmake project into the CodeLite IDE? THis is a C++ project and I have all of the .c and .h files. I have the CMake lists and what not...

"ModuleNotFoundError: No module named <package>" in my Docker container

I'm trying to run a python script in a Docker container, and i don't know why, python can't find any of the python's module. I thaught it has something to do with the PYTHONPATH env variable, so i...

Using SQL Server Management Studio to remote connect to docker container

Context: I am trying to build a development SQL Server that I can continue to learn SQL on and use Microsoft SQL Server Management Studio (SSMS) to access on a Windows PC. So I have the...

Ubuntu Python: unable to pip install dlib - Failed building wheel for dlib and machine is almost stuck

I am trying to install dlib (machine learning library) for my django python environment. however, i cant get it installed. there is error and stuck. based on this instruction, this is what I did...

pull access denied repository does not exist or may require docker login

I am using Laravel 4.2 with docker. I setup it on local. It worked without any problem but when I am trying to setup online using same procedure then I am getting error: pull access denied for...

psycopg2.OperationalError: FATAL: password authentication failed for user "<my UNIX user>"

I am a fairly new to web developement. First I deployed a static website on my vps (Ubuntu 16.04) without problem and then I tried to add a blog app to it. It works well locally with PostgreSQL...

-XX:+ExitOnOutOfMemoryError ignored on 'java.lang.OutOfMemoryError: Direct buffer memory'

If the OutOfMemoryError is caused by allocating a direct byte buffer than the JVM flag -XX:+ExitOnOutOfMemoryError is ignored. Checked on Oracle JDK and OpenJDK Java version "1.8.0_144" Java(TM)...

Unable to locate package mssql-server

I'm trying to install MSSQL @ Ubuntu 16.04 (as recommended @ https://docs.microsoft.com/en-US/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-2017) But that's the error I'm...

how to run "npm start" by PM2?

I have seen many questions here but that was not working for me. That why asking this question? I am using DigitalOcean Ubuntu 16.04 server. I have a node project run by "npm start". Script...

How to completely purge Visual Studio Code on Ubuntu?

I'm using VS Code on Ubuntu 16.04 LTS and I want to completely uninstall it. So I've tried these commands: sudo apt-get remove code sudo apt-get purge code sudo apt-get update And every time...

Can't restart MySQL caused by InnoDB

I can't restart MySQL or recover MySQL from ( InnoDB tables ) I have one WSL using Ubuntu 16.04. By "unknown" accident, at morning i can't access MySQL. Tried to restart it and ... all...

The following packages have unmet dependencies: mongodb-org :

I am trying to install Mongodb using the command sudo apt-get install -y mongodb-org on ubuntu 16.04 after it produces the following error: Some packages could not be installed. This may mean that...

Failed to fetch packages from jonathonf repository while running Dockerfile from AzureDevOps

I have a Dockerfile which is getting the packages from a source called jonathonf but it's failing to download some packages from this repository. Could any one please help me with the solution? I...

Cannot use helm upgrade in a gitlab-runner due forbidden secret access rules

I want to use execute helm on a gitlab-runner on my kubernetes in gitlab pipelines. My gitlab.ci.yaml: # Deployment step deploy: stage: deploy image: alpine/helm:latest script: - helm...

I am not able expose a service in kubernetes cluster to the internet

I have created a simple hello world service in my kubernetes cluster. I am not using any cloud provider and have created it in a simple Ubuntu 16.04 server from scratch. I am able to access the...