Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Browsing all 5956 articles
Browse latest View live
↧

How to create GCP policy that will install ops-agent on all Ubuntu 22.04 VMs?

I'm trying to create a policy that will install ops-agent on all Ubuntu 22.04 automatically, so I've created this OS policy assignment and it seems it's been rolled out successfully but I still see my...

View Article


Image may be NSFW.
Clik here to view.

How to read PCIe complete register space in Linux terminal sysfs

I am using Ubuntu and from terminal I am able to read the Type 0 Configuration space of PCIe by using "setpci", "lspci" or "pcimem". With both commands I am only able to read from 00h to 3Ch addresses....

View Article


No module named 'pymysql'

I'm trying to use PyMySQL on Ubuntu.I've installed pymysql using both pip and pip3 but every time I use import pymysql, it returns ImportError: No module named 'pymysql'I'm using Ubuntu 15.10 64-bit...

View Article

Unable to connect to vpn using OpenVpn on ubuntu 22.04

I just removed and installed openvpn again and now there's no option of openvpn here, which was here earlier:openvpn option not availableAlso I get following when I go into vpn setting:Error on vpn...

View Article

Run a Cronjob which create and delete directory on a user home

How to create a user Bob and create a Cronjob for bob which should create a directory namedtest in bob’s directory every hour and delete it after that.I try to create it on ubuntu by using nano editor...

View Article


Is it possible to run selenium (Firefox) web driver without a GUI?

We are considering upgrading our production server from Ubuntu-desktop 10.04 to Ubuntu-server 12.04. We have various services running on our current desktop OS such as Selenium Web Driver. My question...

View Article

Getting an error in VirtualBox on Ubuntu 22.04 LTS (Kernel driver not...

I have been running crucial instances on VirtualBox, and after a recent shutdown of my Ubuntu 22.04 LTS operating system, I encountered an error when attempting to start an instance on VirtualBox. The...

View Article

Create a text file in linux terminal using input from a different text file

I have a text file, lets call it file A, and I need to create a new text file (file B) that contains only the first 3, and last 3 lines of file A, separated by three periods (...)So if I type "cat file...

View Article


When attempting to pull the expedition database, recieved an...

docker-compose up -dPulling expedition-db (ghcr.io/paloaltonetworks/expedition-db:2.1.1)...ERROR: Head "https://ghcr.io/v2/paloaltonetworks/expedition-db/manifests/2.1.1": deniedI am new to docker and...

View Article


Image may be NSFW.
Clik here to view.

How to make AMD GPU available by WSL for use with DALL-E Playground AI Sever

I'm trying to run and deploy the Dalle Playground on my local machine using an AMD GPU, I'm on Windows 11 with a WSL instance running. Link to Dalle Playground repoSystem OS: Windows 11 Pro - Version...

View Article

Docker: Error response from daemon: invalid mount config for type "bind"

Admittedly, the issue relates to ROS2, but the problem arises in relation to running a Docker container so I believe it is more suitable here.I'm trying to install this distribution according to the...

View Article

Azure DB connection unsuccesfull in wsl2

const mysql = require("mysql2/promise");const pool = mysql.createPool({ host: "host.mysql.database.azure.com", user: "user", password: "password", database: "db", port: 3306, waitForConnections: true,...

View Article

VirtuallBox , linux [closed]

I installed VirtualBox 7.0.14 and when I press start, it opens a small window, and when I try to maximize it, the command window stays small, how do I adjust the screen settings to open a large window...

View Article


Image may be NSFW.
Clik here to view.

How to close Android Studio using terminal in Ubuntu

I'm Ubuntu & Android beginner. I need help to close Android Studio using the terminal or a solution to resolve the error which is shown in this image:

View Article

.NET 8 Microsoft Docker Image: Failed to create CoreCLR, HRESULT: 0x80070008

I upgraded my project to .NET 8 today; I followed the official guide on migrating from .NET 7 to .NET 8. However, upon deploying the application, I've encountered a problem.Locally, the solution builds...

View Article


Linux Ubuntu issues with Pip

I'm getting this error when I'm trying to set up KoBo ToolBox on an Ubuntu VPS> Error in sys.excepthook:> Traceback (most recent call last):> File...

View Article

Unable to access a Webapp on Tomcat in Vagrant box

I have deployed a test application on Tomcat 9.0 installed on Vagrant (Ubuntu 14.04.6 trusty).Placed the appropriate .war file in webapps path of the same Tomcat.Configured the correct Connection port...

View Article


Sort +4 command throwing an error in Ubuntu

When I try to run the following command it throws an error. ls -lr | egrep "txt$|tab$" | sort -rn+4 The error message:sort: invalid option -- '+'Try `sort --help' for more information.How can I run...

View Article

Reinstall postgres cluser in Ubuntu

I seem to have somehow deleted my postgres binaries (ubuntu 22.04).Running sudo apt install postgresql postgresql-contrib reinstalled the binaries for the pg 14 cluster:18:42 $ pg_lsclustersVer Cluster...

View Article

Unable to install vim or nano inside docker container

Trying to install inside a docker, either vim or nano but I only get this:0% [Connecting to archive.ubuntu.com (91.189.88.152)]Exit docker and do ping archive.ubuntu.com and I get reply, do the same...

View Article
Browsing all 5956 articles
Browse latest View live


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