Questions tagged [ubuntu]

GENERAL UBUNTU SUPPORT IS OFF-TOPIC. Support questions may be asked on https://askubuntu.com/. Ubuntu is a free desktop and server operating system based on Debian GNU/Linux. Note that this is for programming questions specific to Ubuntu and http://askubuntu.com is dedicated to answering general Ubuntu questions.

0
votes
1answer
4 views

How to assign trusted certificate to local domain?

i install Jenkins on tomcat 9 behind nginx , i want to assign trusted certificate to get rid of the "your connection is not private" message.
0
votes
1answer
14 views

Jenkins won't start after shutdown

I shut down Jenkins from the console and then tried to start it using the following command: sudo /etc/init.d/jenkins start but instead got the following exception. How can I restore it again? P.S. ...
0
votes
1answer
16 views

Ubuntu 18.04, Nginx, Gunicorn, Django - how to keep the .env file secure

I'm using django-environ for using separate .env files that store sensitive data. In the case of the server being hacked, the file would be accessible to the intruder. Also, from what I read on this ...
0
votes
1answer
17 views

how to fix the problem when i run any command regarding to npm it shows error

when I use the command any command associated with npm, it's not working how to fix the problem. can anyone please help me to solve the problem. I used the commands sudo npm cache clean -f sudo npm ...
0
votes
0answers
8 views

Could not init IPTC library: iptables who? (do you need to insmod?)

I am using ubuntu And I am trying run bin file that should be able to configure the INPUT chain from a file. but when try to run the bin I got the message : "Could not init IPTC library: iptables who?...
0
votes
0answers
7 views

getting error while uing help command for botium dialogflow connector

getting error while using --help command for botium dialogflow connector Installed dialogflow connector, botium-bindings in ubuntu command : npm install botium-connector-dialogflow tried below ...
0
votes
2answers
13 views

How to use something similar to `docker.for.mac.localhost` in Ubuntu?

I need to use a name instead of my IP or localhost, is it possible to get something similar to docker.for.mac?
-1
votes
0answers
5 views

Problem with Installing TS3 Server on Ubuntu 16.04.6 [on hold]

I have a problem with installing the newest TS3 Server on my VPS that run's Ubuntu 16.04.6. TS3 Server File: Link TS3 Server Directory: Link I followed this tutorial: Youtube-Link But at the point ...
0
votes
0answers
8 views

Allowing Outbound traffic for docker containers on Ubuntu host

I want to allow docker containers to be able to access internet without restrictions but still restrict the inbound traffic to the ports explicitly allowed by ufw which is bypassed by docker when ...
0
votes
0answers
7 views

Webmin custom commands for python script in anaconda with ubuntu

I'm using Webmin Custom Commands to execute a python script, but i want to this script in Anaconda environment. How can I do this?
-2
votes
0answers
25 views

How to install python3.7.0?

I am running a program on ubuntu that requires python 3.7.0, and I dont know how to install it I have tried anaconda and created an environment, but it didn't work I have also tried to install ...
0
votes
1answer
25 views

Run “.py” not typing python in ubuntu with anaconda

I'm using ubuntu with anaconda environment to run python scripts like this python my_script.py, but I want to type only my_script.py. I've already tried adding these statements in the beginning of ...
0
votes
0answers
24 views

Whenever I try to install the “io” package octave is making invalid calls to my c++ compiler

I have the latest version of octave installed. When I launch octave, I use the following command to try and install the "io" package I have in my Downloads folder: pkg install Donwloads/image.tar.gz ...
-2
votes
0answers
26 views

Does an OS booted from a usb stick slow down everything or only OS related tasks?

I want to boot and run Ubuntu from an USB stick. There will only be one java application installed, that does almost no read/write operations to the disk. Will the performance of the java app still ...
0
votes
0answers
9 views

Compiling WebRTC has failed

I wanted to compile WebRTC for an Android project. Therefore, I followed the steps at https://medium.com/@silvestr1994/webrtc-on-android-part-1-building-b6982aad4b49 . Every step was fine until I came ...
0
votes
0answers
7 views

Right settings for uwsgi.ini file with Django and pipenv

Usually, I don't use pipen and working with virtualenv, virtualenvwrapper and requirements.txt with my django projects. In this case my uwsgi.ini file looks like: [uwsgi] project = cv-base uid = cvc ...
0
votes
0answers
6 views

Access NVIDIA geforce gtx 1070 from Virtual machine having ubuntu

I am having windows 10 machine with gtx1070 . Want to use this inside my ubuntu virtual machine . Need guidance how to do that . When I checked driver version on my Window machine using nvidia-smi ...
0
votes
1answer
19 views

Linux play video command freezes after a few seconds

I run a shell command in a Java jar application, I use Runtime and process exec, but after some minutes the video and the java process freezes. When I run the command alone in shell console it works ...
-1
votes
1answer
13 views

Manually running crontab cron.hourly returns missing file error

I've been trying my best to understand how crontab and logrotate work together, and I'm going around in circles. I have taken the line from /etc/crontab and run: $ sudo run-parts --report /etc/cron....
-1
votes
0answers
6 views

Why google chrome save password offer not show on not secure website? [on hold]

chrome website password offers show and work on http and valid https, but not work on invalid https (not secure https), firefox show save password offers for any websites, How can i enable save ...
0
votes
0answers
11 views

Trying to understand how to configure seperate logrotate configs

I apologize if I've misunderstood how this stuff works. I have attempted to setup my own logrotate hourly config which doesn't seem to have taken affect in the cron tabs. I'll provide below my ...
0
votes
0answers
9 views

Nextcloud: Mouse cursor is not visible if I share my screen [on hold]

If I share my screen, the mouse cursor is not visible for the remote partner. It would be very nice if this could work, since this makes it more obvious and easier to follow if I explain the remote ...
0
votes
1answer
21 views

Rewrite subdomain as subfolder

We have a Ubuntu server with Apache which serves all of our web apps using subdomains. I now have a requirement to serve an app using a subfolder. All current apps are served as follows: subdomain....
0
votes
0answers
15 views

Cannot find -ludev, -lOpenGL, -lOpenAL while compiling SFML project

I'm trying to build SFML project on Ubuntu. But it's not compiling. I have already installed libudev-dev, libudev1, mesa-common-dev, libopenal-dev and libopenal1. g++ -L<sfml location> -L/usr/...
0
votes
0answers
14 views

apt-get autoremove error: ln: failed to create hard link [on hold]

I'm creating our own image based on the neweset ubuntu18.04 cloud image. When I'm trying to apt-get autoremove after all major things done. It will give me below errors: [email protected]:~#...
0
votes
1answer
21 views

Cloud-init restricts Gunicorn traffic to only a few workers. Why?

I am running a Python Flask app behind Gunicorn on an Ubuntu VM. The Ubuntu VM is hosted in Azure, and I am using a cloud-init script to install the app and launch Gunicorn upon VM instantiation. ...
0
votes
1answer
35 views

Rostopic pub equivalent in Python

I am working with a simulated bebop2 These are the commands I am using to run the simulation. sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/bebop2.drone roslaunch bebop_driver bebop_node.launch ...
0
votes
0answers
10 views

Why is “apt-get update” showing the same package many times?

Using bazel, I created two debian packages with the pkg_deb rule. One is for amd64 and the other is architecture independent. foo_1.0_all.deb foo_1.0_amd64.deb Next I created a Packages.gz by ...
0
votes
0answers
18 views

How do I find and fix whatever is causing these anomalies in my dpkg.log file?

I'm in the process of re-installing everything on a few of my systems (OS to mp3s). When attempting to install Deluge, I received this error: E: dpkg was interrupted, you must manually run 'sudo ...
1
vote
0answers
23 views

MATLAB-generated Python packages conflict with PyQt5 on Ubuntu - possible library issue

I am building an application using Ubuntu 18.04 and PyQt 5.12.1, which imports Python packages generated from MATLAB code (these packages depend on the MATLAB Runtime). MATLAB packages in Python ...
0
votes
1answer
16 views

How to concatenate the username in an XML variable?

I'm defining an argument in my ROS launch file, which is an XML file, and I would like to replace user in the definition of the path variable with the username variable, that is $USER. <arg name = ...
0
votes
0answers
10 views

scrypt invalid ELF header when running npm run build

I'm working on a project with Next.js and react. In my project Next.js version was 4.2.3 and my application was running properly with "npm run dev" but with "npm run build" I was getting an error ...
0
votes
0answers
16 views

“npm err! missing script: start npm err!” in generating Angular app with Hyperledger composer

I have followed the developer docs at "https://hyperledger.github.io/composer/v0.19/tutorials/developer-tutorial.html" and I have been stuck at the last command "npm start" giving the error stated in ...
0
votes
0answers
13 views

Our website is down, when we checked apche2 www-data taking up all the available memory and kept connecting to tor. Can someone explain

Yesterday our website went down. We didn't knew the reason so we restarted the server. Connected to it using ssh. Everything was normal except our server's memory was maxed out. When we checked, we ...
0
votes
0answers
22 views

Is there a way to suppress “update-alternatives: warning: skip creation” warnings when building a Docker image?

Building this Dockerfile: FROM ubuntu:19.10 ENV DEBIAN_FRONTEND noninteractive RUN apt-get update RUN apt-get install -y locales apt-utils RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /...
0
votes
1answer
21 views

Is it possible to install postgresql 11 on Ubuntu 14.04?

I'm running on a Ubuntu 14,04 ('trusty') with no possibility to upgrade (a complex website-management platform is dependant upon it), but I'd like to install the latest version of postgresql in ...
0
votes
0answers
14 views

Getting Error while installing botium-cli in ubuntu

I want to install botium-cli in ubuntu. but getting access denied error. Have tried with below command sudo npm install -g botium-cli [email protected] preinstall /usr/lib/node_modules/...
-2
votes
0answers
13 views

How to record network bandwidth to a file in ubuntu?

The problem is that I want to record ubuntu network throughput to a file. For example, 10m/s, 20m/s... I have tried iftop for example to save. sudo iftop So is there any solutions to the problem?
2
votes
1answer
58 views

Ubuntu compiling kernel module first time

I'm trying to compile a simple kernel module for the first time: #include <linux/module.h> #include <linux/kernel.h> int init_nodule(void) { printk(KERN_INFO "Hello world1.\n"...
0
votes
0answers
9 views

How to increase python output lines in terminal ubuntu from an AWS instance?

I have an AWS instance which I have connected to via ssh. I want to run my program $python3 -m program.py which works perfectly in the terminal. But it only displays about 20 lines of output, and ...
0
votes
0answers
10 views

Cant compile driver for dm9601 usb lan

Ive been trying to get my usb lan adapter working with Ubuntu Its a davicom dm9601. Ive been trying to follow this https://askubuntu.com/questions/116615/davicom-dm9601-usb-lan-nic-ubuntu-11-10-issue/...
2
votes
1answer
34 views

C# .NET Core Console.ReadKey(true) doesn't (always) intercept the key on Ubuntu

I'm working on my first .NET Core apps and to try their cross-platform functionality I've set up an Ubuntu VM. After installing .NET I moved my files to the VM and launched the program. Basically ...
0
votes
0answers
14 views

Docker kobotool/kpi ,postgres image issue

I am trying to implement Kobotool/KPI as frontend and postgres database as backend ,but i am not getting how to write code kpi: image: kobotoolbox/kpi links: -kobotoolbox: ports: - ...
-4
votes
0answers
50 views

How to convert .sh.x to .sh [on hold]

I lost the original .sh file and I have it as a .sh.x How do I make a .sh.x file to just a .sh file and have it working? I tried just renaming the file from script.sh.x to script.sh and it gets ...
0
votes
0answers
20 views

Persisting problem to connect to Postgres remotely (connection refused)

I am setting up a server that has more than one Postgres cluster running. By default, I set the main postgres cluster (the one whose default port is 5432) to not start automatically with the computer. ...
0
votes
0answers
8 views

bash: /generic_send_tcp: No such file or directory in Ubuntu 18.04

I try to use Spike, and when I execute ./generic_send_tdp, it shows "bash: /generic_send_tcp: No such file or directory"
0
votes
1answer
21 views

unable to shrink disk in win10 before dual booting [on hold]

I have win10-pro in my laptop (acer E1-570), and want to install ubuntu as dual boot. These are the steps I have taken: I first degragmented the C drive using "defragment and optimize drives" app, ...
0
votes
0answers
9 views

Cannot run roslint in catkin workspace before full build

I am trying to run roslint on ROS packages in my catkin workspace before I actually build the packages. I am using: catkin build --this --no-deps --make-args roslint From experience in other ...
-3
votes
1answer
64 views

Where is executable file after compiling a c program in ubuntu? [on hold]

While compiling a C file in windows I get three files a .c file a .o file and a .exe file, now if i want to distribute my program I will give .exe file. But after compiling a .c in ubuntu I can't find ...
1
vote
0answers
26 views

Automate apt-get install php7.2-tidy without prompting user [on hold]

Is there someone able to explain why this command: sudo apt-get --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install php7.2-tidy prompt me while all ...