Quantcast
Browsing all 5962 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Why does the terminal show "^[[A""^[[B""^[[C""^[[D" when pressing the arrow...

I've written a tiny program in Ansi C on Windows first, and I compiled it on Ubuntu with the built-in GCC now.The program is simple:read the line from console with scanf().Analyze the string and...

View Article


What is the securest way for connecting remotely to a Linux server from home...

I looked at a couple of videos and searched online for possible solution, but for me it is still not clear what would be my best option to access an Ubuntu Pc from my home network from another location...

View Article


ssh_exchange_identification: read: Connection reset by peer

Cannot connect to remote server.ssh_exchange_identification: read: Connection reset by peerHow can I fix this problem ?OpenSSH_7.1p2, OpenSSL 1.0.2g 1 Mar 2016debug1: Reading configuration data...

View Article

Problems related to permissions for non-root users and Docker volumes

I'm using Docker to set up isolated development environments.So I configured the dockerfile to create a non-root user. (Using the official Ubuntu image as a base)I created a volume for file management,...

View Article

Pynput not recognizing inputs when terminal is focused

I'm on Ubuntu 24, using Python 3.12. I have a basic Python script with pynput that stops the program execution when the up arrow is pressed. Running this script in Pycharm has no problems, but in a...

View Article


i uninstalled emote from ubuntu and a /dev/loop15 popped up. I can't mount it...

i uninstalled emote from ubuntu and a /dev/loop15 popped up. I can't mount it nor it is removing. Help me remove this unmounted disk from my machinetried some commands of fdisk and umount but couldn't...

View Article

Ubuntu CLI, new path for PHP and php.ini

Currently my Ubuntu PHP CLI is using: /opt/lampp/bin/php and /opt/lampp/etc/php.ini.I plan to remove LAMP and continue to use /etc/php/7.2/apache2/ .Should I change(and how to change) PHP CLI to using:...

View Article

pip3 install not working - No module named 'pip._vendor.pkg_resources'

When trying to install a package for Python 3 (in Ubuntu), using pip3 install packageName (or sudo pip3 install packageName), I get the following error message:Traceback (most recent call last): File...

View Article


run sudo commands inside a docker container with not sudo user [closed]

We have a user who does not have sudo access in the operating system. But I want to allow this user to run various commands, even commands that require sudo access, in a specific docker container.In...

View Article


How to kill a process on a port on ubuntu [closed]

I am trying to kill a process in the command line for a specific port in ubuntu.If I run this command I get the port:sudo lsof -t -i:9001so...now I want to run:sudo kill 'sudo lsof -t -i:9001'I get...

View Article

Frequent Freezes during CUDA-Training in Ubuntu 23.10, RTX 3080ti

I am a startup founder working on deep learning models. As off the last few weeks,I have experienced frequent freezes throughout the training process. The system freezes, and usually cannot be...

View Article

How do I find out my root MySQL password?

I just installed MySQL on Ubuntu and the root user can't log in :)How can I recover or find out my password? Using blank for password does not work.

View Article

Image may be NSFW.
Clik here to view.

Cannot access ethernet camera from within docker container

OS: Ubuntu 22.04.4 LTSPylon: pylon_7.5.0.15658-deb0_amd64The camera is connected to ethernet interface enp0s31f6 which is on static ip 192.168.2.10/255.255.255.0. The camera is on static ip...

View Article


"UnsatisfiedDependencyException: Error creating bean with name 'eventService'...

When I run the project on my development machine in IntelliJ IDEA, everything works perfectly without any errors, but as soon as I try to jar it and deploy it to my server running Ubuntu 24.04, I get...

View Article

Image may be NSFW.
Clik here to view.

Invalid ELF header out of the gate running simple nodejs script

I'm trying to run a simple nodejs script on Ubuntu 14.04, the contents of which are as follows:http = require('http');http.createServer(function(req, res){ res.writeHead(200, {'Content-Type':...

View Article


Will self-contained .NET Core on Ubuntu change the state of the OS or other...

Will a self-contained .NET Core ASP.NET webapp on Ubuntu 22.04 change the state of the OS (or other systems) in any way?Will it mess with any configs or ini files outside its own directory?Will it...

View Article

Apache not serving after server restart

I just restarted my server on digital ocean using reboot, and now apache is not serving any pages. I can ping the IP from my client. Everything was working fine before the restart. Here are some...

View Article


update adb on Raspberry Pi 4

I'm want to use scrcpy in Raspberry Pi 4 for connection to tablet(Android 11) with Wireless debugging. I know that first you need to adb pair device before you can adb connect, but when I try to pair...

View Article

nmcli Hotspot cant connect

I am looking to create an access point to share the internet of a Ubuntu Desktop box. The copy of Ubuntu was installed with Gnome but X was disabled on startup so it is ssh/cmd only for the most part.$...

View Article

The website can't open, instead it downloads index.php

I just changed the lsphp74 handler script to lsphp83. And the result actually made the website unable to open. Instead download index.php. And when return it to the original settings, it still doesn't...

View Article
Browsing all 5962 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>